Exporting patient's data from FreeMedForms & UTF8

Post Reply
User avatar
jerome
Posts: 150
Joined: 29 October 2013, 08:58
Location: Marseille
Contact:

Exporting patient's data from FreeMedForms & UTF8

Post by jerome » 26 March 2014, 20:03

Hello!

I'd like to improve formexporter.cpp

Html export of Captain ARCHER Jonathan sample file creates a .html document that is not html5 compliant.

The document start directly with

Code: Select all

<style type="text/css"> .__ident__formContent { ...
It can be visualized in a browser but hyphenated words in french are not rendered correctly.

Solution is to add a html5 wrapper around the document with UTF-8 declaration:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Title of the document</title>
</head>

<body>
Content of the document......
</body>

</html>
Then any browser in the world, and supposedly any health professional or patient in the world, could read the file without any problem.

Title of the document could be set as the name of the patient with DoB.

Eric can you give me hints about how to do that? I'll try to code it on my own! ;)

Thank you.

User avatar
eric
Administrateur
Posts: 116
Joined: 28 September 2013, 11:27
Contact:

Re: Exporting patient's data from FreeMedForms & UTF8

Post by eric » 20 April 2014, 20:44

Ok I'll give some hints. Please ping me by mail.

Post Reply