Lab Test Report List

Use the labTestReports query to get the list of all lab test reports created within the TeleWellness Portal.
This query must be executed within the member query.

Required Argument

Argument Name
Type
Description
memberId
ID
Unique b64 Member ID. Execute the members query to get the member ID

Available fields

The following fields will be displayed in the response:
Field Name
Type
Description
id
id
Lab test report ID
testName
String
Lab test report name
isVisible
Boolean
True if the report is visible. Otherwise, it displays false
reportPdf
URL
Lab test report url
status
String
Lab test report status. Possible values: created, ordered, fulfilled, error, returned_to_lab, or results_ready. For more information, refer to this section.
testDate
DateTime
Date and time when the lab test report was created.

Status field description

Status name
Description
created
Lab test report created
ordered
The order was placed with lab
fulfilled
The kit was shipped to the client
error
There is a problem with the kit
returned_to_lab
The results are returned to the lab
results_ready
The lab tests results are ready
Process complete
There’s processing after the results are ready.

Example

Request
Response
query {
member(id: "TWVtYmVyOjVlZDk5MjMyLWNhMTMtNGE2NS05MmIyLWZjMDk4ZjgyOWUwNA==") {
labTestReports {
edges {
node {
id
testName
reportPdf
isVisible
status
}
}
}
}
}
{
"data": {
"member": {
"labTestReports": {
"edges": [
{
"node": {
"id": "TGFiVGVzdFJlcG9ydDo3MA==",
"testName": "Sugar test",
"reportPdf": "https://storage.googleapis.com/sg-data/lab-test/5ed99232-ca13-4a65-92b2-fc098f829e04/biEd0KdheG7A.pdf?Expires=1643814637&GoogleAccessId=ibucket%40machine-learning-159617.iam.gserviceaccount.com&Signature=nKSJEp5fXSJ9RPhHKf5AK%2F5Nga9P%2FlZi3ZwTkSXesznGVrtfqQ%2BZcig0qswZsugOyyyMgJ6Eyfsb9zZj1R9UGO3bpgPezKXChKY3ygs3%2BbLSoZJyTD7SE8vSDn6uTdhNCrvd4tRojSxEoit%2Fitng%2Ba1V8Q0ErIwkySGIiRJfxKKd04k2doL4MhweU1tpM0xrUXxrW66EQDrmee4CSiF39pBLwrSp0YTgn%2FUj3jmqA88JIJ%2Fl5%2BInsLZ4O0742W00Ew6XQFBEPzLG1DLEYxKRv0DxIAPou7MI56nmSgZ9xdzuVgEsFKn3nNTufihobfqQPK6qs3Q8xZbFOZWdSUHkIQ%3D%3D",
"isVisible": true,
"status": "CREATED"
}
},
{
"node": {
"id": "TGFiVGVzdFJlcG9ydDo2OA==",
"testName": "Sugar test",
"reportPdf": "https://storage.googleapis.com/sg-data/lab-test/5ed99232-ca13-4a65-92b2-fc098f829e04/JSB3xYKEVtbH.pdf?Expires=1643814637&GoogleAccessId=ibucket%40machine-learning-159617.iam.gserviceaccount.com&Signature=KHNSgTQaT%2Fs4%2BzyloAfiuL%2FQeYzXV%2BAxT03j%2FU0qm8LELUzesxF1ZN0zRJJmY6m4RpHZhkXKcSbLrhtTZ3HsENVYPfQxDJ4hApndlWuxTY32W5DyTcRJlJtfB3gu009AGZMAwVXEPA8afAhfq3lsWE0d26iO4u1LjO%2FEAZ%2FstsBAXKxYDHXLKnL8LIrC70dL1Ufw%2FLKU8ZXNxhDFqK6JRzvMLdMgpFrIJDi%2FNybI%2BRRk36w2xBn1ZIfbqk4EhNcwuaAGQVRzMOloG2s7K0HGVCus%2BBu6yphoDe78%2BV1h21TtOpxO4WALUhQgqShFXWJeKuJLnjywg%2BterXXeg%2F26yw%3D%3D",
"isVisible": true,
"status": "CREATED"
}
},
{
"node": {
"id": "TGFiVGVzdFJlcG9ydDozOQ==",
"testName": "Basic Metabolic Panel",
"reportPdf": "https://storage.googleapis.com/sg-data/lab-test/5ed99232-ca13-4a65-92b2-fc098f829e04/qlH3adLcs0K2.pdf?Expires=1643814637&GoogleAccessId=ibucket%40machine-learning-159617.iam.gserviceaccount.com&Signature=igJT12FkKAIHPBhNqrn4dUIDbP9mpwxGkN3AszEvdK3s2JurFmZMo23Mr4ZNS%2BlIHUsZuhrBbUibTk5i3W96nD9uFrM6MWlQUVX%2FDf53vFdgJADf0ErxCtLQqf1unVXq5xDbOtOGSK7AU3rs0PgvOv1BYS1H75d%2B5X1tma4NCvvBkH2z04isL9ScA9HnJgcF21KHwGyRGiMU8r7aaV0HS6K6%2F7n259ME0zwqkC1qQwi6HpdcwN%2BQUdATqKSPNOLPafEQvkOqAJ%2B6nWqJE9D04XhPaNapUg1itSqIqr8eW1%2BA7NlNpKZTauxjYSCfk6MjAhdPAsE2ak%2BpX%2BG7yYHJ3Q%3D%3D",
"isVisible": true,
"status": "CREATED"
}
}
]
}
}
}
}