Fix MediCal, implement application writing with test
Fix sex issue