The same terms are used to monitor progress towards Sustainable Development Goal 6 (Target 6.2, Indicator 6.2.1) from 2015 onwards.
[3] In 2015 this goal was replaced by Sustainable Development Goal 6, in which Target 6.2 states: "By 2030, achieve access to adequate and equitable sanitation and hygiene for all and end open defecation, paying special attention to the needs of women and girls and those in vulnerable situations."
Indicator 6.2.1 is the "Proportion of population using (a) safely managed sanitation services and (b) a handwashing facility with soap and water".
This is basic sanitation service where excreta is safely disposed of in situ or transported and treated offsite.
[2]: 8 The ladder of sanitation services includes (from lowest to highest): open defecation, unimproved, limited, basic, safely managed.