connected-to-google
This commit is contained in:
69
test/http/test.http
Normal file
69
test/http/test.http
Normal file
@@ -0,0 +1,69 @@
|
||||
### Local OHIF Proxy Test File
|
||||
@baseUrl = http://localhost:5555
|
||||
|
||||
### 1. Health Check
|
||||
# Verifies that the proxy server is running
|
||||
GET {{baseUrl}}/health
|
||||
Accept: application/json
|
||||
|
||||
### 2. QIDO-RS: Search for Studies
|
||||
# Returns all studies (should return a list of DICOM studies if any exist)
|
||||
GET {{baseUrl}}/dicomWeb/studies
|
||||
Accept: application/dicom+json
|
||||
|
||||
### 3. QIDO-RS: Search for Studies with Patient Name
|
||||
# Returns studies matching patient name (replace SMITH with a name in your dataset)
|
||||
GET {{baseUrl}}/dicomWeb/studies?limit=10&offset=0&fuzzymatching=true&includefield=00081030%2C00080060%2C00080090&00080090=DR.%20HERWINDO%20RIDWAN%2C%20SP.OT
|
||||
Accept: application/dicom+json
|
||||
|
||||
### 4. QIDO-RS: Search for Studies with Date Range
|
||||
# Returns studies within a date range
|
||||
GET {{baseUrl}}/dicomWeb/studies?StudyDate=20200101-20230101
|
||||
Accept: application/dicom+json
|
||||
|
||||
### 5. QIDO-RS: Search for Series in a Study
|
||||
# Replace STUDY_INSTANCE_UID with an actual Study UID from your data
|
||||
# (Run test #2 first and copy a StudyInstanceUID from the response)
|
||||
GET {{baseUrl}}/dicomWeb/studies/STUDY_INSTANCE_UID/series
|
||||
Accept: application/dicom+json
|
||||
|
||||
### 6. QIDO-RS: Search for Instances in a Series
|
||||
# Replace STUDY_INSTANCE_UID and SERIES_INSTANCE_UID with actual values
|
||||
GET {{baseUrl}}/dicomWeb/studies/STUDY_INSTANCE_UID/series/SERIES_INSTANCE_UID/instances
|
||||
Accept: application/dicom+json
|
||||
|
||||
### 7. WADO-RS: Retrieve Study Metadata
|
||||
# Replace STUDY_INSTANCE_UID with an actual Study UID
|
||||
GET {{baseUrl}}/dicomWeb/studies/STUDY_INSTANCE_UID/metadata
|
||||
Accept: application/dicom+json
|
||||
|
||||
### 8. WADO-RS: Retrieve Series Metadata
|
||||
# Replace STUDY_INSTANCE_UID and SERIES_INSTANCE_UID with actual values
|
||||
GET {{baseUrl}}/dicomWeb/studies/STUDY_INSTANCE_UID/series/SERIES_INSTANCE_UID/metadata
|
||||
Accept: application/dicom+json
|
||||
|
||||
### 9. WADO-RS: Retrieve Instance Metadata
|
||||
# Replace STUDY_INSTANCE_UID, SERIES_INSTANCE_UID and SOP_INSTANCE_UID with actual values
|
||||
GET {{baseUrl}}/dicomWeb/studies/1.2.826.0.1.3680043.9.7307.1.202503196393.01/series/1.2.826.0.1.3680043.2.1545.1.2.1.7.20250319.100353.734.4/metadata
|
||||
Accept: */*
|
||||
|
||||
### 10. WADO-RS: Retrieve Instance
|
||||
# Replace STUDY_INSTANCE_UID, SERIES_INSTANCE_UID and SOP_INSTANCE_UID with actual values
|
||||
GET {{baseUrl}}/dicomWeb/studies/STUDY_INSTANCE_UID/series/SERIES_INSTANCE_UID/instances/SOP_INSTANCE_UID
|
||||
Accept: application/dicom
|
||||
|
||||
### 11. WADO-RS: Retrieve Frame
|
||||
# Replace STUDY_INSTANCE_UID, SERIES_INSTANCE_UID, SOP_INSTANCE_UID with actual values
|
||||
# This retrieves frame #1 from a multiframe image
|
||||
GET {{baseUrl}}/dicomWeb/studies/1.2.826.0.1.3680043.9.7307.1.202503196393.01/series/1.2.826.0.1.3680043.2.1545.1.2.1.7.20250319.100353.734.4/instances/1.2.826.0.1.3680043.2.1545.1.2.1.7.20250319.100353.1.5/frames/1
|
||||
Accept: */*
|
||||
|
||||
### 12. WADO-RS: Retrieve Frame as JPEG
|
||||
# Replace STUDY_INSTANCE_UID, SERIES_INSTANCE_UID, SOP_INSTANCE_UID with actual values
|
||||
# This retrieves frame #1 as a rendered JPEG image
|
||||
GET {{baseUrl}}/dicomWeb/studies/1.2.826.0.1.3680043.9.7307.1.202503196393.01/series/1.2.826.0.1.3680043.2.1545.1.2.1.7.20250319.100353.734.4/instances/1.2.826.0.1.3680043.2.1545.1.2.1.7.20250319.100353.1.5/frames/1/rendered
|
||||
Accept: image/jpeg
|
||||
|
||||
|
||||
####
|
||||
GET {{baseUrl}}/dicomWeb/studies?limit=101&offset=0&fuzzymatching=true&includefield=00081030,00080060&StudyInstanceUID=1.2.826.0.1.3680043.9.7307.1.202503196393.01
|
||||
Reference in New Issue
Block a user