The invention provides a medical management system based on a block chain. The system comprises a block chain subsystem, an identity authentication subsystem, an intelligent contract subsystem and anEMR subsystem. The block chain subsystem is used for storing partial electronic medical recording information, verification abstracts and electronic medical recording indexes and is compatible with anoriginal electronic medical recording (EMR) system; the identity authentication subsystem is used for user registration, safety certification and key management; the intelligent contract subsystem isused for achieving the functions of government (National Health and Family Planning Commission of the People's Republic of China) medical data monitoring management, prescription authentication, prescription medicine purchasing, medical insurance compensation and patient medical record authentication and sharing. The medical management system based on the block chain provides tools for writing, combination, formation verification and generation of an intelligent contract, and through a formation method, the full life circle of description, modelling, verification, generation and execution ofthe intelligent contract is managed; the EMR subsystem is used for storing a specific medical treatment record and providing service of management and querying for the electronic medical record.