Fetching Results
The processed series results can be fetched via API call.
Use the following sample script to get the processed series results.
# Make the HTTP Get request to the service
r = requests.get(URL, headers={'Authorization': 'Token {}'.format(TOKEN)})Fetching the Results
GET http://BASE URL + results/ + [SERIES INSTANCE UID]
Use the URL to make a GET call.
Path Parameters
URL*
String
The URL pointing to the service.
Headers
Authorization*
String
Bearer token.
{
"success": true,
"message": "Results retrieved successfully!",
"triage_status": "Routine/Critical",
"usecase": "qxr/qer/qct/not_implemented",
"result": {
"report": "string",
"files": {
"output_type": ["pre_signed_urls"],
.
.
.
}
},
"report": []
}{
"success": false,
"message": "Image Series with resource_uid series_instance_uid is under process. Please check back in some time.
}{
"success": false,
"message": "Not a valid use case",
"debug_info": {
"reason": "string"
},
"remarks": "{}",
"result": {}
}{
"success": false,
"message": "Access denied!"
}{
"success": false,
"message": "Series with SeriesInstanceUID
series_instance_uid is not yet uploaded!"
}{
"success": false,
"message": "Series with resource_uid
series_instance_uid has not yet been invoked
for computation. You can invoke by doing a GET on base_url/compute/series_instance_uid."
}Response Attribute
successBoolean
It indicates whether the API call was successful or not.
True: The call was successful.
False: The call was not successful.
"success": truemessageString
It validates the post call action based on the response status code.
"message": "Results retrieved successfully!"triage_statusString
It prioritize the results.
Critical: It indicates high priority results and requires an expert supervision.
Routine: It indicates standard priority results and requires an expert supervision.
"triage_status": "Routine"usecaseString
It indicates type of usecase results.
qXR: Chest X-rays results.
qER: Head CT scans results.
qCT: Lungs X-rays results.
Not implemented: No usecase defined.
"usecase": "qer"resultString
It contains the results of the API call. For more information, see Output Specification.
"result": {
"report": "No intracranial hemorrhage found",
"files": {
"reports": [],
"sc_key_slices": [],
"sc": [],
"gsps": [],
"sc_png": []
}
},Last updated
Was this helpful?