Update Lab Test Report
Use the updateLabTestReport
to update a lab test report assigned to a user.
Available Arguments
id
ID!
Unique ID of the lab test. Execute the labTestReports
query to get the id of a lab test report.
testName
String
Test report name.
testDate
datetime
Date and time of the report.
labName
String
Laboratory name.
reportPdf
Upload
URL of the lab test report.
alert
Boolean
True
if alert is active otherwise False.
alertText
String
Text shown in the alert.
alertAction
AlertAction
ATTEMPTED_FAILED: Unable to contact.
CONTACTED: Member Contacted and resolved.
alertStatus
AlertStatus
IN_REVIEW: In Review.
REVIEWED: Lab Reviewed - No Alerts.
OUT_OF_RANGE: Biomarker(s) Out of Range.
OTHER: Other.
FOLLOW_UP: Follow-up Required.
NO_FOLLOW_UP: No Follow-up Required.
COMPLETED: Lab Alert Completed.
videoUrl
String
Video URL to show in the report.
Available Fields
success
Boolean
True if the lab test report has been updated successfully. Otherwise, Flase
message
String
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
}
}
}
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
}
}
}
Example 3 with video URL
mutation {
updateLabTestReport(
id: "TGFiVGVzdFJlcG9ydDo3MA=="
testName: "Blood Test with video"
videoUrl: "www.samplevideourl.com"
) {
success
message
report {
id
testName
videoUrl
}
}
}
Last updated
Was this helpful?