anchor.diff:  ,,"boolean","Institutional_delivery_only","Institutional delivery only",,"d['emoc_none'] and d['skilled_birth_attendant']",,,,,,
   ,,"boolean","basic_emoc_fully_functional","Basic EmOC is fully functional",,"d['emoc_available_24_7'] and d['emoc_parenteral1'] and d['emoc_transport_referrals'] and d['power_access'] and d['emoc_uterotonic2'] and d['emoc_four_midwives'] and d['emoc_parenteral_anticonvulsant'] and d['emoc_forceps'] and d['emoc_vacuum_extractor'] and d['emoc_antishock_garment']",,,,,,
   ,,"float","target_health_facilities_basic_emoc","Target for health facilities with Basic EmOC",,"d['pop_population'] / 20000.0",,,,,,
  +,,"float","target_health_facilities_institutional_delivery_only",,,"(d['pop_population'] / 20000.0) + 1",,,,,,
   ,,"boolean","comprehensive_emoc_need_upgrade","Comprehensive EmOC needs upgrade",,"d['compr_oc_c_sections'] and (d['compr_oc_one_nursemidwife_24hr'] or d['num_doctors_fulltime'] >= 1)",,,,,,
   ,,"boolean","comprehensive_emoc_fully_functional","Comprehensive EmOC is fully functional",,"d['compr_oc_available_24_7'] and d['compr_oc_antibiotics'] and d['compr_oc_oxytocin'] and d['compr_oc_misoprotol'] and d['power_access'] and d['compr_oc_antishock_garment'] and d['compr_oc_transport_referrals'] and d['compr_oc_suction_machine'] and d['compr_oc_four_midwives'] and d['compr_oc_blood_transfusions'] and d['compr_oc_c_sections'] and d['emoc_parenteral1'] and d['emoc_parenteral_anticonvulsant'] and d['emoc_forceps']",,,,,,
   ,,"float","target_health_facilities_comprehensive_emoc","Target for health facilities with Comprehensive EmOC",,1,,,,,,
  -,"ASK MARISSA","float","target_Institutional_delivery_only","Target for basic institutional delivery",,"None",,,,,,
   ,,"float","target_health_facilities_functioning_emergency_transport","Target for health facilities with access to emergency transport that is currently functioning",,"d['target_health_facilities_basic_emoc'] - 1",,,,,,
   ,,"boolean","functioning_mobile_phone_and_coverage","Functioning mobile phone and coverage on the premises",,"d['info_tech_available_mobile'] and d['mobile_phone_funct_yn'] and d['info_tech_available_coverage']",,,,,,
   ,,"boolean","improved_sanitation_need_upgrade","Improved sanitation that needs upgrade or repair",,"d['improved_sanitation'] and d['improved_sanitation_not_functioning']",,,,,,
  
positive.code: ,,"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']",,,,,,
  
negative.code: ,,"boolean","power_source_functional","Power is functioning","Power is functioning","d['days_no_electricity']<=7",,,,,,
  ,,"boolean","power_access_and_functional","Power source that is currently functional","Has power and it has been working at least 3 weeks in the past month","d['power_access'] and d['power_source_functional']",,,,,,
  ,,"boolean","water_access","Access to Water",,"not d['water_sources_none']",,,,,,
  ,,"boolean","water_source_functional","Working Condition","Working condition of water source","d['days_no_water_pastmth']<=7",,,,,,
  ,,"boolean","water_access_and_functional",,,"d['water_access'] and d['water_source_functional']",,,,,,
  ,,"boolean","improved_sanitation","Improved Sanitation",,"d['toilet_types_vip_latrine'] or d['toilet_types_pit_w_slab']",,,,,,
  ,,"boolean","improved_sanitation_not_functioning","Improved sanitation but not functional",,"d['flush_toilet_not_working']>=7 or d['vip_latrine_not_working']>=7 or d['slab_pit_latrine_not_working']>=7",,,,,,
  ,,"boolean","improved_sanitation_functioning","Functional improved sanitation",,"d['flush_toilet_not_working']<7 or d['vip_latrine_not_working']<7 or d['slab_pit_latrine_not_working']<7",,,,,,
  