Fetching Results

The processed series results can be fetched via API call.

Use the following sample script to get the processed series results.

Python
# 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

NameTypeDescription

URL*

String

The URL pointing to the service.

Headers

NameTypeDescription

Authorization*

String

Bearer token.

Json
{
    "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": []
}

Response Attribute

AttributeValue typeDescriptionSample Value
success

Boolean

It indicates whether the API call was successful or not.

  • True: The call was successful.

  • False: The call was not successful.

"success": true
message

String

It validates the post call action based on the response status code.

"message": "Results retrieved successfully!"
triage_status

String

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"
usecase

String

It indicates type of usecase results.

  1. qXR: Chest X-rays results.

  2. qER: Head CT scans results.

  3. qCT: Lungs X-rays results.

  4. Not implemented: No usecase defined.

"usecase": "qer"
result

String

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