anchor.diff:  ,,"boolean","basic_emoc_need_upgrade","Basic EmOC needs upgrade",,"d['emoc_antibiotics'] and (d['emoc_oxytocin'] or d['emoc_misoprotol']) and d['emoc_nurse_midwife_24_7']",,,,,,
   ,,"float","health_facility_rating","Total Health Facility Rating",,"sum_non_null_values(d,['health_infrastructure_rating','health_staffing_rating','health_access_rating','health_maternal_health_rating','health_child_health_rating','health_disease_rating'])",,,,,,
   ,,"float","target_health_facilities_basic_emoc","Target for health facilities with Basic EmOC",,"d['pop_population'] / 20000.0",,,,,,
  -,,"boolean","emergency_transport_currently_functioning","Has access to emergency transportation that is currently functioning",,"d['equipment_emergency_transport'] and d['public_transport_funct_yn']",,,,,,
   ,,"boolean","is_primary_care","Primary care facility (excluding health post & dispensaries)",,"d['facility_type'] in ['primaryhealthclinic', 'primaryhealthcarecentre', 'wardmodelprimaryhealthcentre', 'comprehensivehealthcentre', 'maternity']",,,,,,
   ,,"boolean","is_all_primary_care","Primary care facilitites (including health posts & dispensaries)",,"d['facility_type'] in ['primaryhealthclinic', 'primaryhealthcarecentre', 'wardmodelprimaryhealthcentre', 'comprehensivehealthcentre', 'maternity', 'healthpost', 'dispensary']",,,,,,
   ,,"boolean","is_hospital","Hospital",,"d['facility_type'] in ['cottagehospital', 'teachinghospital', 'teachinghospital', 'federalmedicalcentre', 'generalhospital', 'specialisthospital']",,,,,,
  
positive.code: ,,"float","health_infrastructure_rating","Health Infrastructure Rating",,"sum_non_null_values(d,['water_access','power_access','improved_sanitation','mobile_signal_funct_yn'])",,,,,,
  ,,"boolean","skilled_birth_attendant","Skilled Birth Attendant",,"d['num_doctors_fulltime'] > 0 or d['num_nurses_fulltime'] > 0 or d['num_midwives_fulltime'] > 0 or d['num_nursemidwives_fulltime'] > 0",,,,,,
  ,,"boolean","adequate_chews","Adequate number of CHEWs",,"d['num_chews_fulltime'] > 0",,,,,,
  ,,"boolean","health_adequately_staffed","Health facility adequately staffed in past month",,"d['days_facility_understaffed']>5",,,,,,
  ,,"boolean","health_no_user_fees","Health facilities with no user fees",,"not d['paid_services_routine_visit']",,,,,,
  ,,"float","health_staffing_rating","Health staffing rating",,"sum_non_null_values(d,['adequate_chews','health_adequately_staffed','staff_paid_lastmth_yn'])",,,,,,
  ,,"float","num_med_staff","Number of skilled medical staff ",,"d['num_chews_fulltime'] > 0",,,,,,
  ,,"boolean","emoc_services","Emergency Medical Obstetric Services",,"d['days_facility_understaffed']>5",,,,,,
  ,,"boolean","emergency_transport_or_close_to_referral","Emergency Transport or within 10KM of Referral Facility",,"not d['paid_services_routine_visit']",,,,,,
  ,,"float","health_access_rating","Health Access Rating",,"sum_non_null_values(d,['facility_open_247_yn','all_weather_road_yn','health_no_user_fees','emergency_transport_or_close_to_referral'])",,,,,,
  ,,"boolean","maternal_health_delivery_services_24_7","Delivery Services 24/7",,"d['compr_oc_available_24_7'] or d['emoc_available_24_7']",,,,,,
  ,,"float","health_maternal_health_rating","Maternal Health Rating",,"sum_non_null_values(d,['emoc_services','family_planning_yn','emergency_transport_or_close_to_referral','antenatal_care_yn','maternal_health_delivery_services_24_7','paid_services_anc_delivery'])",,,,,,
  ,,"boolean","child_health_routine_immunization","Child Routine Immunization",,"d['child_health_bcg_immunization'] and d['child_health_opv_immunization'] and d['child_health_dpt_immunization']",,,,,,
  ,,"boolean","no_user_fees_child_health","No user fees for child health",,"not d['paid_services_child_health']",,,,,,
  ,,"float","health_child_health_rating","Child Health Rating",,"sum_non_null_values(d,['child_health_routine_immunization','child_health_growth_monitor','malaria_treatment_yn','child_health_deworming','no_user_fees_child_health'])",,,,,,
  
negative.code: ,,"float","num_health_facilities_functioning_mobile_and_coverage","Number of health facilities with functioning mobile phone and coverage on premises",,,,"functioning_mobile_phone_and_coverage","count_true","health",,
  ,,"float","num_health_facilities_potable_water_past_mth","Number of health facilities with access to potable water in past month",,,,"potable_water_access","count_true","health",,
  ,,"float","num_primary_health_facilities","Number of primary health facilities (excluding health posts and dispensaries)",,,,"is_primary_care","count_true","health",,
  ,,"float","num_comprehensive_primary_care",,,,,"is_comprehensive_care","count_true","health",,
  ,,"float","num_all_primary_health_facilities","Number of primary health facilities (including health posts and dispensaries)",,,,"is_all_primary_care","count_true","health",,
  ,,"float","num_not_basic_care",,,,,"is_basic_care","count_false","health",,
  ,,"float","num_health_facilities_with_functioning_improved_sanitation","Number of health facilities with improved sanitation",,,,"improved_sanitation_and_functional","count_true","health",,
  ,,"float","num_health_facilities_power_access_and_functional","Number of health facilities with power that is working",,,,"power_access_and_functional","count_true","health",,
  ,,"float","num_health_facilities_with_min_equipment_package","Number of health facilities with the minimum equipment package",,,,"minimum_equipment_package","count_true","health",,
  