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

update generate_consumables_item_codes_and_packages script #1290

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@

# Set local Dropbox source
path_to_dropbox = Path( # <-- point to the TLO dropbox locally
'/Users/tbh03/Dropbox (SPH Imperial College)/Thanzi la Onse Theme 1 SHARE')
'/Users/tbh03/Dropbox (SPH Imperial College)/Thanzi la Onse Theme 1 SHARE'
# '/home/eva/Dropbox (TLO_HMC)/Thanzi la Onse'
)

resourcefilepath = Path("./resources")
path_for_new_resourcefiles = resourcefilepath / "healthsystem/consumables"
Expand Down Expand Up @@ -328,6 +330,40 @@ def add_record(df: pd.DataFrame, record: Dict):
},
)


cons = cons.append({
'Intervention_Cat': "Added by SM (Recommended by EJ)",
'Intervention_Pkg': "Misc",
'Intervention_Pkg_Code': -99,
'Items': "Cystoscope",
'Item_Code': 285,
'Expected_Units_Per_Case': 1.0,
'Unit_Cost': np.nan},
ignore_index=True
)

cons = cons.append({
'Intervention_Cat': "Added by SM (Recommended by EJ)",
'Intervention_Pkg': "Misc",
'Intervention_Pkg_Code': -99,
'Items': "Endoscope",
'Item_Code': 280,
'Expected_Units_Per_Case': 1.0,
'Unit_Cost': np.nan},
ignore_index=True
)

cons = cons.append({
'Intervention_Cat': "Added by SM (Recommended by EJ)",
'Intervention_Pkg': "Misc",
'Intervention_Pkg_Code': -99,
'Items': "Prostate specific antigen test",
'Item_Code': 281,
'Expected_Units_Per_Case': 1.0,
'Unit_Cost': np.nan},
ignore_index=True
)

# --------------
# --------------
# --------------
Expand Down