Initial commit: Janssen 4G Clinical report automation

- download_reports.py: Playwright script for site inventory XLS downloads
- download_ip_destruction.py: Playwright script for IP destruction basket downloads
- create_accountability_report.py: combines both sources into formatted accountability Excel
- list_reports.py: discovers available reports on portal
- reports.json: 21 available report URLs
- .gitignore: excludes downloaded XLS files and output Excel

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-08 14:57:17 +02:00
commit aa194daf91
6 changed files with 434 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
[
{"name": "Drug Accountability Form - Multiple Subjects", "href": "/report/drug_accountability_form_multiple_subjects"},
{"name": "Drug Accountability Form - Single Subject", "href": "/report/drug_accountability_form_single_subject"},
{"name": "Janssen Pharmaceuticals IP Destruction Form", "href": "/report/ip_destruction_form"},
{"name": "On-Site Drug Inventory and Accountability Details Form", "href": "/report/onsite_inventory_detail"},
{"name": "On-Site Drug Inventory Form", "href": "/report/onsite_drug_inventory_form"},
{"name": "Location Summary Report", "href": "/report/country_summary_report"},
{"name": "Site Detail Report", "href": "/report/site_detail_report"},
{"name": "Study Sites Report", "href": "/report/study_sites_report"},
{"name": "Site Inventory Detail Report", "href": "/report/site_inventory_detail"},
{"name": "Site Inventory Summary Report", "href": "/report/site_inventory_summary"},
{"name": "Subject Data Changes Report", "href": "/report/patient_data_changes_report"},
{"name": "Subject Detail Report", "href": "/report/patient_detail_report"},
{"name": "Subject Summary Report", "href": "/report/patient_summary_report"},
{"name": "Subject Visit Summary Report", "href": "/report/patient_visit_summary"},
{"name": "Shipment Details Report", "href": "/report/shipment_details_report"},
{"name": "Shipments Report", "href": "/report/shipments_report"},
{"name": "Cohort History Report", "href": "/report/cohort_history_report"},
{"name": "Cohort Summary Report", "href": "/report/cohort_summary_report"},
{"name": "Site Activations Report", "href": "/report/site_activation_pivot"},
{"name": "User Login History", "href": "/report/user_logins"},
{"name": "Users List", "href": "/report/users"}
]