Limited Resource Allocation in a Non-Markovian World: The Case of Maternal and Child Healthcare