The invention provides a data coding unification method for a hospital heterogeneous 
system, which comprises the following steps of: creating an index 
library, importing standard data, setting standard codes in the standard data, and creating an index 
library corresponding to the standard data; importing the 
source data of the hospital heterogeneous 
system, wherein to-be-unified codes are arranged in the 
source data; unifying the codes, wherein the 
source data matches with the index 
library to establish a mapping relation between the standard codes and the codes to be unified. The invention relates to a data coding unification 
system of a hospital heterogeneous system, electronic device and a readable storage medium. According to the method, the source data codes of the heterogeneous systems can be compared with the unified standard codes, the heterogeneous data codes are converted into the unified standard codes to be stored and applied, 
data mapping can be rapidly positioned and completed, the indexing efficiency is high, 
information exchange between the heterogeneous systems is achieved, and high-efficiency operation management of hospitals is facilitated.