Search for studies (QIDO-RS)
get /dicomweb/studies
Study-level QIDO-RS (PS3.18 §10.6). Matching keys may be given by keyword or tag. Text keys match
exactly, or by prefix with one trailing *. All study-level attributes are always
returned, so includefield is accepted and ignored. Results contain patient data: each
query is written to the practice's audit log with the number of results.
Scope: qido:read (partner_stow tokens).
Rate limit: Per-token QIDO limit.
Audited as qido.studies in the practice's audit log.
Parameters
| Name | In | Description |
|---|---|---|
PatientID optional |
query | Also 00100020. Up to 64 characters, optional trailing * |
PatientName optional |
query | Also 00100010. Up to 64 characters, optional trailing * |
AccessionNumber optional |
query | Also 00080050 |
StudyInstanceUID optional |
query | Also 0020000D. Up to 100 UIDs separated by commas |
StudyDate optional |
query |
Also 00080020. YYYYMMDD, or a range
YYYYMMDD-YYYYMMDD, -YYYYMMDD, YYYYMMDD-
|
ModalitiesInStudy optional |
query | Also 00080061. One modality code |
limit optional |
query | 1 to 1000, default 100 |
offset optional |
query | Default 0 |
includefield optional |
query | Accepted and ignored |
fuzzymatching optional |
query | Only false is supported |
Responses
200
Matching studies in DICOM JSON (PS3.18 F.2)
application/dicom+json
An array of:
[
{
"00080020": {
"vr": "DA",
"Value": [
"20260314"
]
},
"00080050": {
"vr": "SH",
"Value": [
"SYNACC0001"
]
},
"00080061": {
"vr": "CS",
"Value": [
"CT"
]
},
"00100010": {
"vr": "PN",
"Value": [
{
"Alphabetic": "SYNTHETIC^PATIENT01"
}
]
},
"00100020": {
"vr": "LO",
"Value": [
"SYN-0001"
]
},
"0020000D": {
"vr": "UI",
"Value": [
"1.2.826.0.1.3680043.8.498.1"
]
},
"00201206": {
"vr": "IS",
"Value": [
3
]
},
"00201208": {
"vr": "IS",
"Value": [
412
]
}
}
]
400
Problem: validation
401
Problem: unauthenticated
403
Problem: forbidden
429
Problem: rate-limited
500
Problem: internal
Errors
| Status | Type | Meaning |
|---|---|---|
| 401 |
unauthenticated
|
Not authenticated |
| 403 |
forbidden
|
Not allowed |
| 500 |
internal
|
Internal error |
| 429 |
rate-limited
|
Rate limited |
| 400 |
validation
|
Invalid request |
Examples
curl
curl -X GET 'https://app.pacspilot.com/dicomweb/studies?PatientID=SYN-0001&PatientName=SYNTHETIC%5E*&StudyDate=20260101-20261231&ModalitiesInStudy=CT' \
-H "Authorization: Bearer $PACSPILOT_TOKEN"
JavaScript
const res = await fetch("https://app.pacspilot.com/dicomweb/studies?PatientID=SYN-0001&PatientName=SYNTHETIC%5E*&StudyDate=20260101-20261231&ModalitiesInStudy=CT", {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.PACSPILOT_TOKEN}`,
},
});
console.log(res.status, await res.text());
Python
import os
import requests
res = requests.request(
"GET",
"https://app.pacspilot.com/dicomweb/studies?PatientID=SYN-0001&PatientName=SYNTHETIC%5E*&StudyDate=20260101-20261231&ModalitiesInStudy=CT",
headers={"Authorization": f"Bearer {os.environ['PACSPILOT_TOKEN']}"},
)
print(res.status_code, res.text)