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

Data cleaning for insulin regimen #115

Open
3 tasks
KonradUdoHannes opened this issue Dec 20, 2023 · 1 comment
Open
3 tasks

Data cleaning for insulin regimen #115

KonradUdoHannes opened this issue Dec 20, 2023 · 1 comment
Assignees

Comments

@KonradUdoHannes
Copy link
Collaborator

KonradUdoHannes commented Dec 20, 2023

Based on information provided, data cleaning aims for the following goal for Insulin regimen.

  • Insulin regiment should be split into a main category and a sub category. In newer tracker files these are separated by a ,, whereas in older tracker files sub category does not exist.
  • The allowed values for the main category are
    • Basal-bolus (MDI)
    • Premixed 30/70 BD
    • Self-mixed BD
    • Modified conventional TID
  • The sub category should have the allowed values
    • For main category Basal-bolus (MDI) it can be Basal-bolus MDI (AN) or Basal-bolus MDI (HI)
    • Nothing for other categories
@KonradUdoHannes KonradUdoHannes self-assigned this Dec 20, 2023
@KonradUdoHannes
Copy link
Collaborator Author

The mapping of the main category is done by doing a case insensitive matching on "basal", "premixed", "self-mixed" and "conventional" respectively.
In the tested tracker files there seems to be a few cases where sub-category information is mixed with category information and where the category is "Basal-bolus MDI (AN)" whereas the sub-category is only "Basal-bolus". Such a situation currently leads to the "(AN)" information getting lost. It should be clarified whether attempts should be made to handle such edge cases, or whether categories and sub-categories in future tracker fiels will be cleare, i.e. not mixed up.

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

No branches or pull requests

1 participant