Use the updateLabTestReport
to update a lab test report assigned to a user.
Available Arguments
Unique ID of the lab test. Execute the labTestReports
query to get the id of a lab test report.
Date and time of the report.
URL of the lab test report.
True
if alert is active otherwise False.
ATTEMPTED_FAILED: Unable to contact.
CONTACTED: Member Contacted and resolved.
REVIEWED: Lab Reviewed - No Alerts.
OUT_OF_RANGE: Biomarker(s) Out of Range.
FOLLOW_UP: Follow-up Required.
NO_FOLLOW_UP: No Follow-up Required.
COMPLETED: Lab Alert Completed.
Video URL to show in the report.
Available Fields
Field Name
Type
Description
True if the lab test report has been updated successfully. Otherwise, Flase
Description of the result.
Example 1
mutation {
updateLabTestReport(
id: "TGFiVGVzdFJlcG9ydDo3MA=="
testName: "Blood Test"
labName: "Cleveland Lab"
title: "Lab Report"
testDate: "2022-02-01T05:00:00+00:00"
) {
success
message
report {
id
testName
reportPdf
title
testDate
}
}
}
{
"data": {
"updateLabTestReport": {
"success": true,
"message": "Lab test report updated",
"report": {
"id": "TGFiVGVzdFJlcG9ydDo3MA==",
"testName": "Blood Test",
"reportPdf": "lab-test/5ed99232-ca13-4a65-92b2-fc098f829e04/biEd0KdheG7A.pdf",
"title": "Lab Report",
"testDate": "2022-02-01T05:00:00+00:00",
}
}
}
}
Example 2 with Lab Alerts
mutation {
updateLabTestReport(
id: "TGFiVGVzdFJlcG9ydDo3MA=="
testName: "Blood Test"
labName: "Cleveland Lab"
title: "Lab Report"
testDate: "2022-02-01T05:00:00+00:00"
alert: true,
alertText: "Validation Error",
alertStatus: "REVIEWED",
alertAction: "CONTACTED"
) {
success
message
report {
id
testName
reportPdf
title
testDate
}
}
}
{
"data": {
"updateLabTestReport": {
"success": true,
"message": "Lab test report updated",
"report": {
"id": "TGFiVGVzdFJlcG9ydDo3MA==",
"testName": "Blood Test",
"reportPdf": "lab-test/5ed99232-ca13-4a65-92b2-fc098f829e04/biEd0KdheG7A.pdf",
"title": "Lab Report",
"testDate": "2022-02-01T05:00:00+00:00",
"alert": true,
"alertText":"Validation Error",
"alertStatus":"REVIEWED",
"alertAction":"CONTACTED"
}
}
}
}
Example 3 with video URL
mutation {
updateLabTestReport(
id: "TGFiVGVzdFJlcG9ydDo3MA=="
testName: "Blood Test with video"
videoUrl: "www.samplevideourl.com"
) {
success
message
report {
id
testName
videoUrl
}
}
}
{
"data": {
"updateLabTestReport": {
"success": true,
"message": "Lab test report updated",
"report": {
"id": "TGFiVGVzdFJlcG9ydDo3MA==",
"testName": "Blood Test with video",
"videoUrl":"www.samplevideourl.com"
}
}
}
}