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 covid19 vaccination info #197

Merged
merged 7 commits into from
Nov 7, 2023
Merged

add covid19 vaccination info #197

merged 7 commits into from
Nov 7, 2023

Conversation

ekamau
Copy link
Collaborator

@ekamau ekamau commented Oct 31, 2023

added attributes for covid19 vaccinations - #186 . For the datasets I could find.

@ekamau ekamau requested a review from pipliggins October 31, 2023 22:27
Copy link

Summary of the missing optional fields for the brazil-followup parser:

table missing total_fields percentage_coverage
subject 24 56 57.142857%
visit 46 56 17.857143%
observation 44 70 37.142857%
SUBJECT                                         
dataset_id                                      False
age                                             False
date_of_birth                                   False
sex                                             False
works_lab                                       False
works_microbiology_lab                          False
works_healthcare                                False
pregnancy_date_of_delivery                      False
pregnancy_birth_weight_kg                       False
pregnancy_outcome                               False
pregnancy_gestational_outcome                   False
pregnancy_whether_breastfed                     False
pregnancy_post_partum                           False
preterm_infant                                  False
has_obesity                                     False
has_malnutrition                                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
date_death                                      False
VISIT                                           
dataset_id                                      False
phase                                           False
icu_admission_dates                             False
transfer_from_other_facility                    False
treatment_dialysis                              False
treatment_inotropes_vasopressors                False
treatment_ecmo                                  False
treatment_corticosteroid                        False
treatment_corticosteroid_type                   False
treatment_corticosteroid_type_other             False
treatment_oxygen_mask_prongs                    False
treatment_prone_position                        False
treatment_antifungal_agent                      False
treatment_antifungal_agent_type                 False
treatment_antivirals                            False
treatment_antiviral_type                        False
treatment_antiviral_type_other                  False
treatment_antibiotics                           False
treatment_antibiotics_type                      False
treatment_anticoagulation                       False
treatment_experimental_agent                    False
treatment_experimental_agent_type               False
treatment_experimental_agent_type_other         False
treatment_inhaled_nitric_oxide                  False
treatment_noninvasive_ventilation               False
treatment_ace_inhibitors                        False
treatment_arb                                   False
treatment_antimalarial                          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_cardiovascular_support                False
treatment_colchicine                            False
treatment_immunoglobulins                       False
treatment_delirium                              False
treatment_delirium_type                         False
treatment_monoclonal_antibody                   False
treatment_other                                 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
oxygen_o2hb                                     False
clinical_frailty_score                          False
glasgow_coma_score                              False
blantyre_coma_score                             False
heart_rate_bpm                                  False
mid_upper_arm_circumference_cm                  False
oxygen_saturation_percent                       False
fio2_percent                                    False
pao2_mmHg                                       False
pco2_mmHg                                       False
pH                                              False
respiratory_rate                                False
richmond_agitation-sedation_scale               False
riker_sedation-agitation_scale                  False
temperature_celsius                             False
diastolic_blood_pressure_mmHg                   False
mean_arterial_blood_pressure_mmHg               False
systolic_blood_pressure_mmHg                    False
pneumonia                                       False
altered_consciousness_confusion                 False
bleeding                                        False
conjunctivitis                                  False
cough_with_haemoptysis                          False
cyanosis                                        False
ear_pain                                        False
feeding_intolerance_pediatrics                  False
hepatomegaly                                    False
inability_to_walk                               False
irritability_pediatrics                         False
lower_chest_wall_indrawing                      False
lung_sounds                                     False
lymphadenopathy                                 False
severe_dehydration                              False
skin_ulcers                                     False
sore_throat                                     False
sternal_capillary_refill_time_greater_2s        False
wheezing                                        False
heart_sounds                                    False

Copy link

github-actions bot commented Nov 1, 2023

Summary of the missing optional fields for the brazil-followup parser:

table missing total_fields percentage_coverage
subject 24 56 57.142857%
visit 46 56 17.857143%
observation 44 70 37.142857%
SUBJECT                                         
dataset_id                                      False
age                                             False
date_of_birth                                   False
sex                                             False
works_lab                                       False
works_microbiology_lab                          False
works_healthcare                                False
pregnancy_date_of_delivery                      False
pregnancy_birth_weight_kg                       False
pregnancy_outcome                               False
pregnancy_gestational_outcome                   False
pregnancy_whether_breastfed                     False
pregnancy_post_partum                           False
preterm_infant                                  False
has_obesity                                     False
has_malnutrition                                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
date_death                                      False
VISIT                                           
dataset_id                                      False
phase                                           False
icu_admission_dates                             False
transfer_from_other_facility                    False
treatment_dialysis                              False
treatment_inotropes_vasopressors                False
treatment_ecmo                                  False
treatment_corticosteroid                        False
treatment_corticosteroid_type                   False
treatment_corticosteroid_type_other             False
treatment_oxygen_mask_prongs                    False
treatment_prone_position                        False
treatment_antifungal_agent                      False
treatment_antifungal_agent_type                 False
treatment_antivirals                            False
treatment_antiviral_type                        False
treatment_antiviral_type_other                  False
treatment_antibiotics                           False
treatment_antibiotics_type                      False
treatment_anticoagulation                       False
treatment_experimental_agent                    False
treatment_experimental_agent_type               False
treatment_experimental_agent_type_other         False
treatment_inhaled_nitric_oxide                  False
treatment_noninvasive_ventilation               False
treatment_ace_inhibitors                        False
treatment_arb                                   False
treatment_antimalarial                          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_cardiovascular_support                False
treatment_colchicine                            False
treatment_immunoglobulins                       False
treatment_delirium                              False
treatment_delirium_type                         False
treatment_monoclonal_antibody                   False
treatment_other                                 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
oxygen_o2hb                                     False
clinical_frailty_score                          False
glasgow_coma_score                              False
blantyre_coma_score                             False
heart_rate_bpm                                  False
mid_upper_arm_circumference_cm                  False
oxygen_saturation_percent                       False
fio2_percent                                    False
pao2_mmHg                                       False
pco2_mmHg                                       False
pH                                              False
respiratory_rate                                False
richmond_agitation-sedation_scale               False
riker_sedation-agitation_scale                  False
temperature_celsius                             False
diastolic_blood_pressure_mmHg                   False
mean_arterial_blood_pressure_mmHg               False
systolic_blood_pressure_mmHg                    False
pneumonia                                       False
altered_consciousness_confusion                 False
bleeding                                        False
conjunctivitis                                  False
cough_with_haemoptysis                          False
cyanosis                                        False
ear_pain                                        False
feeding_intolerance_pediatrics                  False
hepatomegaly                                    False
inability_to_walk                               False
irritability_pediatrics                         False
lower_chest_wall_indrawing                      False
lung_sounds                                     False
lymphadenopathy                                 False
severe_dehydration                              False
skin_ulcers                                     False
sore_throat                                     False
sternal_capillary_refill_time_greater_2s        False
wheezing                                        False
heart_sounds                                    False

@pipliggins
Copy link
Collaborator

Thanks @ekamau! I'm happy with this now, maybe @sadiekelly could review too before this is merged?

@ekamau
Copy link
Collaborator Author

ekamau commented Nov 1, 2023 via email

@sadiekelly
Copy link
Collaborator

Thanks @ekamau! I'm happy with this now, maybe @sadiekelly could review too before this is merged?

Hi @ekamau I've added a few comments to various parsers. I can also do a double check across all studies to make sure we haven't missed anything.

@sadiekelly
Copy link
Collaborator

Thanks @ekamau! I'm happy with this now, maybe @sadiekelly could review too before this is merged?

Hi @ekamau I've added a few comments to various parsers. I can also do a double check across all studies to make sure we haven't missed anything.

Vaccination data is provided in CVPSICL MLW_COVID19LMIC, although not defined in the data dictionary. The variable name c19_vacc indicates whether the patient has received a vaccine. dose_date gives the date of the most recent dose (I think). Previous vaccine doses are indicated in prev_vaccs but with no date

@sadiekelly
Copy link
Collaborator

For PHOSP, data are collected on vaccinations in the PSQ form. This I think is similar situation to ISARIC Tier 1 and brazil follow up where data are only collected at follow up, so I think we can use this. psq_vac_first_yn indicates whether the patient has received a covid19 vaccine. Date of first dose is psq_vac_first_date and date of second dose psq_vac_sec_date

@sadiekelly
Copy link
Collaborator

South Africa has vaccination status in the variable Vaccinated. Dates are given in First Dose Date, Second Dose Date and Booster Dose Date

Copy link

github-actions bot commented Nov 5, 2023

Summary of the missing optional fields for the brazil-followup parser:

table missing total_fields percentage_coverage
subject 24 56 57.142857%
visit 46 56 17.857143%
observation 44 70 37.142857%
SUBJECT                                         
dataset_id                                      False
age                                             False
date_of_birth                                   False
sex                                             False
works_lab                                       False
works_microbiology_lab                          False
works_healthcare                                False
pregnancy_date_of_delivery                      False
pregnancy_birth_weight_kg                       False
pregnancy_outcome                               False
pregnancy_gestational_outcome                   False
pregnancy_whether_breastfed                     False
pregnancy_post_partum                           False
preterm_infant                                  False
has_obesity                                     False
has_malnutrition                                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
date_death                                      False
VISIT                                           
dataset_id                                      False
phase                                           False
icu_admission_dates                             False
transfer_from_other_facility                    False
treatment_dialysis                              False
treatment_inotropes_vasopressors                False
treatment_ecmo                                  False
treatment_corticosteroid                        False
treatment_corticosteroid_type                   False
treatment_corticosteroid_type_other             False
treatment_oxygen_mask_prongs                    False
treatment_prone_position                        False
treatment_antifungal_agent                      False
treatment_antifungal_agent_type                 False
treatment_antivirals                            False
treatment_antiviral_type                        False
treatment_antiviral_type_other                  False
treatment_antibiotics                           False
treatment_antibiotics_type                      False
treatment_anticoagulation                       False
treatment_experimental_agent                    False
treatment_experimental_agent_type               False
treatment_experimental_agent_type_other         False
treatment_inhaled_nitric_oxide                  False
treatment_noninvasive_ventilation               False
treatment_ace_inhibitors                        False
treatment_arb                                   False
treatment_antimalarial                          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_cardiovascular_support                False
treatment_colchicine                            False
treatment_immunoglobulins                       False
treatment_delirium                              False
treatment_delirium_type                         False
treatment_monoclonal_antibody                   False
treatment_other                                 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
oxygen_o2hb                                     False
clinical_frailty_score                          False
glasgow_coma_score                              False
blantyre_coma_score                             False
heart_rate_bpm                                  False
mid_upper_arm_circumference_cm                  False
oxygen_saturation_percent                       False
fio2_percent                                    False
pao2_mmHg                                       False
pco2_mmHg                                       False
pH                                              False
respiratory_rate                                False
richmond_agitation-sedation_scale               False
riker_sedation-agitation_scale                  False
temperature_celsius                             False
diastolic_blood_pressure_mmHg                   False
mean_arterial_blood_pressure_mmHg               False
systolic_blood_pressure_mmHg                    False
pneumonia                                       False
altered_consciousness_confusion                 False
bleeding                                        False
conjunctivitis                                  False
cough_with_haemoptysis                          False
cyanosis                                        False
ear_pain                                        False
feeding_intolerance_pediatrics                  False
hepatomegaly                                    False
inability_to_walk                               False
irritability_pediatrics                         False
lower_chest_wall_indrawing                      False
lung_sounds                                     False
lymphadenopathy                                 False
severe_dehydration                              False
skin_ulcers                                     False
sore_throat                                     False
sternal_capillary_refill_time_greater_2s        False
wheezing                                        False
heart_sounds                                    False

Copy link

github-actions bot commented Nov 5, 2023

Summary of the missing optional fields for the brazil-followup parser:

table missing total_fields percentage_coverage
subject 24 56 57.142857%
visit 46 56 17.857143%
observation 44 70 37.142857%
SUBJECT                                         
dataset_id                                      False
age                                             False
date_of_birth                                   False
sex                                             False
works_lab                                       False
works_microbiology_lab                          False
works_healthcare                                False
pregnancy_date_of_delivery                      False
pregnancy_birth_weight_kg                       False
pregnancy_outcome                               False
pregnancy_gestational_outcome                   False
pregnancy_whether_breastfed                     False
pregnancy_post_partum                           False
preterm_infant                                  False
has_obesity                                     False
has_malnutrition                                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
date_death                                      False
VISIT                                           
dataset_id                                      False
phase                                           False
icu_admission_dates                             False
transfer_from_other_facility                    False
treatment_dialysis                              False
treatment_inotropes_vasopressors                False
treatment_ecmo                                  False
treatment_corticosteroid                        False
treatment_corticosteroid_type                   False
treatment_corticosteroid_type_other             False
treatment_oxygen_mask_prongs                    False
treatment_prone_position                        False
treatment_antifungal_agent                      False
treatment_antifungal_agent_type                 False
treatment_antivirals                            False
treatment_antiviral_type                        False
treatment_antiviral_type_other                  False
treatment_antibiotics                           False
treatment_antibiotics_type                      False
treatment_anticoagulation                       False
treatment_experimental_agent                    False
treatment_experimental_agent_type               False
treatment_experimental_agent_type_other         False
treatment_inhaled_nitric_oxide                  False
treatment_noninvasive_ventilation               False
treatment_ace_inhibitors                        False
treatment_arb                                   False
treatment_antimalarial                          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_cardiovascular_support                False
treatment_colchicine                            False
treatment_immunoglobulins                       False
treatment_delirium                              False
treatment_delirium_type                         False
treatment_monoclonal_antibody                   False
treatment_other                                 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
oxygen_o2hb                                     False
clinical_frailty_score                          False
glasgow_coma_score                              False
blantyre_coma_score                             False
heart_rate_bpm                                  False
mid_upper_arm_circumference_cm                  False
oxygen_saturation_percent                       False
fio2_percent                                    False
pao2_mmHg                                       False
pco2_mmHg                                       False
pH                                              False
respiratory_rate                                False
richmond_agitation-sedation_scale               False
riker_sedation-agitation_scale                  False
temperature_celsius                             False
diastolic_blood_pressure_mmHg                   False
mean_arterial_blood_pressure_mmHg               False
systolic_blood_pressure_mmHg                    False
pneumonia                                       False
altered_consciousness_confusion                 False
bleeding                                        False
conjunctivitis                                  False
cough_with_haemoptysis                          False
cyanosis                                        False
ear_pain                                        False
feeding_intolerance_pediatrics                  False
hepatomegaly                                    False
inability_to_walk                               False
irritability_pediatrics                         False
lower_chest_wall_indrawing                      False
lung_sounds                                     False
lymphadenopathy                                 False
severe_dehydration                              False
skin_ulcers                                     False
sore_throat                                     False
sternal_capillary_refill_time_greater_2s        False
wheezing                                        False
heart_sounds                                    False

@pipliggins
Copy link
Collaborator

@ekamau @sadiekelly - the reason the most recent edits are failing (or at least one of them) is that you're trying to add context notes to the subject table, which doesn't allow them. I wasn't present for the discussion about where to put vaccination data (subject vs observation) but if we think context notes are important, vaccinations will have to become observations. Otherwise we can update the docs to say that if a single date is provided, it should be the date of the most recent dose (if that's correct?).

@ekamau
Copy link
Collaborator Author

ekamau commented Nov 6, 2023 via email

@pipliggins
Copy link
Collaborator

Adding context to the subject table doesn't feel like a sensible option to me - as a wide format table this would just look like another column (e.g. vaccination_context) which we haven't done for other attributes and if we open that up as an option, it could all get out of hand (where would it stop!). For now I think we should just ignore the context, I'll comment it out in the parser so we can retain the info. When moving to OMOP/ our eventual data storage option, we can re-evaluate whether the way the vaccination data is stored allows for context-like notes.

Copy link

github-actions bot commented Nov 7, 2023

Summary of the missing optional fields for the brazil-followup parser:

table missing total_fields percentage_coverage
subject 24 56 57.142857%
visit 46 56 17.857143%
observation 44 70 37.142857%
SUBJECT                                         
dataset_id                                      False
age                                             False
date_of_birth                                   False
sex                                             False
works_lab                                       False
works_microbiology_lab                          False
works_healthcare                                False
pregnancy_date_of_delivery                      False
pregnancy_birth_weight_kg                       False
pregnancy_outcome                               False
pregnancy_gestational_outcome                   False
pregnancy_whether_breastfed                     False
pregnancy_post_partum                           False
preterm_infant                                  False
has_obesity                                     False
has_malnutrition                                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
date_death                                      False
VISIT                                           
dataset_id                                      False
phase                                           False
icu_admission_dates                             False
transfer_from_other_facility                    False
treatment_dialysis                              False
treatment_inotropes_vasopressors                False
treatment_ecmo                                  False
treatment_corticosteroid                        False
treatment_corticosteroid_type                   False
treatment_corticosteroid_type_other             False
treatment_oxygen_mask_prongs                    False
treatment_prone_position                        False
treatment_antifungal_agent                      False
treatment_antifungal_agent_type                 False
treatment_antivirals                            False
treatment_antiviral_type                        False
treatment_antiviral_type_other                  False
treatment_antibiotics                           False
treatment_antibiotics_type                      False
treatment_anticoagulation                       False
treatment_experimental_agent                    False
treatment_experimental_agent_type               False
treatment_experimental_agent_type_other         False
treatment_inhaled_nitric_oxide                  False
treatment_noninvasive_ventilation               False
treatment_ace_inhibitors                        False
treatment_arb                                   False
treatment_antimalarial                          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_cardiovascular_support                False
treatment_colchicine                            False
treatment_immunoglobulins                       False
treatment_delirium                              False
treatment_delirium_type                         False
treatment_monoclonal_antibody                   False
treatment_other                                 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
oxygen_o2hb                                     False
clinical_frailty_score                          False
glasgow_coma_score                              False
blantyre_coma_score                             False
heart_rate_bpm                                  False
mid_upper_arm_circumference_cm                  False
oxygen_saturation_percent                       False
fio2_percent                                    False
pao2_mmHg                                       False
pco2_mmHg                                       False
pH                                              False
respiratory_rate                                False
richmond_agitation-sedation_scale               False
riker_sedation-agitation_scale                  False
temperature_celsius                             False
diastolic_blood_pressure_mmHg                   False
mean_arterial_blood_pressure_mmHg               False
systolic_blood_pressure_mmHg                    False
pneumonia                                       False
altered_consciousness_confusion                 False
bleeding                                        False
conjunctivitis                                  False
cough_with_haemoptysis                          False
cyanosis                                        False
ear_pain                                        False
feeding_intolerance_pediatrics                  False
hepatomegaly                                    False
inability_to_walk                               False
irritability_pediatrics                         False
lower_chest_wall_indrawing                      False
lung_sounds                                     False
lymphadenopathy                                 False
severe_dehydration                              False
skin_ulcers                                     False
sore_throat                                     False
sternal_capillary_refill_time_greater_2s        False
wheezing                                        False
heart_sounds                                    False

Copy link

github-actions bot commented Nov 7, 2023

Summary of the missing optional fields for the brazil-followup parser:

table missing total_fields percentage_coverage
subject 24 56 57.142857%
visit 46 56 17.857143%
observation 44 70 37.142857%
SUBJECT                                         
dataset_id                                      False
age                                             False
date_of_birth                                   False
sex                                             False
works_lab                                       False
works_microbiology_lab                          False
works_healthcare                                False
pregnancy_date_of_delivery                      False
pregnancy_birth_weight_kg                       False
pregnancy_outcome                               False
pregnancy_gestational_outcome                   False
pregnancy_whether_breastfed                     False
pregnancy_post_partum                           False
preterm_infant                                  False
has_obesity                                     False
has_malnutrition                                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
date_death                                      False
VISIT                                           
dataset_id                                      False
phase                                           False
icu_admission_dates                             False
transfer_from_other_facility                    False
treatment_dialysis                              False
treatment_inotropes_vasopressors                False
treatment_ecmo                                  False
treatment_corticosteroid                        False
treatment_corticosteroid_type                   False
treatment_corticosteroid_type_other             False
treatment_oxygen_mask_prongs                    False
treatment_prone_position                        False
treatment_antifungal_agent                      False
treatment_antifungal_agent_type                 False
treatment_antivirals                            False
treatment_antiviral_type                        False
treatment_antiviral_type_other                  False
treatment_antibiotics                           False
treatment_antibiotics_type                      False
treatment_anticoagulation                       False
treatment_experimental_agent                    False
treatment_experimental_agent_type               False
treatment_experimental_agent_type_other         False
treatment_inhaled_nitric_oxide                  False
treatment_noninvasive_ventilation               False
treatment_ace_inhibitors                        False
treatment_arb                                   False
treatment_antimalarial                          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_cardiovascular_support                False
treatment_colchicine                            False
treatment_immunoglobulins                       False
treatment_delirium                              False
treatment_delirium_type                         False
treatment_monoclonal_antibody                   False
treatment_other                                 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
oxygen_o2hb                                     False
clinical_frailty_score                          False
glasgow_coma_score                              False
blantyre_coma_score                             False
heart_rate_bpm                                  False
mid_upper_arm_circumference_cm                  False
oxygen_saturation_percent                       False
fio2_percent                                    False
pao2_mmHg                                       False
pco2_mmHg                                       False
pH                                              False
respiratory_rate                                False
richmond_agitation-sedation_scale               False
riker_sedation-agitation_scale                  False
temperature_celsius                             False
diastolic_blood_pressure_mmHg                   False
mean_arterial_blood_pressure_mmHg               False
systolic_blood_pressure_mmHg                    False
pneumonia                                       False
altered_consciousness_confusion                 False
bleeding                                        False
conjunctivitis                                  False
cough_with_haemoptysis                          False
cyanosis                                        False
ear_pain                                        False
feeding_intolerance_pediatrics                  False
hepatomegaly                                    False
inability_to_walk                               False
irritability_pediatrics                         False
lower_chest_wall_indrawing                      False
lung_sounds                                     False
lymphadenopathy                                 False
severe_dehydration                              False
skin_ulcers                                     False
sore_throat                                     False
sternal_capillary_refill_time_greater_2s        False
wheezing                                        False
heart_sounds                                    False

@pipliggins pipliggins merged commit 22c5e87 into main Nov 7, 2023
3 checks passed
@sadiekelly
Copy link
Collaborator

@ekamau @sadiekelly - the reason the most recent edits are failing (or at least one of them) is that you're trying to add context notes to the subject table, which doesn't allow them. I wasn't present for the discussion about where to put vaccination data (subject vs observation) but if we think context notes are important, vaccinations will have to become observations. Otherwise we can update the docs to say that if a single date is provided, it should be the date of the most recent dose (if that's correct?).

Adding context to the subject table doesn't feel like a sensible option to me - as a wide format table this would just look like another column (e.g. vaccination_context) which we haven't done for other attributes and if we open that up as an option, it could all get out of hand (where would it stop!). For now I think we should just ignore the context, I'll comment it out in the parser so we can retain the info. When moving to OMOP/ our eventual data storage option, we can re-evaluate whether the way the vaccination data is stored allows for context-like notes.

@pipliggins @ekamau thanks! I think this sounds sensible. Maybe add an explanation in the docs that the vaccination dates are not necessarily inclusive of all received doses; a single date would often be the date of most recent dose but we don't know for sure, a second dose date may have been missed or unknown at the time of data collection

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

Successfully merging this pull request may close these issues.

3 participants