This is an example for using the data-modifier addition tool and the data-modifier-assignment addition tool.
RESPIRATORY MINOR SYSTEM -> trachea_and_bronchi

SYMPTOMS (to check later)



STEP 1: Determine the diagnosis names for the diagnoses of the minor system (Content Manager)

"diagnosis"
? "symptom" - to check later
! "other diagnosis to include" (i.e. scars)
# "new type of diagnosis modifier" (such an numeric)
- "diagnosis modifier" - details


"bronchiectasis"
? "Blood-tinged sputum"
? "Daily productive cough"
? "Intermittent productive cough"
? "Near constant findings of cough"
? "Weight loss"
# predicted FEV1    (used to calculate
# actual FEV1        fev1PercentPredicted)
# predicted FVC    (used to calculate
# actual FVC        fev1fvcRatio)
# predicted DLCO_SB    (used to calculate
# actual DLCO_SB        predictedPercentDLCO_SB)
# maxOxygenConsumption_mlkgmin
# respiratoryConsideration
- "acute_infection" - "Acute infection"
- "anorexia" - "Anorexia
- "hemoptysis_frank" - "Frank hemoptysis"
- "incapacitating_episodes_two_to_six_weeks_total" - "Incapacitating episodes of infection of at least six weeks total duration per year",
                                           "Incapacitating episodes of infection of four to six weeks total duration per year",
                                           "Incapacitating episodes of infection of two to four weeks total duration per year"
- "sputum_purulent" - "Purulent sputum"
- "antibiotic_use" - "Requires prolonged (lasting four to six weeks) antibiotic usage more than twice a year",
                     "Requiring a course of antibiotics at least twice a year",
                     "Requiring antibiotic usage almost continuously"
- "cor_pulmonale" - "Cor pulmonale"
- "acute_respiratory_failure" - "Episode(s) of acute respiratory failure"
- "pulmonary_hypertension" - "Pulmonary hypertension shown by cardiac catheterization",
                             "Pulmonary hypertension shown by echocardiogram"
- "outpatient_oxygen_therapy" - "Requires outpatient_oxygen_therapy"
- "heart_failure_right" - "Right heart failure"
- "ventricular_hypertrophy_right" - "Right ventricular hypertrophy"


"bronchitis_chronic"
# predicted FEV1    (used to calculate
# actual FEV1        fev1PercentPredicted)
# predicted FVC    (used to calculate
# actual FVC        fev1fvcRatio)
# predicted DLCO_SB    (used to calculate
# actual DLCO_SB        predictedPercentDLCO_SB)
# maxOxygenConsumption_mlkgmin
# respiratoryConsideration
- "cor_pulmonale" - "Cor pulmonale"
- "acute_respiratory_failure" - "Episode(s) of acute respiratory failure"
- "pulmonary_hypertension" - "Pulmonary hypertension shown by cardiac catheterization",
                             "Pulmonary hypertension shown by echocardiogram"
- "outpatient_oxygen_therapy" - "Requires outpatient_oxygen_therapy"
- "heart_failure_right" - "Right heart failure"
- "ventricular_hypertrophy_right" - "Right ventricular hypertrophy"

"chronic_obstructive_pulmonary_disease"
# predicted FEV1    (used to calculate
# actual FEV1        fev1PercentPredicted)
# predicted FVC    (used to calculate
# actual FVC        fev1fvcRatio)
# predicted DLCO_SB    (used to calculate
# actual DLCO_SB        predictedPercentDLCO_SB)
# maxOxygenConsumption_mlkgmin
# respiratoryConsideration
- "cor_pulmonale" - "Cor pulmonale"
- "acute_respiratory_failure" - "Episode(s) of acute respiratory failure"
- "pulmonary_hypertension" - "Pulmonary hypertension shown by cardiac catheterization",
                             "Pulmonary hypertension shown by echocardiogram"
- "outpatient_oxygen_therapy" - "Requires outpatient_oxygen_therapy"
- "heart_failure_right" - "Right heart failure"
- "ventricular_hypertrophy_right" - "Right ventricular hypertrophy"

"emphysema_pulmonary"
# predicted FEV1    (used to calculate
# actual FEV1        fev1PercentPredicted)
# predicted FVC    (used to calculate
# actual FVC        fev1fvcRatio)
# predicted DLCO_SB    (used to calculate
# actual DLCO_SB        predictedPercentDLCO_SB)
# maxOxygenConsumption_mlkgmin
# respiratoryConsideration
- "cor_pulmonale" - "Cor pulmonale"
- "acute_respiratory_failure" - "Episode(s) of acute respiratory failure"
- "pulmonary_hypertension" - "Pulmonary hypertension shown by cardiac catheterization",
                             "Pulmonary hypertension shown by echocardiogram"
- "outpatient_oxygen_therapy" - "Requires outpatient_oxygen_therapy"
- "heart_failure_right" - "Right heart failure"
- "ventricular_hypertrophy_right" - "Right ventricular hypertrophy"


STEP 2: Determine the diagnosis modifiers needed for each diagnosis (Usage Guide)

Listed above


STEP 3: Determine which diagnosis modifiers already exist (Content Manager)

None already exist


STEP 4: Create the data for the diagnosis modifiers which DO NOT exist in the Content Manager (NEW DIAGNOSIS MODIFIERS TO ADD section below)


STEP 5: Create the data for the diagnosis modifier assignments (NEW DIAGNOSIS MODIFIER ASSIGNMENTS TO ADD section below)


STEP 6: Place this file into the develop branch (we need a process for non-programmers to do this)


STEP 7: Have a programmer copy the addition sections from this file into the appropriate utility tools and run them.



NEW DIAGNOSIS MODIFIERS TO ADD

["diagnosis_modifier_name", "diagnosis_modifier_label", "diagnosis_modifier_type", ["diagnosis_modifier_choice_value_list"]

"diagnosis_modifier_type" is one of "checkbox", "radio", "single_select", "multi_select"


["acute_infection","","checkbox",["The Veteran suffers from an acute infection associated with this condition"] ],
["anorexia","","checkbox",["The Veteran suffers from anorexia associated with this condition"] ],
["hemoptysis_frank","","checkbox",["The Veteran exhibits frank hemoptysis associated with this condition"] ],
["incapacitating_episodes_two_to_six_weeks_total","","single_select",
      ["Incapacitating episodes of at least six weeks total duration per year",
       "Incapacitating episodes of four to six weeks total duration per year",
       "Incapacitating episodes of two to four weeks total duration per year"   ] ],
["sputum_purulent","","checkbox",["The Veteran exhibits purulent sputum associated with this condition"] ],
["antibiotic_use","","single_select",["Prolonged (lasting four to six weeks) antibiotic usage more than twice a year",
                                      "A course of antibiotics at least twice a year",
                                      "Antibiotic usage almost continuously"                                           ] ],
["cor_pulmonale","","checkbox",["The Veteran exhibits cor pulmonale associated with this condition"] ],
["acute_respiratory_failure","","checkbox",["The Veteran has experienced episode(s) of acute respiratory failure"] ],
["pulmonary_hypertension","","multi_select",["Pulmonary hypertension shown by cardiac catheterization",
                                             "Pulmonary hypertension shown by echocardiogram"           ] ],
["outpatient_oxygen_therapy","","checkbox",["The Veteran requires outpatient oxygen therapy"] ],
["heart_failure_right","","checkbox",["The Veteran is suffering from right heart failure associated with this condition"] ],
["ventricular_hypertrophy_right","","checkbox",["The Veteran is suffering from right ventricular hypertrophy associated with this condition"] ]







NEW DIAGNOSIS MODIFIER ASSIGNMENTS TO ADD

["diagnosis_modifier_assignment_name" ,
"diagnosis_modifier_assignment_label" ,
"diagnosis_name" ,
"diagnosis_modifier_name" ],


["bronchiectasis_acute_infection" ,
"" ,
"bronchiectasis" ,
"acute_infection" ],
["bronchiectasis_anorexia" ,
"" ,
"bronchiectasis" ,
"anorexia" ],
["bronchiectasis_hemoptysis_frank" ,
"" ,
"bronchiectasis" ,
"hemoptysis_frank" ],
["bronchiectasis_incapacitating_episodes_two_to_six_weeks_total" ,
"The Veteran suffers from incapacitating episodes of infection:" ,
"bronchiectasis" ,
"incapacitating_episodes_two_to_six_weeks_total" ],
["bronchiectasis_sputum_purulent" ,
"" ,
"bronchiectasis" ,
"sputum_purulent" ],
["bronchiectasis_antibiotic_use" ,
"The Veteran requires antibiotic treatment for this condition as follows:" ,
"bronchiectasis" ,
"antibiotic_use" ],
["bronchiectasis_cor_pulmonale" ,
"" ,
"bronchiectasis" ,
"cor_pulmonale" ],
["bronchiectasis_acute_respiratory_failure" ,
"" ,
"bronchiectasis" ,
"acute_respiratory_failure" ],
["bronchiectasis_pulmonary_hypertension" ,
"The Veteran suffers from pulmonary hypertension:" ,
"bronchiectasis" ,
"pulmonary_hypertension" ],
["bronchiectasis_outpatient_oxygen_therapy" ,
"" ,
"bronchiectasis" ,
"outpatient_oxygen_therapy" ],
["bronchiectasis_heart_failure_right" ,
"" ,
"bronchiectasis" ,
"heart_failure_right" ],
["bronchiectasis_ventricular_hypertrophy_right" ,
"" ,
"bronchiectasis" ,
"ventricular_hypertrophy_right" ],
["bronchitis_chronic_cor_pulmonale" ,
"" ,
"bronchitis_chronic" ,
"cor_pulmonale" ],
["bronchitis_chronic_acute_respiratory_failure" ,
"" ,
"bronchitis_chronic" ,
"acute_respiratory_failure" ],
["bronchitis_chronic_pulmonary_hypertension" ,
"The Veteran suffers from pulmonary hypertension:" ,
"bronchitis_chronic" ,
"pulmonary_hypertension" ],
["bronchitis_chronic_outpatient_oxygen_therapy" ,
"" ,
"bronchitis_chronic" ,
"outpatient_oxygen_therapy" ],
["bronchitis_chronic_heart_failure_right" ,
"" ,
"bronchitis_chronic" ,
"heart_failure_right" ],
["bronchitis_chronic_ventricular_hypertrophy_right" ,
"" ,
"bronchitis_chronic" ,
"ventricular_hypertrophy_right" ],
["chronic_obstructive_pulmonary_disease_cor_pulmonale" ,
"" ,
"chronic_obstructive_pulmonary_disease" ,
"cor_pulmonale" ],
["chronic_obstructive_pulmonary_disease_acute_respiratory_failure" ,
"" ,
"chronic_obstructive_pulmonary_disease" ,
"acute_respiratory_failure" ],
["chronic_obstructive_pulmonary_disease_pulmonary_hypertension" ,
"The Veteran suffers from pulmonary hypertension:" ,
"chronic_obstructive_pulmonary_disease" ,
"pulmonary_hypertension" ],
["chronic_obstructive_pulmonary_disease_outpatient_oxygen_therapy" ,
"" ,
"chronic_obstructive_pulmonary_disease" ,
"outpatient_oxygen_therapy" ],
["chronic_obstructive_pulmonary_disease_heart_failure_right" ,
"" ,
"chronic_obstructive_pulmonary_disease" ,
"heart_failure_right" ],
["chronic_obstructive_pulmonary_disease_ventricular_hypertrophy_right" ,
"" ,
"chronic_obstructive_pulmonary_disease" ,
"ventricular_hypertrophy_right" ],
["emphysema_pulmonary_cor_pulmonale" ,
"" ,
"emphysema_pulmonary" ,
"cor_pulmonale" ],
["emphysema_pulmonary_acute_respiratory_failure" ,
"" ,
"emphysema_pulmonary" ,
"acute_respiratory_failure" ],
["emphysema_pulmonary_pulmonary_hypertension" ,
"The Veteran suffers from pulmonary hypertension:" ,
"emphysema_pulmonary" ,
"pulmonary_hypertension" ],
["emphysema_pulmonary_outpatient_oxygen_therapy" ,
"" ,
"emphysema_pulmonary" ,
"outpatient_oxygen_therapy" ],
["emphysema_pulmonary_heart_failure_right" ,
"" ,
"emphysema_pulmonary" ,
"heart_failure_right" ],
["emphysema_pulmonary_ventricular_hypertrophy_right" ,
"" ,
"emphysema_pulmonary" ,
"ventricular_hypertrophy_right" ]






