REST request to retrieve a value from an external source

Thanks, Stephane. I had thought of this already, but immediately dismissed it, because it would mean that I have to store the full patient database on the tablet, which is too much of a security risk when the tablet “disappears”.

For the simplified case I described (“patient exists”), a hash would be enough, but in the real application I need to retrieve the details of the patient as a feedback to the interviewer.

There are much more basic applications around (e.g. breezingforms in Joomla) that allow inserting JQuery Ajax into a field, but I am aware that this will not generalize well enough for the non-connected case.

Still thinking about some solution that would only transfer one patient’s data on request,

Just in case someone has another idea, here the full workflow:

  • Interviewer scans the patient’s barcode. No pull of data set
  • Barcode request patient’s details from server, and displays names, dob on all forms to give feedback to interviewer that she is adding additional data from the correct person.
1 Like