Closed njogz closed 1 year ago
Steps for AT testing:
{ "patient_id": "<generated_uuid>", "callback_url": "<a_URL_where_the_status_should_be_sent>" }
http://localhost:5001/mediator/service-request
Sync now
menu which is the first item on the hamburger menu on the top right of your screen.Thanks for the clarifications @njogz! I got to step n. 2 so far. 😅
This ensures that the patient is also created in the FHIR database.
How can we check that the patient is created in the FHIR Database? I think sharing the relevant URLs would be very helpful.
@andrablaj you can have a look at the openHIM admin console at http://localhost:9000
. The transaction log will have the requests and there should be one to a fhir/Patient
endpoint and the response should be a 201 with the FHIR resource that was created.
@njogz @samuelimoisili @lorerod I will share here the steps I followed to try to reproduce the flow in this ticket:
https://*****.my.local-ip.co/#/contacts/someUUID/report/interop_follow_up
and to retrieve correctly the follow up form.README
.fhir/Patient
resource creation in the Transaction log of Admin Console. However, I am unable to see that resource creation in the log at this point.
http://localhost:5001/mediator/service-request
. The body should look like this:
{
"patient_id": "uuid-of-the-patient-previously-created",
"callback_url": "https://interop.free.beeceptor.com/callback"
}
I stopped here as I didn't manage to have the patient creation work properly in step 6.
Any configuration that I might have missed that is not yet documented in this ticket?
@njogz @samuelimoisili I'm having the same issue as @andrablaj
26-create-subscription-resource
branch and following the README GET http://localhost:5001/mediator/
and got a 200 ok
with body
{
"status": "success"
}
fhir/Patient
resource creation in the Transaction log of Admin Console. This is what I see:http://localhost:5001/mediator/service-request
:
{ "patient_id": "c4d3e29f-e908-49ea-82d9-099421eb138a",
"callback_url": "https://interop.free.beeceptor.com/callback" }
And I got 500 Interval Server Error
as response.
Maybe we are missing some configuration in the CHT?
@andrablaj @lorerod there was a misconfiguration in the cht-config that I have since fixed. The request for creating a patient should work now.
This will enable the requesting system to be notified once a follow up request has been done.