Update Lab Test Report

Use the updateLabTestReport to update a lab test report assigned to a member.

Available Arguments

Argument Name
Is required?
Type
Description
id
Yes
ID
Unique ID of the lab test. Execute the labTestReports query to get the id of a lab test report
testName
No
String
Test report name
testDate
No
DateTime
Date and time of the report
labName
No
String
Laboratory name
reportPdf
No
Upload
URL of the lab test report

Available Fields

The following fields will be displayed in the response:
Field Name
Type
Description
success
Boolean
True if the lab test report has been updated successfully. Otherwise, Flase
message
String
Description of the result
report
Object
Object that returns the list of lab test report fields.

Example

Request
Response
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"
}
}
}
}