Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vaccination checklist changes not reflecting #1474

Closed
Tracked by #1648
nupoorkhandelwal opened this issue Aug 2, 2024 · 6 comments
Closed
Tracked by #1648

Vaccination checklist changes not reflecting #1474

nupoorkhandelwal opened this issue Aug 2, 2024 · 6 comments
Assignees

Comments

@nupoorkhandelwal
Copy link
Collaborator

nupoorkhandelwal commented Aug 2, 2024

Describe the bug
Changes on checklist are not reflecting in the app

To Reproduce
Steps to reproduce the behavior:

  1. Go to Calcutta Kids UAT
  2. Go to checklist json, remove dependent On from any vaccine, eg. Measles 2
  3. Go to any child enrolment, the vaccine is not populating in the schedule
  4. This is happening for any existing or any new enrolment.

Expected behavior
5. Ideally, the change in checklist, should reflect on the vaccine schedule (with syncing)

NOTE : CK UAT prod and CK prerelease vaccine schedule is updated as per new requirements from client, and will be deployed to production shortly. PLEASE DO NOT MAKE ANY CHANGE.

Analysis:

This issue was not happening before 9.1.2 patch release. I remember testing this scenario.

@nupoorkhandelwal nupoorkhandelwal moved this to New Issues in Avni Product Aug 2, 2024
@mahalakshme mahalakshme moved this from New Issues to Ready in Avni Product Aug 2, 2024
@himeshr himeshr moved this from Ready to In Progress in Avni Product Aug 2, 2024
@himeshr himeshr self-assigned this Aug 2, 2024
himeshr added a commit to avniproject/calcutta-kids that referenced this issue Aug 2, 2024
@himeshr
Copy link
Contributor

himeshr commented Aug 2, 2024

Analysis notes:

  • Change in ChecklistItemDetail.dependentOn is getting persisted correctly by server in postgres DB for both additions and removal
  • During sync of Checklist to avni-client we are sending the dependentOn details Null or otherwise, correctly from the server.
  • While updating the ChecklistItemDetail, if the dependency is removed, we were not reseting the dependentOn field to null in the clonedObject that gets used to persist to realmDB. Due to which the previous value for dependentOn if any would be left over, resulting in the bug reported here-in.

Impact areas

  • Addition of dependencies - No impact for now or future with any version of avni-client
  • Removal of dependency
      • For fresh sync : no impact in any version of apk
      • For fast-sync or incremental sync: For older apks, we cannot fix issue without fresh sync(with fast-sync being setup). Once they upgrade to the newer version with fix, after that we'll have to re-apply the change in checklist for the change to be reflected successfully on their device.

himeshr added a commit to avniproject/avni-models that referenced this issue Aug 2, 2024
…to null explicitly to remove previously existing dependency if any
@himeshr
Copy link
Contributor

himeshr commented Aug 2, 2024

Sample Screen recording of Vaccinations View "before" and "after", an admin user performs an upload of Checklist which had few dependencies removed.

Screen.Recording.2024-08-02.at.2.49.58.PM.mov

himeshr added a commit that referenced this issue Aug 2, 2024
@himeshr himeshr moved this from In Progress to Code Review Ready in Avni Product Aug 2, 2024
@himeshr
Copy link
Contributor

himeshr commented Aug 2, 2024

@1t5j0y 1t5j0y moved this from Code Review Ready to In Code Review in Avni Product Aug 2, 2024
@1t5j0y 1t5j0y moved this from In Code Review to QA Ready in Avni Product Aug 2, 2024
@AchalaBelokar AchalaBelokar moved this from QA Ready to In QA in Avni Product Aug 2, 2024
@himeshr
Copy link
Contributor

himeshr commented Aug 5, 2024

DevReferenceCommands.txt

@himeshr
Copy link
Contributor

himeshr commented Aug 5, 2024

Commit 69d7044 is not related to this card.

@AchalaBelokar
Copy link

  • Login with Ach@sakhiaap created a child with name Acg and Bcg which is 2 year old and I created a vaccination rota 2 is dependent on rota1 still rota 2 is showing for this
    {
    "uuid": "67ef48ee-2f3d-4ff9-99ae-f33b6c122bef",
    "name": "Vaccination",
    "items": [
    {
    "uuid": "4d6bb33d-ac71-488a-891e-d15f02f3677d",
    "concept": {
    "name": "BCG",
    "uuid": "50c9cf4e-9cae-4d8f-a593-8928dce37637",
    "dataType": "Coded",
    "answers": [
    {
    "name": "Yes",
    "uuid": "a0b7b027-7fe4-4b82-b830-4e2c5673a173",
    "dataType": "NA",
    "answers": [],
    "order": 2,
    "active": true
    },
    {
    "name": "Don't know",
    "uuid": "ecd723a3-e1ce-4c53-8b97-880bea5c31a6",
    "dataType": "NA",
    "answers": [],
    "order": 0,
    "active": true
    },
    {
    "name": "No",
    "uuid": "df6c5df0-f3ce-4d9a-be43-240b137b2934",
    "dataType": "NA",
    "answers": [],
    "order": 1,
    "active": true
    }
    ],
    "active": true,
    "keyValues": []
    },
    "status": [
    {
    "from": {
    "day": 0
    },
    "to": {
    "day": 0
    },
    "color": "#FBF9DA",
    "state": "Due",
    "displayOrder": 1,
    "start": 0,
    "end": 45
    },
    {
    "from": {
    "day": 0
    },
    "to": {
    "day": 0
    },
    "color": "#FFC2C2",
    "state": "Overdue",
    "displayOrder": 2,
    "start": 45,
    "end": 75
    },
    {
    "from": {
    "day": 0
    },
    "to": {
    "day": 0
    },
    "color": "grey",
    "state": "Expired",
    "displayOrder": 3,
    "start": 75,
    "end": 80
    }
    ],
    "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
    "scheduleOnExpiryOfDependency": false,
    "expiresAfter": 75,
    "voided": false
    },
    {
    "uuid": "f1b4219b-de58-4fbd-8f25-2bc1c4161283",
    "concept": {
    "name": "Pentavalent 3",
    "uuid": "2432614d-28dd-4705-8637-da68f0f69a1e",
    "dataType": "NA",
    "answers": [],
    "active": true,
    "keyValues": []
    },
    "status": [
    {
    "from": {
    "day": 0
    },
    "to": {
    "day": 0
    },
    "color": "#FBF9DA",
    "state": "Due",
    "displayOrder": 1,
    "start": 105,
    "end": 270
    },
    {
    "from": {
    "day": 0
    },
    "to": {
    "day": 0
    },
    "color": "#FFC2C2",
    "state": "Overdue",
    "displayOrder": 3,
    "start": 270,
    "end": 480
    },
    {
    "from": {
    "day": 0
    },
    "to": {
    "day": 0
    },
    "color": "grey",
    "state": "Expired",
    "displayOrder": 4,
    "start": 480,
    "end": 485
    }
    ],
    "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
    "scheduleOnExpiryOfDependency": false,
    "minDaysFromStartDate": 105,
    "expiresAfter": 480,
    "voided": false
    },
    {
    "uuid": "0c4f5510-4af2-4527-8662-3f79c0dc0bdf",
    "concept": {
    "name": "Rota 1",
    "uuid": "7e25cf42-5fb7-4ff4-ab6b-f3939e951d5e",
    "dataType": "NA",

              "answers": [],
              "active": true,
              "keyValues": []
          },
          "status": [
              {
                  "from": {
                      "day": 0
                  },
                  "to": {
                      "day": 0
                  },
                  "color": "#FBF9DA",
                  "state": "Due",
                  "displayOrder": 1,
                  "start": 45,
                  "end": 75
              },
              {
                  "from": {
                      "day": 0
                  },
                  "to": {
                      "day": 0
                  },
                  "color": "#FFC2C2",
                  "state": "Overdue",
                  "displayOrder": 3,
                  "start": 75,
                  "end": 105
              },
              {
                  "from": {
                      "day": 0
                  },
                  "to": {
                      "day": 0
                  },
                  "color": "grey",
                  "state": "Expired",
                  "displayOrder": 4,
                  "start": 105,
                  "end": 110
              }
          ],
          "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
          "scheduleOnExpiryOfDependency": false,
          "expiresAfter": 105,
          "voided": false
      },
      {
          "uuid": "e452a29e-9f86-4bb5-b18e-897e4cbf85c5",
          "concept": {
              "name": "FIPV 1",
              "uuid": "e1e08771-e952-4ade-862d-df62ec2aa922",
              "dataType": "NA",
              "answers": [],
              "active": true,
              "keyValues": []
          },
          "status": [
              {
                  "from": {
                      "day": 0
                  },
                  "to": {
                      "day": 0
                  },
                  "color": "#FBF9DA",
                  "state": "Due",
                  "displayOrder": 1,
                  "start": 45,
                  "end": 75
              },
              {
                  "from": {
                      "day": 0
                  },
                  "to": {
                      "day": 0
                  },
                  "color": "#FFC2C2",
                  "state": "Overdue",
                  "displayOrder": 3,
                  "start": 75,
                  "end": 105
              },
              {
                  "from": {
                      "day": 0
                  },
                  "to": {
                      "day": 0
                  },
                  "color": "grey",
                  "state": "Expired",
                  "displayOrder": 4,
                  "start": 105,
                  "end": 110
              }
          ],
          "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
          "scheduleOnExpiryOfDependency": false,
          "minDaysFromStartDate": 45,
          "expiresAfter": 105,
          "voided": false
      },
      {
          "uuid": "8fc846f7-5021-48bd-83a3-02e48dfc2e67",
          "concept": {
              "name": "PCV 1",
              "uuid": "f54329a1-abb1-4beb-ae59-fa65d0943cfb",
              "dataType": "NA",
              "answers": [],
              "active": true,
              "keyValues": []
          },
          "status": [
              {
                  "from": {
                      "day": 0
                  },
                  "to": {
                      "day": 0
                  },
                  "color": "#FBF9DA",
                  "state": "Due",
                  "displayOrder": 1,
                  "start": 45,
                  "end": 75
              },
              {
                  "from": {
                      "day": 0
                  },
                  "to": {
                      "day": 0
                  },
                  "color": "#FFC2C2",
                  "state": "Overdue",
                  "displayOrder": 3,
                  "start": 75,
                  "end": 105
              },
              {
                  "from": {
                      "day": 0
                  },
                  "to": {
                      "day": 0
                  },
                  "color": "grey",
                  "state": "Expired",
                  "displayOrder": 4,
                  "start": 105,
                  "end": 110
              }
          ],
          "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
          "scheduleOnExpiryOfDependency": false,
          "minDaysFromStartDate": 45,
          "expiresAfter": 105,
          "voided": false
      },
      {
          "uuid": "4fd9d972-c7b0-422b-bbbb-d48c1f49c4af",
          "concept": {
              "name": "Rota 2",
              "uuid": "69d87930-ce3d-419e-9b24-d97197968522",
              "dataType": "NA",
              "answers": [],
              "active": true,
              "keyValues": []
          },
          "status": [
              {
                  "from": {
                      "day": 0
                  },
                  "to": {
                      "day": 0
                  },
                  "color": "#FBF9DA",
                  "state": "Due",
                  "displayOrder": 1,
                  "start": 75,
                  "end": 105
              },
              {
                  "from": {
                      "day": 0
                  },
                  "to": {
                      "day": 0
                  },
                  "color": "#FFC2C2",
                  "state": "Overdue",
                  "displayOrder": 3,
                  "start": 105,
                  "end": 270
              },
              {
                  "from": {
                      "day": 0
                  },
                  "to": {
                      "day": 0
                  },
                  "color": "grey",
                  "state": "Expired",
                  "displayOrder": 4,
                  "start": 270,
                  "end": 275
              }
          ],
          "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
    

"dependentOn": "0c4f5510-4af2-4527-8662-3f79c0dc0bdf",

        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 75,
        "expiresAfter": 270,
        "voided": false
    },
    {
        "uuid": "fc3c94a2-520c-44d1-8c7e-fea7ce910ea9",
        "concept": {
            "name": "JE 1",
            "uuid": "3ff39188-f5f0-4a05-8217-4ce8dc9f2836",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 270,
                "end": 480
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 480,
                "end": 1800
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 1800,
                "end": 1805
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 270,
        "expiresAfter": 1800,
        "voided": false
    },
    {
        "uuid": "e82acf05-6e71-4f80-903b-2aae6291dc02",
        "concept": {
            "name": "PCV 2",
            "uuid": "a80da4af-4424-470a-b8ef-26ace5a69d10",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 105,
                "end": 270
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 270,
                "end": 480
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 480,
                "end": 485
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 105,
        "expiresAfter": 480,
        "voided": false
    },
    {
        "uuid": "d4bd451c-2718-4432-b33c-6118929bd0db",
        "concept": {
            "name": "PCV Booster",
            "uuid": "7253a64a-20e9-4d6f-8c2b-730915c3a145",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 270,
                "end": 480
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 480,
                "end": 1800
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 1800,
                "end": 1805
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 270,
        "expiresAfter": 1805,
        "voided": false
    },
    {
        "uuid": "76ef49af-626f-44a0-87a0-2e067aadd75b",
        "concept": {
            "name": "JE 2",
            "uuid": "efa8ddbf-2109-4a65-8b1e-4737f41414c8",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 480,
                "end": 1800
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 1800,
                "end": 3600
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 3600,
                "end": 3605
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 480,
        "expiresAfter": 3600,
        "voided": false
    },
    {
        "uuid": "8f5d6c17-ad27-4ebf-928b-e939753f1f54",
        "concept": {
            "name": "Polio 0",
            "uuid": "965de4fb-b7ad-4342-b25f-c9358d21b818",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 0,
                "end": 15
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 99,
                "start": 15,
                "end": 1825
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "expiresAfter": 15,
        "voided": true
    },
    {
        "uuid": "d3f3c9bc-0b44-4a81-ad0b-cdfeca19e816",
        "concept": {
            "name": "Vitamin A 1",
            "uuid": "906fa706-8bea-41af-bc39-0746b11cd17c",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 270,
                "end": 540
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 540,
                "end": 810
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 810,
                "end": 815
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 270,
        "expiresAfter": 810,
        "voided": false
    },
    {
        "uuid": "f4069b11-02ac-482f-b227-c35cc6728169",
        "concept": {
            "name": "Measles 1",
            "uuid": "96a74073-5283-4435-8a63-a4b91cf92c2b",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 270,
                "end": 480
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 480,
                "end": 1800
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 1800,
                "end": 1805
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 270,
        "expiresAfter": 1800,
        "voided": false
    },
    {
        "uuid": "2b7aee93-a839-482b-bcb6-e68b8ae0728a",
        "concept": {
            "name": "DPT Booster 1",
            "uuid": "4c9a9890-0410-4a5b-bca1-4049263c81c6",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 480,
                "end": 1600
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 1600,
                "end": 3200
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 3200,
                "end": 325
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 480,
        "expiresAfter": 3200,
        "voided": false
    },
    {
        "uuid": "9f835d32-7f7b-4ce9-b1ce-0ed659eb9dbc",
        "concept": {
            "name": "Vitamin A 2",
            "uuid": "32bcdbb6-6c3d-4e7e-ad2e-f4e62759dbd6",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 540,
                "end": 810
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 810,
                "end": 1080
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 1080,
                "end": 1085
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 540,
        "expiresAfter": 1080,
        "voided": false
    },
    {
        "uuid": "bc9a18a0-1c8d-488c-8149-eb95c5c9b140",
        "concept": {
            "name": "Vitamin A 4",
            "uuid": "d8edb3e0-ff72-4e00-b497-9f450a93f2d6",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 1080,
                "end": 1350
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 1350,
                "end": 1620
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 1620,
                "end": 1625
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 1080,
        "expiresAfter": 1620,
        "voided": false
    },
    {
        "uuid": "9ef1c1f1-0123-4a65-86ca-cb6e1252b939",
        "concept": {
            "name": "TD Dose",
            "uuid": "3ab0e0a9-099d-474c-b659-288366543e0e",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 3600,
                "end": 3671
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 3692,
                "end": 3713
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 3713,
                "end": 5840
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 3600,
        "expiresAfter": 5840,
        "voided": false
    },
    {
        "uuid": "b9593960-ea72-4057-adc0-0e3526b0fd1e",
        "concept": {
            "name": "TD Dose 2",
            "uuid": "04fac982-6439-4546-bf88-e241ad9c3bf3",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 7680,
                "end": 7900
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 7900,
                "end": 8100
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 8100,
                "end": 8105
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 7680,
        "expiresAfter": 8100,
        "voided": false
    },
    {
        "uuid": "72b3ede1-86ba-4ab9-985f-5f53a70f5844",
        "concept": {
            "name": "Pentavalent 2",
            "uuid": "0ffec49b-e25b-4918-abe5-7cb3672ab3de",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 75,
                "end": 105
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 105,
                "end": 270
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 270,
                "end": 275
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 75,
        "expiresAfter": 270,
        "voided": true
    },
    {
        "uuid": "6572f78e-1b6e-4a18-8594-9fb77540eccc",
        "concept": {
            "name": "Vitamin A 5",
            "uuid": "e96ec44c-190b-49ba-b1a2-0c926681e7c5",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 1350,
                "end": 1620
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 1620,
                "end": 1890
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 1890,
                "end": 1895
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 1350,
        "expiresAfter": 1890,
        "voided": false
    },
    {
        "uuid": "2001f5d2-5450-453d-8d72-fee00a8865a7",
        "concept": {
            "name": "FIPV 2",
            "uuid": "4130e25d-cd48-458d-b813-7fcea35070a6",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 105,
                "end": 270
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 270,
                "end": 480
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 480,
                "end": 485
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 105,
        "expiresAfter": 480,
        "voided": false
    },
    {
        "uuid": "850c6348-f489-41da-806f-2a11a784773f",
        "concept": {
            "name": "OPV 1",
            "uuid": "55dabb04-fa73-4087-afd3-9d672a7a47ca",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 45,
                "end": 75
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 75,
                "end": 105
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 105,
                "end": 110
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 45,
        "expiresAfter": 105,
        "voided": false
    },
    {
        "uuid": "1373a6a1-4972-473a-95c7-ade7fa9c8fef",
        "concept": {
            "name": "OPV Booster",
            "uuid": "55d0c627-2378-4d43-aad1-740563482597",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 480,
                "end": 1800
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 1800,
                "end": 3600
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 3600,
                "end": 3605
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 480,
        "expiresAfter": 3600,
        "voided": false
    },
    {
        "uuid": "af02dd93-9e9f-4b97-be13-9451b9f314aa",
        "concept": {
            "name": "Measles 2",
            "uuid": "c6317b12-1ee6-42f4-bc00-4b9950fd064f",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 480,
                "end": 1800
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 1800,
                "end": 3600
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 3600,
                "end": 3695
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 480,
        "expiresAfter": 3600,
        "voided": false
    },
    {
        "uuid": "b774c56c-0b9f-447d-b52e-32929d575977",
        "concept": {
            "name": "Pentavalent 1",
            "uuid": "64a6132e-6f69-4c76-a376-6bd393d27ded",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 45,
                "end": 75
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 75,
                "end": 105
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 105,
                "end": 110
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 45,
        "expiresAfter": 105,
        "voided": false
    },
    {
        "uuid": "ceae0dce-b8df-4f9a-acc3-ec913a9337a5",
        "concept": {
            "name": "Rota 3",
            "uuid": "d2b27987-ab17-49a4-a50b-aa776424d2c0",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 105,
                "end": 270
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 270,
                "end": 480
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 480,
                "end": 485
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 105,
        "expiresAfter": 480,
        "voided": false
    },
    {
        "uuid": "eeda086c-608c-4824-bccc-503bc80cb3fa",
        "concept": {
            "name": "Pentavalent 2",
            "uuid": "0ffec49b-e25b-4918-abe5-7cb3672ab3de",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 75,
                "end": 105
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 105,
                "end": 270
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 270,
                "end": 275
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 75,
        "expiresAfter": 270,
        "voided": false
    },
    {
        "uuid": "87855ab1-c799-4cfc-b8ed-45dc22ae640b",
        "concept": {
            "name": "Vitamin A 3",
            "uuid": "fdd8168e-bef7-4e85-a98c-08cd350f3e20",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 810,
                "end": 1080
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 1080,
                "end": 1350
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 1350,
                "end": 1355
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 810,
        "expiresAfter": 1350,
        "voided": false
    },
    {
        "uuid": "20488693-6772-4bf3-8c32-81232db83105",
        "concept": {
            "name": "Vitamin A 6",
            "uuid": "8779a3c3-8521-42db-88ae-024d1a8d9a53",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 1620,
                "end": 1890
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 1890,
                "end": 2160
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 2160,
                "end": 2165
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 1620,
        "expiresAfter": 2160,
        "voided": false
    },
    {
        "uuid": "92f2d25c-5462-430b-b5b6-34ec60a59597",
        "concept": {
            "name": "Vitamin A 7",
            "uuid": "26482d2d-acbc-4720-8c89-7779c4b2f860",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 1890,
                "end": 2160
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 2160,
                "end": 2430
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 2430,
                "end": 2435
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 1890,
        "expiresAfter": 2430,
        "voided": false
    },
    {
        "uuid": "64359b88-4405-439b-9bf6-6e50cf51d24e",
        "concept": {
            "name": "Hepatitis B",
            "uuid": "f55a0e6d-818b-4ddd-8d2b-ba9aecd4e9c3",
            "dataType": "Coded",
            "answers": [
                {
                    "name": "Yes",
                    "uuid": "a0b7b027-7fe4-4b82-b830-4e2c5673a173",
                    "dataType": "NA",
                    "answers": [],
                    "order": 0,
                    "active": true
                },
                {
                    "name": "Don't know",
                    "uuid": "ecd723a3-e1ce-4c53-8b97-880bea5c31a6",
                    "dataType": "NA",
                    "answers": [],
                    "order": 2,
                    "active": true
                },
                {
                    "name": "No",
                    "uuid": "df6c5df0-f3ce-4d9a-be43-240b137b2934",
                    "dataType": "NA",
                    "answers": [],
                    "order": 1,
                    "active": true
                }
            ],
            "active": true
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 0,
                "end": 45
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 2,
                "start": 45,
                "end": 75
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 3,
                "start": 75,
                "end": 80
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "expiresAfter": 75,
        "voided": false
    },
    {
        "uuid": "101efe02-2838-4756-a71f-4907221f3a96",
        "concept": {
            "name": "OPV  0",
            "uuid": "7763daa9-3ae1-47ca-940a-6262883fd6b5",
            "dataType": "Coded",
            "answers": [
                {
                    "name": "No",
                    "uuid": "df6c5df0-f3ce-4d9a-be43-240b137b2934",
                    "dataType": "NA",
                    "answers": [],
                    "order": 1,
                    "active": true
                },
                {
                    "name": "Don't know",
                    "uuid": "ecd723a3-e1ce-4c53-8b97-880bea5c31a6",
                    "dataType": "NA",
                    "answers": [],
                    "order": 2,
                    "active": true
                },
                {
                    "name": "Yes",
                    "uuid": "a0b7b027-7fe4-4b82-b830-4e2c5673a173",
                    "dataType": "NA",
                    "answers": [],
                    "order": 0,
                    "active": true
                }
            ],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 0,
                "end": 45
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 2,
                "start": 45,
                "end": 75
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 3,
                "start": 75,
                "end": 80
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "expiresAfter": 75,
        "voided": false
    },
    {
        "uuid": "a56bb7f6-ed75-4754-a6c6-118a19d5629e",
        "concept": {
            "name": "Vitamin K",
            "uuid": "76346712-7d2c-4054-b81a-b98a70646600",
            "dataType": "Coded",
            "answers": [
                {
                    "name": "Don't know",
                    "uuid": "ecd723a3-e1ce-4c53-8b97-880bea5c31a6",
                    "dataType": "NA",
                    "answers": [],
                    "order": 2,
                    "active": true
                },
                {
                    "name": "No",
                    "uuid": "df6c5df0-f3ce-4d9a-be43-240b137b2934",
                    "dataType": "NA",
                    "answers": [],
                    "order": 1,
                    "active": true
                },
                {
                    "name": "Yes",
                    "uuid": "a0b7b027-7fe4-4b82-b830-4e2c5673a173",
                    "dataType": "NA",
                    "answers": [],
                    "order": 0,
                    "active": true
                }
            ],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 0,
                "end": 45
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 2,
                "start": 45,
                "end": 75
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 3,
                "start": 75,
                "end": 80
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "expiresAfter": 75,
        "voided": false
    },
    {
        "uuid": "63fe66e1-b0cd-49c1-a5a3-43dfbbb09a6b",
        "concept": {
            "name": "DPT Booster 2",
            "uuid": "21d73d5a-f7ca-482d-8690-5c30322bda83",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 1800,
                "end": 3600
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 3600,
                "end": 3700
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 3700,
                "end": 3705
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 1800,
        "expiresAfter": 3700,
        "voided": false
    },
    {
        "uuid": "4fd9d972-c7b0-422b-bbbb-d48c1f49c4ed",
        "concept": {
            "name": "OPV 2",
            "uuid": "72b3ede1-86ba-4ab9-985f-5f53a70f5844",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 75,
                "end": 105
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 105,
                "end": 270
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 270,
                "end": 275
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 75,
        "expiresAfter": 270,
        "voided": false
    },
    {
        "uuid": "c8071ec5-199d-4ed7-81c2-38c6fa9eb87b",
        "concept": {
            "name": "OPV 3",
            "uuid": "04bf709e-2379-4be9-9a8a-3d4db10ce7aa",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 105,
                "end": 270
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 270,
                "end": 480
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 480,
                "end": 485
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 105,
        "expiresAfter": 480,
        "voided": false
    },
    {
        "uuid": "ae8ffcd4-248f-48c4-8fe0-1150adf8cd6d",
        "concept": {
            "name": "Vitamin A 8",
            "uuid": "49147de2-5656-430a-8735-3bf5376b83ae",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 2160,
                "end": 2430
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 2430,
                "end": 2700
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 2700,
                "end": 2705
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 2160,
        "expiresAfter": 2700,
        "voided": false
    },
    {
        "uuid": "41e77ac8-868d-4c9d-9a13-6350f6772794",
        "concept": {
            "name": "Vitamin A 9",
            "uuid": "85ee0b19-970b-4a4c-8f63-67f36513f6a4",
            "dataType": "NA",
            "answers": [],
            "active": true,
            "keyValues": []
        },
        "status": [
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FBF9DA",
                "state": "Due",
                "displayOrder": 1,
                "start": 2430,
                "end": 2700
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "#FFC2C2",
                "state": "Overdue",
                "displayOrder": 3,
                "start": 2700,
                "end": 2970
            },
            {
                "from": {
                    "day": 0
                },
                "to": {
                    "day": 0
                },
                "color": "grey",
                "state": "Expired",
                "displayOrder": 4,
                "start": 2970,
                "end": 2975
            }
        ],
        "formUUID": "90e93d21-50b1-40d1-b70d-c4bc7de0e7c0",
        "scheduleOnExpiryOfDependency": false,
        "minDaysFromStartDate": 2430,
        "expiresAfter": 2970,
        "voided": false
    }
]

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

4 participants