- blinker==1.9.0
- certifi==2026.1.4
- charset-normalizer==3.4.4
- click==8.3.1
- colorama==0.4.6
- et_xmlfile==2.0.0
- idna==3.11
- itsdangerous==2.2.0
- Jinja2==3.1.6
- MarkupSafe==3.0.3
- numpy==2.4.2
- openpyxl==3.1.5
- packaging==26.0
- python-dateutil==2.9.0.post0
- python-dotenv==1.2.1
- requests==2.32.5
- six==1.17.0
- tzdata==2025.3
- urllib3==2.6.3
- Werkzeug==3.1.5
Clone dashboard
Dashboard_org_unit_edit
Edit event
Tracked entity instance report
Cloning a dashboard can only be done by creating an empty one. This gives an ID to be used by the script.
Once a destination ID available, every element from the source dashboard would be copied.
! If the destination dashboard is not empty, its content will be replaced !
A json file is created to show the cloned dashboard's elements.
- Source dashboard ID (dashboard to clone)
- Destination dashboard ID (dashboard receiving the copied content)
This script intends to change the organisation unit of one or multiple elements within a dashboard.
Each item has a number attributed to it to enter as an input.
This will create new duplicated items with a different organisation unit in the destination dashboard.
- Dashboard ID
- Element on which the organisation unit will be changed (one, multiple, or all)
- New organisation unit
An event value can only be changed if the condition entered as an input is true.
As a result, an xlsx file will be created displaying the old and new values for the event along with its ID and the data element ID.
- Organisation unit ID
- Data element ID
- Event ID
- Condition to meet
- New value
This report is made to assess the programs in which the patient is admitted and discharged the same day. It will compare the date of the first and last event for each tracked entity instance within a date range. To check if the patient has been discharged the same day as his admission, the script will provide an xlsx file displaying the tracked entity instance attributes and a status.
- Program ID
- Organisation unit ID
- Date of the enrollment
- Date of the last registered event
- Data element ID (one or multiple)
Same admission and discharge date
Discharge date different from admission date
Admission date registered after discharge date
Missing data
The report is provided with required columns, including
- ID
- Case number
- Organisation unit
- Admission and discharge result