changeset 699:a777b9e6ef70

clarifying sample
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 11 Jun 2021 06:56:18 +0200
parents b931786385e6
children 56a06ca9ec20
files Sphinx/source/plugins/python.rst
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Sphinx/source/plugins/python.rst	Thu Jun 10 18:44:01 2021 +0200
+++ b/Sphinx/source/plugins/python.rst	Fri Jun 11 06:56:18 2021 +0200
@@ -911,7 +911,7 @@
 In this sample, the C-FIND SCP will send one single answer that
 reproduces the values provided by the SCU::
 
-  $ findscu localhost 4242 -aet ORTHANC -S -k QueryRetrieveLevel=STUDY -k PatientName=TEST -k SeriesDescription=
+  $ findscu localhost 4242 -S -k QueryRetrieveLevel=STUDY -k PatientName=TEST -k SeriesDescription=
   I: ---------------------------
   I: Find Response: 1 (Pending)
   I: 
@@ -931,7 +931,7 @@
   
 The C-MOVE SCP can be invoked as follows::
   
-  $ movescu localhost 4242 -aem TARGET -aec LL -aet ORTHANC -S -k QueryRetrieveLevel=IMAGE -k StudyInstanceUID=1.2.3.4
+  $ movescu localhost 4242 -aem TARGET -aec SOURCE -aet MOVESCU -S -k QueryRetrieveLevel=IMAGE -k StudyInstanceUID=1.2.3.4
 
 The C-MOVE request above would print the following information in the
 Orthanc logs::
@@ -939,12 +939,12 @@
   W0610 18:30:36.840865 PluginsManager.cpp:168] C-MOVE request to be handled in Python: {
       "AccessionNumber": "", 
       "Level": "INSTANCE", 
-      "OriginatorAET": "ORTHANC", 
+      "OriginatorAET": "MOVESCU", 
       "OriginatorID": 1, 
       "PatientID": "", 
       "SOPInstanceUID": "", 
       "SeriesInstanceUID": "", 
-      "SourceAET": "LL", 
+      "SourceAET": "SOURCE", 
       "StudyInstanceUID": "1.2.3.4", 
       "TargetAET": "TARGET"
   }