Question about QIDO patient search

145 views
Skip to first unread message

Kirill K

unread,
May 27, 2020, 4:28:07 AM5/27/20
to dcm4che
Hi
I tried to search patient via QIDO. Opened swagger UI and constructed following string
http://test-ng:8080/dcm4chee-arc/aets/DCM4CHEE/rs/patients?accept=application%2Fdicom%2Bjson&filter=PatientID%3D123&includedefaults=false&onlyWithStudies=true

When i run it against my server it returns
<violationReport>
<classViolations>
<constraintType>CLASS</constraintType>
<path/>
<message>Invalid Query Parameter</message>
<value>
/dcm4chee-arc/aets/DCM4CHEE/rs/patients?accept=application%2Fdicom%2Bjson&filter=00100020=123&includedefaults=false&onlyWithStudies=true
</value>
</classViolations>
</violationReport>

What is the mistake?
Ty.

Shefki Esadi

unread,
May 27, 2020, 4:46:02 AM5/27/20
to dcm4che
Message has been deleted

Gunter Zeilinger

unread,
May 29, 2020, 11:34:29 AM5/29/20
to dcm...@googlegroups.com

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
--
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.

Kirill K

unread,
May 31, 2020, 4:42:03 AM5/31/20
to dcm...@googlegroups.com
Just to let you know
Yes it all works now, i used QIDO to check if patients with studies exists and on that condition launch weasis or show "not found" message instead. In powershell code:
Param(
   
[Parameter(Mandatory=$true)]
   
[Int32]
    $PatientID
)
$Uri
="http://pacsrack.belroza.local:8080/dcm4chee-arc/aets/DCM4CHEE/rs/patients?accept=application%2Fdicom%2Bjson&PatientID="+$PatientID+"&includedefaults=false&onlyWithStudies=true"
$result
=Invoke-WebRequest -Uri $Uri

if ($result.StatusCode -ne 200)
 
{$wshell = New-Object -ComObject Wscript.Shell
  $Output
= $wshell.Popup(" Исследования не найдены! ")}
else
 
{$RSPath='$dicom:rs --url "http://pacsrack.belroza.local:8080/dcm4chee-arc/aets/DCM4CHEE/rs" -r "&patientID='+$PatientID+'"  --query-ext "&includedefaults=false"'

 $RSStart
= "weasis://"+[uri]::EscapeDataString($RSPath)

 start $RSStart}



пятница, 29 мая 2020 г., 18:34:29 UTC+3 пользователь gunterze написал:

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, May 27, 2020 10:28 AM, Kirill K <kkos...@gmail.com> wrote:

Hi
I tried to search patient via QIDO. Opened swagger UI and constructed following string
http://test-ng:8080/dcm4chee-arc/aets/DCM4CHEE/rs/patients?accept=application%2Fdicom%2Bjson&filter=PatientID%3D123&includedefaults=false&onlyWithStudies=true

When i run it against my server it returns
<violationReport>
<classViolations>
<constraintType>CLASS</constraintType>
<path/>
<message>Invalid Query Parameter</message>
<value>
/dcm4chee-arc/aets/DCM4CHEE/rs/patients?accept=application%2Fdicom%2Bjson&filter=00100020=123&includedefaults=false&onlyWithStudies=true
</value>
</classViolations>
</violationReport>

What is the mistake?
Ty.


--
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 dcm...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages