Example 2: Defining a Dataset with File Data
Defining a dataset with file data.
The Data Schema
The Data Schema can be uploaded as a CSV to the Rhino Web UI or added directly to the Rhino Web UI through the built-in Data Schema editor. For this example, we will create this Dataset within the UI and name it SpO2 Schema.
Field Name
Image
Age
Gender
SpO2
Identifier
Description
Type
Filename
Age
Enum
Percent
Type Parameters
{"choices": ["m", "f", "o"]}
Sensitive Data
No
Yes
No
No
Aggregate Statistics
Allowed (Enabled)
Not Allowed (Disabled)
Allowed (Enabled)
Allowed (Enabled)
Secure Access
Allowed (Enabled)
Not Allowed (Disabled)
Allowed (Enabled)
Allowed (Enabled)
The Dataset's Tabular Data
The tabular data CSV file is prepared within the institutional firewall from data in clinical systems and then copied via SFTP to the Rhino Client.
males/123.png
52
m
0.97
males/456.png
38
m
0.98
females/789.png
45
f
0.98
For this example: Let’s say this tabular CSV file was copied via SFTP to the following location on your Rhino Client: /rhino_data/uploads/spo2/dataset1.csv
The Dataset's DICOM Data
No DICOM data exists in this Dataset
The Dataset's File Data
All image files associated with the cases in the tabular data file are queried from the clinical data systems, de-identified, and then copied via SFTP to the Rhino Client.
The Rhino Client expects the files to be located precisely at the relative path that is specified in the tabular data file, where these paths are relative to a base path provided during Dataset import.
For this example, let's say we place our file data in the following locations on our Rhino Client:
/rhino_data/uploads/image_data/males/123.png/rhino_data/uploads/image_data/males/456.png/rhino_data/uploads/image_data/females/789.png
Example 2: Load Specific Files
Dataset Import parameters:
Name: Example 2 Dataset
Description: Example 2 Dataset
Data Schema: SpO2 Schema v0
Tabular Data File Path:
/rhino_data/uploads/spo2/dataset1.csvDICOM Data Path:
Import Method: Filesystem
Path:
/rhino_data/(Default Value: Do not change)
File Data Path:
/rhino_data/uploads/imagesIs Data De-identified?: Yes
Example 2 Simplified: Load All Files Under a Folder
Dataset Import parameters:
Name: Example 2 Dataset
Description: Example 2 Dataset
Data Schema: SpO2 Schema v0
Tabular Data File Path:
LEAVE EMPTYDICOM Data Path:
Import Method: Filesystem
Path:
LEAVE EMPTY
File Data Path:
/rhino_data/uploads/imagesIs Data De-identified?: Yes
Last updated
Was this helpful?