Attention: Confluence is not suitable for the storage of highly confidential data. Please ensure that any data classified as Highly Protected is stored using a more secure platform.
If you have any questions, please refer to the University's data classification guide or contact ict.askcyber@sydney.edu.au

2 Determine information from Web Interface

2. How can we determine the project, subject, session/experiments, scan name via the XNAT Web Interface ?

It is troublesome in using the RESTAPI command to list project, as they are in HTML/XML/JSON format. Another straightforward way to retrieve the information is via the XNAT web interface.


From the web interface, we can see the project name is : PVT100, Subject name is: "Haofei01", and session/experiment name is "Haofei01_MRI", Scan name is "4" . 

Then we would like to know the directory structure below scan name, so we click on the "Manage Files" on the right side of the "Actions" Page.

So we know that the "DICOM" files have all the DICOM images we need. So it is easy for us to figure out the URL path mentioned above in the RESTAPI manuals.

https://xnat.sydney.edu.au/data/archive/projects/PTV000/subjects/Haofei01/experiments/Haofei01_MR1/scans/4/resources/DICOM/files?format=zip

2.1 What is "scans" vs "Resources" ?

We noticed in the File Manager screenshot above, there are "scans" vs "Resources". 

Scans are the folder created by XNAT for the DICOM data. Therefore, all the DICOM related files (NIFTI, snapshot, description, report) can be placed into the folder. 

Resources are the folder to keep all the non-DICOM data. By default it is not created. It has to be manually created.

We can click "Add Folder" in the FileManager to create new folder

Click "Create"