Mercurial > hg > orthanc-book
comparison Sphinx/source/plugins/python.rst @ 698:b931786385e6
note
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 10 Jun 2021 18:44:01 +0200 |
parents | 7581dc208323 |
children | a777b9e6ef70 |
comparison
equal
deleted
inserted
replaced
697:7581dc208323 | 698:b931786385e6 |
---|---|
921 I: (0008,0052) CS [HELLO0-STUDY] # 12, 1 QueryRetrieveLevel | 921 I: (0008,0052) CS [HELLO0-STUDY] # 12, 1 QueryRetrieveLevel |
922 I: (0008,103e) LO [HELLO1- ] # 8, 1 SeriesDescription | 922 I: (0008,103e) LO [HELLO1- ] # 8, 1 SeriesDescription |
923 I: (0010,0010) PN [HELLO2-TEST ] # 12, 1 PatientName | 923 I: (0010,0010) PN [HELLO2-TEST ] # 12, 1 PatientName |
924 I: | 924 I: |
925 | 925 |
926 A more realistic Python script could for instance call the route | |
927 ``/modalities/{...}/query`` in the :ref:`REST API <rest-find-scu>` of | |
928 Orthanc using ``orthanc.RestApiPost()``, in order to query the content | |
929 a remote modality through a second C-FIND SCU request (this time | |
930 issued by Orthanc as a SCU). | |
931 | |
926 The C-MOVE SCP can be invoked as follows:: | 932 The C-MOVE SCP can be invoked as follows:: |
927 | 933 |
928 $ movescu localhost 4242 -aem TARGET -aec LL -aet ORTHANC -S -k QueryRetrieveLevel=IMAGE -k StudyInstanceUID=1.2.3.4 | 934 $ movescu localhost 4242 -aem TARGET -aec LL -aet ORTHANC -S -k QueryRetrieveLevel=IMAGE -k StudyInstanceUID=1.2.3.4 |
929 | 935 |
930 The C-MOVE request above would print the following information in the | 936 The C-MOVE request above would print the following information in the |