Closed njogz closed 1 year ago
Hi @njogz, I'm trying to test this and have some doubts.
I'm trying with a POST on http://localhost:5001/mediator/patient
with a JSON body containing:{ "name": "Lorena" }
I'm getting 404 - NOT FOUND.
Also, I need help finding instructions on how to connect my CHT instance to the mediator. So I can test all the circuits.
Hi Lorena there is an issue with the OpenHIM forwarding requests to the mediator which is being looked at in this issue. IN the meantime you can call the mediator directly through http://localhost:6000/patient
The bug fix has been fixed and merged, @lorerod you can test this feature now.
Create an endpoint in the OpenHIM mediator that creates a patient in the FHIR server