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

add dob_year and edit antimalarial #189

Merged
merged 9 commits into from
Nov 8, 2023
Merged

add dob_year and edit antimalarial #189

merged 9 commits into from
Nov 8, 2023

Conversation

ekamau
Copy link
Collaborator

@ekamau ekamau commented Sep 30, 2023

  1. Added dob_year and
  2. edited antimalarial attributes in visit table - moved from experimental agents to antimalarial treatment,
    as in Miscellaneous bugs/inconsistencies #178

@ekamau ekamau requested review from abhidg and pipliggins September 30, 2023 23:15
@github-actions
Copy link

Summary of the missing optional fields for the ccp-ghana parser:

table missing total_fields percentage_coverage
subject 12 53 77.358491%
visit 16 56 71.428571%
observation 23 69 66.666667%
SUBJECT                                         
dataset_id                                      False
sex                                             False
preterm_infant                                  False
has_asplenia                                    False
has_tuberculosis                                False
has_chronic_respiratory_disease                 False
diabetes_type                                   False
has_apnoea                                      False
has_inflammatory_bowel_disease                  False
has_rare_disease_inborn_metabolism_error        False
has_tuberculosis_past                           False
has_comorbidity_other                           False
VISIT                                           
dataset_id                                      False
phase                                           False
treatment_oxygen_mask_prongs                    False
treatment_antifungal_agent_type                 False
treatment_anticoagulation                       False
treatment_steroids                              False
treatment_immunosuppressant                     False
treatment_cpr                                   False
treatment_offlabel                              False
treatment_respiratory_support                   False
treatment_colchicine                            False
treatment_immunoglobulins                       False
treatment_delirium                              False
treatment_delirium_type                         False
treatment_monoclonal_antibody                   False
treatment_pacing                                False
OBSERVATION                                     
acvpu                                           False
clinical_classification_critical_illness_scale  False
total_fluid_output_ml                           False
oxygen_o2hb                                     False
clinical_frailty_score                          False
inability_to_walk_scale                         False
blantyre_coma_score                             False
mid_upper_arm_circumference_cm                  False
richmond_agitation-sedation_scale               False
riker_sedation-agitation_scale                  False
mean_arterial_blood_pressure_mmHg               False
anorexia                                        False
bleeding                                        False
confusion                                       False
cyanosis                                        False
feeding_intolerance_pediatrics                  False
hepatomegaly                                    False
irritability_pediatrics                         False
lung_sounds                                     False
lymphadenopathy                                 False
musculoskeletal_pain                            False
severe_dehydration                              False
heart_sounds                                    False

@github-actions
Copy link

github-actions bot commented Oct 4, 2023

Summary of the missing optional fields for the ccp-ghana parser:

table missing total_fields percentage_coverage
subject 12 53 77.358491%
visit 16 56 71.428571%
observation 23 69 66.666667%
SUBJECT                                         
dataset_id                                      False
sex                                             False
preterm_infant                                  False
has_asplenia                                    False
has_tuberculosis                                False
has_chronic_respiratory_disease                 False
diabetes_type                                   False
has_apnoea                                      False
has_inflammatory_bowel_disease                  False
has_rare_disease_inborn_metabolism_error        False
has_tuberculosis_past                           False
has_comorbidity_other                           False
VISIT                                           
dataset_id                                      False
phase                                           False
treatment_oxygen_mask_prongs                    False
treatment_antifungal_agent_type                 False
treatment_anticoagulation                       False
treatment_steroids                              False
treatment_immunosuppressant                     False
treatment_cpr                                   False
treatment_offlabel                              False
treatment_respiratory_support                   False
treatment_colchicine                            False
treatment_immunoglobulins                       False
treatment_delirium                              False
treatment_delirium_type                         False
treatment_monoclonal_antibody                   False
treatment_pacing                                False
OBSERVATION                                     
acvpu                                           False
clinical_classification_critical_illness_scale  False
total_fluid_output_ml                           False
oxygen_o2hb                                     False
clinical_frailty_score                          False
inability_to_walk_scale                         False
blantyre_coma_score                             False
mid_upper_arm_circumference_cm                  False
richmond_agitation-sedation_scale               False
riker_sedation-agitation_scale                  False
mean_arterial_blood_pressure_mmHg               False
anorexia                                        False
bleeding                                        False
confusion                                       False
cyanosis                                        False
feeding_intolerance_pediatrics                  False
hepatomegaly                                    False
irritability_pediatrics                         False
lung_sounds                                     False
lymphadenopathy                                 False
musculoskeletal_pain                            False
severe_dehydration                              False
heart_sounds                                    False

@pipliggins
Copy link
Collaborator

Thanks @ekamau! I've made a couple of minor edits (mostly just adding excludeWhen = "none" where required), but this all looks good to me now.

@pipliggins
Copy link
Collaborator

Left open until we decide how to deal with Washington (with age ranges rather than a single value).

@globaldothealth globaldothealth deleted a comment from github-actions bot Oct 5, 2023
]

[visit.treatment_antimalarial_type]
combinedType = "set"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ekamau I don't think other antimalarial treatments as indicated in antimal_cmtype, daily_antimal_cmtype and overall_antimal_cmtype have all been included - I couldn't see these in the parser in the main branch and the edits here only include chloroquine and hydroxychloroquine. So these additional ones could be mapped also (primaquine, quinine/mefloquine etc.)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @sadiekelly - I have added the extra variables

{ field = "daily_exper_cmtype___2", values = { 1 = true } },
{ field = "exper_cmtype___1", values = { 1 = true } },
{ field = "exper_cmtype___2", values = { 1 = true } },
]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same comment as for RAPID re. the other antimalarials listed in *antimal_cmtype variables not yet mapped

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @sadiekelly - I have added the extra variables

@ekamau ekamau requested a review from pipliggins October 8, 2023 02:07
@ekamau
Copy link
Collaborator Author

ekamau commented Oct 8, 2023

Hi @pipliggins - kindly check the changes to experimental agent .. I moved or changed these to 'treatment_other'. I think we are also meant to move some experimental agent information to metadata.
Thanks!

@globaldothealth globaldothealth deleted a comment from github-actions bot Nov 8, 2023
@globaldothealth globaldothealth deleted a comment from github-actions bot Nov 8, 2023
@globaldothealth globaldothealth deleted a comment from github-actions bot Nov 8, 2023
Copy link

github-actions bot commented Nov 8, 2023

Summary of the missing optional fields for the ccp-cameroon parser:

table missing total_fields percentage_coverage
subject 17 56 69.642857%
visit 26 53 50.943396%
observation 29 70 58.571429%
SUBJECT                                         
dataset_id                                      False
sex_at_birth                                    False
ethnicity                                       False
works_microbiology_lab                          False
pregnancy_date_of_delivery                      False
pregnancy_post_partum                           False
preterm_infant                                  False
has_asplenia                                    False
has_chronic_respiratory_disease                 False
diabetes_type                                   False
has_apnoea                                      False
has_inflammatory_bowel_disease                  False
has_rare_disease_inborn_metabolism_error        False
has_solid_organ_transplant                      False
has_tuberculosis_past                           False
has_hiv_art                                     False
has_immunosuppression                           False
VISIT                                           
dataset_id                                      False
phase                                           False
treatment_corticosteroid_type                   False
treatment_corticosteroid_type_other             False
treatment_oxygen_mask_prongs                    False
treatment_antifungal_agent_type                 False
treatment_antibiotics_type                      False
treatment_anticoagulation                       False
treatment_ace_inhibitors                        False
treatment_arb                                   False
treatment_antimalarial_type                     False
treatment_high_flow_nasal_cannula               False
treatment_steroids                              False
treatment_immunosuppressant                     False
treatment_intravenous_fluids                    False
treatment_nsaid                                 False
treatment_neuromuscular_blocking_agents         False
treatment_cpr                                   False
treatment_offlabel                              False
treatment_respiratory_support                   False
treatment_colchicine                            False
treatment_immunoglobulins                       False
treatment_delirium                              False
treatment_delirium_type                         False
treatment_monoclonal_antibody                   False
treatment_pacing                                False
OBSERVATION                                     
avpu                                            False
acvpu                                           False
oxygen_flow_volume_max                          False
oxygen_flow_volume_max                          False
clinical_classification_critical_illness_scale  False
total_fluid_output_ml                           False
base_excess                                     False
clinical_frailty_score                          False
inability_to_walk_scale                         False
glasgow_coma_score                              False
blantyre_coma_score                             False
mid_upper_arm_circumference_cm                  False
fio2_percent                                    False
pao2_mmHg                                       False
pco2_mmHg                                       False
pH                                              False
richmond_agitation-sedation_scale               False
riker_sedation-agitation_scale                  False
other_symptom                                   False
mean_arterial_blood_pressure_mmHg               False
anorexia                                        False
bleeding                                        False
confusion                                       False
cyanosis                                        False
feeding_intolerance_pediatrics                  False
hepatomegaly                                    False
inability_to_walk                               False
irritability_pediatrics                         False
lung_sounds                                     False
heart_sounds                                    False

Copy link

github-actions bot commented Nov 8, 2023

Summary of the missing optional fields for the ccp-cameroon parser:

table missing total_fields percentage_coverage
subject 17 56 69.642857%
visit 26 53 50.943396%
observation 29 70 58.571429%
SUBJECT                                         
dataset_id                                      False
sex_at_birth                                    False
ethnicity                                       False
works_microbiology_lab                          False
pregnancy_date_of_delivery                      False
pregnancy_post_partum                           False
preterm_infant                                  False
has_asplenia                                    False
has_chronic_respiratory_disease                 False
diabetes_type                                   False
has_apnoea                                      False
has_inflammatory_bowel_disease                  False
has_rare_disease_inborn_metabolism_error        False
has_solid_organ_transplant                      False
has_tuberculosis_past                           False
has_hiv_art                                     False
has_immunosuppression                           False
VISIT                                           
dataset_id                                      False
phase                                           False
treatment_corticosteroid_type                   False
treatment_corticosteroid_type_other             False
treatment_oxygen_mask_prongs                    False
treatment_antifungal_agent_type                 False
treatment_antibiotics_type                      False
treatment_anticoagulation                       False
treatment_ace_inhibitors                        False
treatment_arb                                   False
treatment_antimalarial_type                     False
treatment_high_flow_nasal_cannula               False
treatment_steroids                              False
treatment_immunosuppressant                     False
treatment_intravenous_fluids                    False
treatment_nsaid                                 False
treatment_neuromuscular_blocking_agents         False
treatment_cpr                                   False
treatment_offlabel                              False
treatment_respiratory_support                   False
treatment_colchicine                            False
treatment_immunoglobulins                       False
treatment_delirium                              False
treatment_delirium_type                         False
treatment_monoclonal_antibody                   False
treatment_pacing                                False
OBSERVATION                                     
avpu                                            False
acvpu                                           False
oxygen_flow_volume_max                          False
oxygen_flow_volume_max                          False
clinical_classification_critical_illness_scale  False
total_fluid_output_ml                           False
base_excess                                     False
clinical_frailty_score                          False
inability_to_walk_scale                         False
glasgow_coma_score                              False
blantyre_coma_score                             False
mid_upper_arm_circumference_cm                  False
fio2_percent                                    False
pao2_mmHg                                       False
pco2_mmHg                                       False
pH                                              False
richmond_agitation-sedation_scale               False
riker_sedation-agitation_scale                  False
other_symptom                                   False
mean_arterial_blood_pressure_mmHg               False
anorexia                                        False
bleeding                                        False
confusion                                       False
cyanosis                                        False
feeding_intolerance_pediatrics                  False
hepatomegaly                                    False
inability_to_walk                               False
irritability_pediatrics                         False
lung_sounds                                     False
heart_sounds                                    False

@pipliggins pipliggins merged commit 219a7d2 into main Nov 8, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants