In hospital, a high quality of nurse rostering schedule can reduce medical cost and improve staff morale and enthusiasm. So the model of this study consists of two parts. First, we count kinds of patients and nurses manpower by patient classification systems. Second, we focus on building a nurse rostering schedule to maximize the nurses satisfaction, using 0-1 integer programming to construct mathematical model of shift and day-off assignment. Finally, the model was developed to create an initial optimal schedule which will be as a base for practical nurses scheduling by Excel VBA and Lingo package. The results show that the model is better than traditional shift scheduling method and can operate more efficiency in real applications.