title: An algorithm to manage variable-length records for highly portable clinical data base systems.
abstract: An algorithm to archive patient data at free size in disk storage is presented. A record, assumed to be a character string such as an ASCII-coded text, is compressed and divided into fixed-length blocks. One block consists of a data field and a pointer field, and the blocks comprising a record are chained with pointers forwardly. A head pointer of each record is sequentially saved on a separate file. The data compression is performed as follows: if the same character code appears more than twice in succession, we count the number of the repetitions and save it with initial two characters. The algorithms for fetching, re-saving, and purging a record are also presented. These were implemented in FORTRAN77 and tested for performance using a practical patient data file. As the algorithm allows highly flexible record manipulation and can easily be implemented in conventional programming languages, it will make a useful tool for constructing a portable data base management system.
mesh_terms: D005069:Evaluation Studies as Topic; D005568:Forms and Records Control / Q000379:methods*; D007256:Information Systems; D008433:Mathematics; D008499:Medical Records; D009817:Office Management / Q000379:methods*; D012984:Software