Adding Patient Portal Document Templates to OpenEMR Patient Documents

I can see that one may render fields such from a variety of sources, such as:

  • {LBFxxx:fieldid} (data from the specified field of a LBF instance)
  • {DEM:fieldid} (data from the specified field of patient demographics)
  • {HIS:fieldid} (data from the specified field of patient history)

How does one create a form for the patient portal, such as a medical history, that ties responses back to the patient record rather than being read-only, or simply a value that exists only in the context of the form?

For instance, given the Layout “History”, my requirement is to create an array of checkboxes or dropdown lists for the portal user to select that will be populated by the list of risk factors from {usertext11}. The ideal outcome is that the user responds to each question, and once they have completed the form and it has been charted, medical history automatically updates each list item within risk factors i.e. {usertext11} to reflect their answers.

1 Like