Patient templates - capture data into openEMR tables?

@sjpadgett
Hi Jerry. I know you’ve been pondering, for a long time, how to allow a document template sent to a patient in the portal, to capture data into the openemr tables when completed/submitted. I suppose this could be done if specific template tags could be bound to fields in some table. Just wondering if you have any timeline in mind for offering this kind of functionality
Thanks

  • Hank

I have already started the process over a year ago when Brady pointed out a security issue in the way I was transmitting form data to the back end. So to fix I now parse any template rendered and submitted to a json object of the question/answer pairs and save the object.
All that is left is for me to come up with a storage schema on the back end.

So, that’s good news, huh?

Great! Looking forward to seeing more of this creation :blush:

Is there a way to preview a template, to see how it looks with all the field codes turned into their actual controls? Only way I know to do this is to assign it to a patient and open it in the patient portal. The preview option in cke editor doesn’t do what I’m asking about. Thanks

No but needed for sure. So many things I want to do but never seem to have time.
Maybe I’ll work on today as it dovetails in with what I’m doing.