How to insert HTML form data via API

Hi, I want to insert xRay result from my custom xray application to openmrs HTML form.

But I don’t find sufficient documentation to understand clearly. If anyone have experience on this criteria please give me sample code or example.

Thanks in ADVANCE,


Are they X-ray images that you want to submit to OpenMRS?

no, not images. Just results. Form looks like:

How can I do this? Should I’ve to use encounter api and insert encounter data against this form encounter ?

Did you get a chance to look at this?

Yes I saw it. But I’ve to send data via API. Because I tried to made an automation process.

Did you take a look at the obs resource of the rest webservices module? Here are some test examples: