The data is transformed into the HL7-CDA structure (as
described in Section 3.1) through a series of mapping and
text manipulation processes. Firstly, the standard values (e.g.
patient name, patient ID, birth date, consultation date and
time, health provider information, etc.) are mapped to the
corresponding field in the CDA document. Next, the clinical
note details (as shown in Fig. 7) is taken apart, analyzed and
arranged in a tree structure, and subsequently re-organized
according to the knowledge-level data definition as described
in Section 3.1. The transformation is achieved with dedicated