-
Notifications
You must be signed in to change notification settings - Fork 16
Referrals record creation; #51
Comments
The UI is doing something very strange that you need to fix first. When you click the Create button, it sends this to the middle tier GET http://dev.ripple.foundation/api/patients/9999999000/referrals/undefined |
On clicking the Save button, after getting the response back for the referrals new Post request, the UI sends the following requests to the middle tier - I understand (2) but don't understand why you send (1) and (3):
|
It would appear that referrals are being posted on Marand by the middle tier. As a result of what's being sent by the UI, this is what is sent to Marand: { The resulting response being returned by Marand is an error: response from marand: { We need to figure out from Ian why this is failing Rob |
From Ian: 4 things are missing: service_request:0/request:0/service_name": "", is mandatory - can't be skipped "request_for_service/referral_details/service_request:0/request:0/timing": "", but you can put anything in there. It is mandatory GTS timing string but is universally ignored!! "request_for_service/referral_details/service:0/service_name": "" mandatory - should be the same as for service_request:0/request:0/service_name": "", This is the object that tracks the status of the service - in this case it is just saying that the service has been requested and finally "request_for_service/referral_details/service_request:0/narrative": "", This is a mandatory field and is intended to carry a simple narrative summary of the request. I'll see what I can fix up in the middle tier to satisfy these requirements Rob |
OK referrals should be working now. They're being posted to Ethercis now |
@robtweed thanks for the update, I've given it a go just now and attach the screenshot of errors I recorded. @dkryvosheya UI level issues? |
@PhilBarrett not experiencing those - we've patched it up on Friday, so it can be a caching issue. Try to open dev.tools, right-click on the refresh icon on the left of URL bar, and select 'Clear cache and hard reload', and observe if there are errors, thanks! |
Dmitry - did you update the UI on Showcase? |
Yes, both showcase and dev are updated; |
@PhilBarrett we need to retest this one.. thanks |
Hi, Rob!
After creation of the referral record, we're getting 200 - saved - response (http://prntscr.com/g47bzg, http://prntscr.com/g47c7v) - but, the list of records is not updated afterwards (before and after creation of the record it stays as 29 records total: http://prntscr.com/g47ckk);
The text was updated successfully, but these errors were encountered: