Study List - OsiriX-Foundation/KheopsAuthorization GitHub Wiki
Used to get a list of studies for a given user. This API should conform to QIDO-RS in the sense that a QIDO-RS client doing a study search, and capable of sending an appropriate bearer token, should be able to call this resource directly.
The original implementation will only support a very limited subset of parameters. Future versions may implement more options
URL : /studies
Method : GET
Auth Required : Authorization with a JWT Bearer token with the user as the sub claim.
Headers
Accept
: If present, require that this value beapplication/dicom+json
optional
URL Parameters
Only accept the follwing QIDO-RS parameters
-
{attributeID}={value}
Only accept the following attributeIDs as parameters:
StudyInstanceUID
or00080020
PatientID
or00100020
PatientName
or00100010
PatientSex
or00100040
PatientBirthDate
or00100030
AccessionNumber
or00080050
ReferringPhysicianName
or00080090
StudyID
or00200010
StudyDate
or00080020
- {date} : the exact date
- -{date} : before the date (include date)
- {date}- : after the date (include date)
- {date_1}-{date_2} : from date_1 to date_2 (include date)
- date format : YYYYMMDD min: 00010101 max: 99991231
StudyTime
or00080030
- {time} : the exact time
- -{time} : before the time (include time)
- {time}- : after the time (include time)
- {time_1}-{time_2} : from time_1 to time_2 (include time)
- time format : hhmmss.frac(6) min: 000000.000000 max: 235959.999999
ModalitiesInStudy
or00080061
- Accept only one modality like : CT or MR or SC ...
For non date parameters the following format can be used :
- *{value} : end with
- {value}* : start with
- *{value}* : contain
-
limit={limit}
-
offset={offset}
-
fuzzymatching={true/false}
by default : false- Use SOUNDEX algorithm
Custom Parameters
-
sort={sortBy}
by default : sort by study date descendingsort={sortBy}
for ascendingsort=-{sortBy}
for descendingStudyDate
or00080020
StudyTime
or00080030
AccessionNumber
or00080050
ReferringPhysicianName
or00080090
PatientName
or00100010
StudyInstanceUID
or00080020
PatientID
or00100020
StudyID
or00200010
-
favorite={true}
- Return only favorites study.
-
includefield={00012345}
orincludefield={favorite}
- Return the sum of favorites series in the study
-
includefield={00012346}
orincludefield={comments}
- Return the number of comments
-
album={album_id}
: Filter the returned studies to only include series that are in the specified album. -
inbox
: Filter returned studies to only include series in the inbox.Note :
Use
album={album_id}
orinbox
not both. If you dont usealbum
orinbox
the QIDO will return all series from the inbox and all albums that are accessible by the user.
Response
Header X-Total-Count
contains the total number of series to which the user has access.
The response should be as described in the QIDO-RS specification.
Instance Availability (0008,0056)
should beONLINE
.Retrieve URL (0008,1190)
should be the address of the Web Server until the PACS is secured.