You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Editing units of consumable required for each HSI (#1298)
* add latest version of costing resource file
* add latest version of costing resource file
- with updated units for cost of consumables
* update Gentamycin (units)
* update item quantities for HIV prep and infant prep
* update 1g to 1mg for Albendazole (Item code 52)
* update units for gloves from 1 glove to "1 pair of gloves"
* update item quantities for TB drugs
add 3HP as new consumable for IPT
* add conditions for each IPT recommendation
* add prices for ARVs
- and create placeholder for Isoniazid/Rifapentine
* add Isoniazid/Rifapentine to `ResourceFile_Consumables_Items_and_Packages.csv`
* add Isoniazid/Rifapentine to all relevant RFs
- 1. `ResourceFile_Consumables_Items_and_Packages.csv` - list of item codes and names
- 2. `ResourceFile_consumabes_matched.csv` - crosswalk between consumables in the TLO model and the OpenLMIS dataset to extract availability (used proxy 'Isoniazid, 100mg' OR 'Isoniazid, 300mg')
- 3. `ResourceFile_Consumables_availability_small.csv` - Final availability estimates - updated by running `consumables_availability_estimation.py`
- 4 `ResourceFile_Costing.xlsx` - cost of tablet based on external web report
* Update to the functionality for requesting consumables across the MNH modules to allow for clearer requesting of units of consumables for costing (correct number of units not yet implemented for all consumables)
* fixes to failing tests
* linting
* linting
* change cotrimoxazole units to mg
* merge in updated unit costs
3hp added and linked to consumables dataset
* added dosage for amitriptyline antidepressant treatment
* added dosage for epilepsy treatment
* fix error in postnatal_supervisor.py leading to failing test
* units added for care_of_women_during_pregnancy.py
* units added for care_of_women_during_pregnancy.py
* units added for labour.py
* fix failing test. initial doses for newborn outcomes/postnatal supervisor
* fix failing test. initial doses for newborn outcomes/postnatal supervisor
* delete temporary ~ file created
* update units of safety box to "1 disposed syringe (100 syringes per box)"
* fix failing test. initial doses for newborn outcomes/postnatal supervisor
* fixed error in labour. COPD consumable unites
* remove consumable packages from diarrhoea.py
* diarrhoea.py consumable units
* cmd.py consumable units
* rti.py consumable units
* alri.py consumable units plus fixed error in diarrhoea.py
* co: get item codes of consumables from item names and define number of units per case in the module (using new chosen units)
* Add cystoscope, endoscope and prostate specific antigen test
- add three consumables to `ResourceFile_Consumables_Items_and_Packages.csv` using the `generate_consumables_item_codes_and_packages.py` script
- This is a replication of commit ff4d072 from PR #1341
* co: alternative consumables chosen by probs
* co: 21 tablets per packet for both types of pills (informed by Emi)
* co: update TODOs
* cancer_cons: consumables updated and required units per case defined (as nmbs of chosen units)
* [no ci] cancer_cons: rm outdated TODOs
* [no ci] co: rm resolved TODOs
* co: rm TODOs as opened an issue to resolve them (#1384)
* cancers: missing arguments added
* add availability data cancer consumables
- Biopsy needle and Specimen container
(This is based on assumptions made in `"05 - Resources/Module-healthsystem/consumables raw files/ResourceFile_hhfa_consumables.xlsx`
* Revert "cancers: missing arguments added"
This reverts commit 5e3d5c0.
* cancer_cons: rm get_consumable_item_codes_cancers() argument
* cancer_cons: names corrections -- item & consumables set
* add depn to health system to copd
* remove packing with dict
* refactoring and adding todo
* fix misnamed tb consumable
* roll back file added by accident
* test_co & co: alternatives rolled back
* roll back second output
* simplify _get_cons_group as no longer changing dose by age
* remove todo, now resolved
* linting and removed completed todo
* linting
---------
Co-authored-by: sm2511 <[email protected]>
Co-authored-by: tdm32 <[email protected]>
Co-authored-by: joehcollins <[email protected]>
Co-authored-by: Tim Hallett <[email protected]>
Co-authored-by: Eva Janouskova <[email protected]>
Copy file name to clipboardexpand all lines: src/scripts/data_file_processing/healthsystem/consumables/consumable_resource_analyses_with_lmis/consumables_availability_estimation.py
+4-8
Original file line number
Diff line number
Diff line change
@@ -277,14 +277,10 @@ def custom_agg(x):
277
277
return_collapsed_df
278
278
279
279
# Hold out the dataframe with no naming inconsistencies
Copy file name to clipboardexpand all lines: src/scripts/data_file_processing/healthsystem/consumables/processing_data_from_one_health/generate_consumables_item_codes_and_packages.py
+51-2
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,8 @@
21
21
22
22
# Set local Dropbox source
23
23
path_to_dropbox=Path( # <-- point to the TLO dropbox locally
24
-
'/Users/tbh03/Dropbox (SPH Imperial College)/Thanzi la Onse Theme 1 SHARE')
24
+
# '/Users/tbh03/Dropbox (SPH Imperial College)/Thanzi la Onse Theme 1 SHARE'
0 commit comments