Bypassing the Query screen
Query URLs
It is possible to craft a Query URL to bypass the initial query screen and display the results directly. This is needed to link to a study directly from EPR. This would also allow one to save bookmarks such as "Today's CT Scans", "All investigations done yesterday's", etc. Use the following table as reference to create the required Query URL
Group 1 (Time) |
Parameter |
Example |
---|---|---|
Today |
day=today |
http://dcm4chee_ip:8080/oviyam/oviyam?day=today |
Yesterday |
day=yesterday |
http://dcm4chee_ip:8080/oviyam/oviyam?day=yesterday |
Last Week |
day=lastweek |
http://dcm4chee_ip:8080/oviyam/oviyam?day=lastweek |
Last Month |
day=lastmonth |
http://dcm4chee_ip:8080/oviyam/oviyam?day=lastmonth |
Period |
day=between&from=date&to=date |
http://dcm4chee_ip:8080/oviyam/oviyam?day=between&from=2009/03/15&to=2009/04/15 |
Group 2 (ID) |
Parameter |
Example |
Patient ID |
patientID=id |
http://dcm4chee_ip:8080/oviyam/oviyam?patientID=108392 |
Patient Name |
patientName=name |
http://dcm4chee_ip:8080/oviyam/oviyam?patientName=Doe
^John |
Accession Number |
accessionNumber=no |
http://dcm4chee_ip:8080/oviyam/oviyam?accessionNumber=CT3886 |
Date of Birth |
birthDate=date |
http://dcm4chee_ip:8080/oviyam/oviyam?birthDate=2009/01/24 |
Group 3 (Modality) |
Parameter |
Example |
Modality |
modality=modality |
http://dcm4chee_ip:8080/oviyam/oviyam?modality=CT |
Compound Queries
More than one parameter can be combined. However only one parameter from each group should be used at a time.
examples:
- All of today's studies: http://dcm4chee_ip:8080/oviyam/oviyam?day=today
- Today's CT studies: http://dcm4chee_ip:8080/oviyam/oviyam?day=today&modality=CT
- CR studies from the month of April 2009: http://dcm4chee_ip:8080/oviyam/oviyam?day=between&from=2009/04/01&to=2009/04/30&modality=CR