Somehow the knowledge and technologies for this and the start occur, say during the reign of Aegon The Unworthy
This new knowledge and technology and even infrastructure gradually increases things like literacy rates and childbirth rates and workplace safety and health awareness
For technology...