Retrieve Study by Study IUID

365 views
Skip to first unread message

Yavindu de alwis

unread,
Jan 24, 2017, 8:56:25 PM1/24/17
to dcm4che
Hi.I'm new to dcm4chee.

Is there way to Retrieve a Study by Study IUID through PHP Application.

I searched internet and found dcmqr methods like c-move.Is it possible to implement it using PHP. If so can someone give me a starting point.

Thanks. 

johnd...@gmail.com

unread,
Jan 25, 2017, 7:03:45 AM1/25/17
to dcm4che
i think this is impossiple.

because browser and windows will block the command line to excute commands in client machine.

Yavindu de alwis

unread,
Jan 26, 2017, 1:29:21 AM1/26/17
to dcm4che
Thanks for Reply.

So how can i retrieve dicom IUID by study IUID from HIS/RIS which is written in PHP. I tried using web services given by dcm4chee but it didn't work.

gunterze

unread,
Jan 26, 2017, 4:54:24 AM1/26/17
to dcm4che

Yavindu de alwis

unread,
Jan 26, 2017, 11:46:10 AM1/26/17
to dcm4che
I'm pretty new to dcm4chee. This is my php code to access a specific study.But I retrieve nothing.Can some show me what is wrong in this code.Does any one has sample php code to access dcm4chee web service.  

$data = array();
    $client  = curl_init();
$url = sprintf("%s?%s", $url, http_build_query($data));

    $request_headers = array();
    $request_headers[0] = "Accept:application/dicom+json";

    curl_setopt($client,CURLOPT_URL,$url);
    curl_setopt($client,CURLOPT_HTTPHEADER,$request_headers);
    curl_setopt($client,CURLOPT_RETURNTRANSFER,1);
    $resp = curl_exec($client);
curl_close($client);
$json_result_array  = json_decode($resp);
   
    print_r($json_result_array);

gunterze

unread,
Jan 26, 2017, 11:54:33 AM1/26/17
to dcm4che
$ curl -v -H "Accept:application/json" "http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs/studies?StudyInstanceUID=1.2.840.113674.1115.261.200"
*   Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 8080 (#0)
> GET /dcm4chee-arc/aets/DCM4CHEE/rs/studies?StudyInstanceUID=1.2.840.113674.1115.261.200 HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.47.0
> Accept:application/json
>
< HTTP/1.1 200 OK
< Connection: keep-alive
< Cache-Control: no-cache
< X-Powered-By: Undertow/1
< Server: WildFly/10
< Content-Type: application/json
< Content-Length: 745
< Date: Thu, 26 Jan 2017 16:52:34 GMT
<
* Connection #0 to host localhost left intact
[{"00080020":{"vr":"DA","Value":["19950608"]},"00080030":{"vr":"TM","Value":["115033.0"]},"00080050":{"vr":"SH","Value":["GE0005"]},"00080054":{"vr":"AE","Value":["DCM4CHEE"]},"00080056":{"vr":"CS","Value":["ONLINE"]},"00080061":{"vr":"CS","Value":["MR"]},"00080090":{"vr":"PN"},"00081190":{"vr":"UR","Value":["http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs/studies/1.2.840.113674.1115.261.200"]},"00100010":{"vr":"PN","Value":[{"Alphabetic":"DAVIDSON^JOSHUA"}]},"00100020":{"vr":"LO","Value":["GE1115"]},"00100030":{"vr":"DA"},"00100040":{"vr":"CS","Value":["M"]},"0020000D":{"vr":"UI","Value":["1.2.840.113674.1115.261.200"]},"00200010":{"vr":"SH","Value":["29172"]},"00201206":{"vr":"IS","Value":[1]},"00201208":{"vr":"IS","Value":[4]}}]

Yavindu de alwis

unread,
Jan 26, 2017, 11:57:43 AM1/26/17
to dcm4che
Thank You So much for quick reply and thanks again.

Yavindu de alwis

unread,
Jan 26, 2017, 12:21:57 PM1/26/17
to dcm4che
Sorry for bothering again.
I'm using dcm4chee-2.17.3.Does it have web service facility ? If so how can I find the correct web service URL.


On Wednesday, January 25, 2017 at 7:26:25 AM UTC+5:30, Yavindu de alwis wrote:

Gunter Zeilinger

unread,
Jan 27, 2017, 2:36:02 AM1/27/17
to dcm...@googlegroups.com
No, You would have to migrate to dcm4chee-arc 5.x.

--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+unsubscribe@googlegroups.com.
To post to this group, send email to dcm...@googlegroups.com.
Visit this group at https://groups.google.com/group/dcm4che.
For more options, visit https://groups.google.com/d/optout.

Yavindu de alwis

unread,
Jan 27, 2017, 4:14:26 AM1/27/17
to dcm4che
Do you know what is the stable version ? I tried latest version of arch-light but mysql import gives errors


On Friday, January 27, 2017 at 1:06:02 PM UTC+5:30, gunterze wrote:
No, You would have to migrate to dcm4chee-arc 5.x.
On Thu, Jan 26, 2017 at 6:21 PM, Yavindu de alwis <yav...@gmail.com> wrote:
Sorry for bothering again.
I'm using dcm4chee-2.17.3.Does it have web service facility ? If so how can I find the correct web service URL.

On Wednesday, January 25, 2017 at 7:26:25 AM UTC+5:30, Yavindu de alwis wrote:
Hi.I'm new to dcm4chee.

Is there way to Retrieve a Study by Study IUID through PHP Application.

I searched internet and found dcmqr methods like c-move.Is it possible to implement it using PHP. If so can someone give me a starting point.

Thanks. 

--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+u...@googlegroups.com.

Gunter Zeilinger

unread,
Jan 27, 2017, 5:00:48 AM1/27/17
to dcm...@googlegroups.com
gunter

To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+unsubscribe@googlegroups.com.

Yavindu de alwis

unread,
Jan 27, 2017, 11:42:20 PM1/27/17
to dcm4che
DCM4CHEE Arch light is too technical for me.So I thought of using dcm4chee 2.17.3.

So my problem is to get DICOM IUID by Study IUID through web app. In that case can I directly query(select query) the pacsdb to get that id.Is there any legal issue in directly access pacsdb? 
Reply all
Reply to author
Forward
0 new messages