The development of a new system for medical database application running on minicomputer under MUMPS system is described. Two kinds of data representation in global structure are briefly reviewed. The use of a subject oriented multi-dimensional data structure greatly simplifies database design and facilitates data manipulation, organization, selective retrieval and software development. It is concluded that the program generator approach can provide the flexibility necessary for various applications and future growth of computerized medical record system. The final system has been proven effective in practical operation. The future extension concerns the introduction of multi-microprocessor structure and logic representation is presented.