Medical Center

  • image
  • image
  • image
  • image

Clinical history documents with an electronic signature, created with phpdocx.

Medical Center clinical history documents with phpdocx

A medical clinic decides to automate the creation of the clinical history of its patients. To do this, an initial template is created with the fields to fill in. The template is shown in the image below.

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.

This is the first page output of a sample patient:

This is the second page output of a sample patient:

When the document with the data is created, an electronic signature is added to guarantee its content hasn't been changed by not authorized users: