You can create a custom query to return patient or study files that match specific patient-, study-, or series-level characteristics. To create a custom query, complete the following steps:
The implementation of the Query/Retrieve SCP service on the remote node determines the quality of attribute matching. All attribute matching is performed by the remote service. In addition to case sensitivity, matching can include one or more of the following:
Single Value Matching |
Matches single values. |
Wildcard Matching |
Use * to match zero or more characters. Use ? to match any single character. For example, to return patients with a name beginning with HA, use HA*. To return a list of patients whose names vary by one or more instances of a single value, use the ? character to indicate the wildcard value as in M?NROE. |
Range Matching |
Use the - character in between date or time values to return any matches within that range. For example, to match any date in the first six months of the year, use 20050101-20050630. |
The following table indicates the value representation (VR) and what wildcards are supported in each query field. An "x" in the column indicates the wildcard is supported.
Field |
VR |
* |
? |
- |
Patient Name |
PN |
x |
x |
|
Family Name |
PN |
x |
x |
|
Given Name |
PN |
x |
x |
|
Middle Name |
PN |
x |
x |
|
Prefix |
PN |
x |
x |
|
Suffix |
PN |
x |
x |
|
Patient ID |
LO |
x |
x |
|
Study Date |
DA |
|
|
x |
Study Time |
TM |
|
|
x |
Accession Number |
SH |
x |
x |
|
Study ID |
SH |
x |
x |
|
Modality |
CS |
|
|
|