import requestsimport pydicom# To fetch SeriesInstanceUID using pydicom series_instance_uid = pydicom.read_file('<path/to/your/dicom_file.dcm>').SeriesInstanceUIDurl = f"Base_URL/results/{series_instance_uid}"# Headers, including the Authorization token and Sourceheaders ={'Authorization':'Token <PASTE_YOUR_TOKEN>','Source':'<PASTE_YOUR_SOURCE>','User-Agent':'<YOUR_USER_AGENT>'}# Perform the GET requestresponse = requests.get(url, headers=headers)# Print the response textprint(response.text)
The unique identifier for the series to fetch results for.
Response
Results fetched successfully
Body
successboolean
Example: true
messagestring
A message that validates the request based on the response status code.
Example: "Results retrieved successfully!"
triage_statusstring
Indicates the urgency of results.'Critical' for high priority needing immediate expert review, and 'Routine' for standard priority also requiring expert supervision.