Clinical history documents with an electronic signature, created with phpdocx.
Medical Center clinical history documents with phpdocx
With the data from the database, documents are created from the template substituting the placeholders . Three methods are used to replace them: replaceVariableByText, replaceTableVariable and replaceListVariable. The following code snippet shows how data is included in the template.