HTML electronic medical record paging algorithm
The invention relates to the technical field of medical information systems, and discloses an HTML (Hypertext Markup Language) electronic medical record paging algorithm, which comprises the following steps of: firstly, traversing all elements in an HTML, acquiring HTML medical record contents edite...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to the technical field of medical information systems, and discloses an HTML (Hypertext Markup Language) electronic medical record paging algorithm, which comprises the following steps of: firstly, traversing all elements in an HTML, acquiring HTML medical record contents edited by a doctor before printing an electronic medical record, calculating the width and the height of each page of content according to paper selected by the doctor, and transmitting the width and the height into an algorithm function to carry out HTML paging cutting; a rendering container is constructed preferentially according to the width and height of the paper and used for filling the content; after the rendering container is constructed, all elements in the HTML are traversed and placed in the container, and if the height of the content of the element placed in the container exceeds the height of the container, the element is segmented to the next page; performing paging processing on various elements of the ta |
---|