code for vital statics