...
Documents that a client needs to receive as a result of an order should be send in POST request to endpoint.
This is an example URL: https://appapi.smartadvocate.com/sasvc/SAWebService.svc/Retrieval/Documents
Note that it will be generally different for different clients (SaaS clients can share the same URL).
...
PUT request should be send to endpoint: https://appapi.smartadvocate.com/sasvc/SAWebService.svc/Retrieval/MedicalRequests/StatusUpdate
Code Block |
---|
[ { "RecordId": 30983, "Status": "Progress" }, { "RecordId": 473, "Status": "Completed" }, { "RecordId": 655, "Status": "Canceled" }, { "RecordId": 98547, "Status": "No Records" }, { "RecordId": 98547, "Status": "Rejected" } ] |
...
Invoice for service should be send in POST request to endpoint: https://appapi.smartadvocate.com/sasvc/SAWebService.svc/Retrieval/MedicalRequests/Invoice
It will create a records in case Disbursements (costs) section.
...
Sending Invoices (costs) to SmartAdvocate (Alternative Interface without RecordID)
https://appapi.smartadvocate.com/sasvc/SAWebService.svc/Retrieval/MedicalRequests/Invoice
JSON structure:
Code Block |
---|
[{ "CaseNumber": "9000002", "CaseID": 3256, "Type": "Medical Records", "InvoiceNo": "123456P", "InvoiceDate": "2020-05-26T00:00:00", "Amount": 1235.99, "Comments": "test", "DueDate" : "2020-05-26T00:00:00", "Description": "Smithtown hospital X-Ray", "PayeeName": "Best Retrieval Provider" }] |
...
Message should be send in POST request to endpoint: https://appapi.smartadvocate.com/sasvc/SAWebService.svc/Retrieval/MedicalRequests/Message
JSON structure:
Code Block | ||
---|---|---|
| ||
[ { "RecordID": 123465, "Message": "test" } ] |
...
Message should be send in POST request to endpoint: https://appapi.smartadvocate.com/sasvc/SAWebService.svc/Retrieval/MedicalRequests/RequestNote
JSON structure:
Code Block | ||
---|---|---|
| ||
[ { "RecordID": 123465, "Message": "test" } ] |
...
Message should be send in PUT request to endpoint: https://appapi.smartadvocate.com/sasvc/SAWebService.svc/Retrieval/MedicalRequests/RequestNote
JSON structure:
Code Block | ||
---|---|---|
| ||
[ { "RecordID": 123465, "Message": "test" } ] |
...
Retrieval service Order Id (number) should be send in POST request to the endpoint: https://appapi.smartadvocate.com/sasvc/SAWebService.svc/Retrieval/MedicalRequests/InsertOrderID
JSON structure:
Code Block | ||
---|---|---|
| ||
[ { "RecordId": 11585, "OrderId": "123xyz" } ] |
...
POST request should be send to the endpoint: https://appapi.smartadvocate.com/sasvc/SAWebService.svc/Retrieval/MedicalRequests/Copy
JSON structure:
Code Block | ||
---|---|---|
| ||
{ "RecordId":11585, "OrderId":"123xyz3", "Message":"test copy", "Status":"Completed" } |
...