Workflow
In this guide, we’ll look at how the London Medical Laboratory API works, and how it can fit in with your site.
Selling Tests Online
If you sell tests online through your own website here are the steps you will have to commingly use:
1. Order
You first will create a order consisting of the product ID, quantity, customer details and shipping method
Depending on the shipping method you might also need to send us an onsite appointment, shipping address or phlebotomy appointment and address.
We will reply back with confirmation including an array of Test Registration IDs to use for the future.
2. Register Test
You have a couple of options here, you can either get the user to register the test through our own portal at https://patient.londonmedicallaboratory.com/ or register the patient through our own site and send us a PATCH to update the test registration IDs sent in the original order call.
Depending on the option you want to take, this will adapt the information printed on the Test Registration Form to the patient to direct them to our site or yours
3. Get Results
Once the sample has been sent back to the lab and tested, we will send a webhook to advise you the result is ready. You can then make a call to the lab_result API to retrieve the results.
We offer you the choice of us sending the result, protected via a code sent via SMS combined with a secure link on email to download the result, otherwise we can leave it up to you to consume the result and inform the patient yourself.
Taking Your Own Tests
If you are a GP or doctor and want to integrate with your own systems:
1. Register Test
You can make a simple call to our test_registration API to register a test into our system
2. Get Results
Once the sample has been sent back to the lab and tested, we will send a webhook to advise you the result is ready. You can then make a call to the lab_result API to retrieve the results.
We offer you the choice of us sending the result, protected via a code sent via SMS combined with a secure link on email to download the result, otherwise we can leave it up to you to consume the result and inform the patient yourself.
- Results