dicomtrolley.servers¶
Models VNA server specifics. Mainly log-in procedures
IMPAXDataCenter
¶
WADO Login for AGFA IMPAX Data Center 3.1.1
Source code in dicomtrolley/servers.py
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 | |
__init__(wado_url)
¶
Parameters¶
wado_url: str Full url of WADO endpoint login method, including https:// and port
Source code in dicomtrolley/servers.py
101 102 103 104 105 106 107 108 109 | |
get_dicom_qr_trolley(wado_user, wado_pass, host, port, aet='DICOMTROLLEY', aec='ANY-SCP')
¶
Log in to WADO and create a Trolley with wado and DICOM-QR
Notes¶
DICOM-QR credentials will only be verified during the first trolley find command.
Parameters¶
wado_user: str User to log in to wado wado_pass: str Password for wado host: str Hostname for DICOM-QR port: int port for DICOM-QR aet: str, optional Application Entity Title - Name of the calling entity (this class). Defaults to 'DICOMTROLLEY' aec: str, optional Application Entity Called - The name of the server you are calling. Defaults to 'ANY-SCP' Returns
Source code in dicomtrolley/servers.py
161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 | |
log_in(user, password)
¶
Get a logged in session for WADO on this server
Parameters¶
user: str username password: str password to log in with
Returns¶
requests.Session A logged in session on IMPAX
Raises¶
DICOMTrolleyError If login fails for some reason
Source code in dicomtrolley/servers.py
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 | |
VitreaConnection
¶
A server running Vitrea Connection 8.2.0.1
Source code in dicomtrolley/servers.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | |
__init__(login_url)
¶
Parameters¶
login_url: str Full url of login method, including https://
Source code in dicomtrolley/servers.py
15 16 17 18 19 20 21 22 23 24 25 26 27 | |
get_mint_trolley(user, password, realm, wado_url, mint_url)
¶
Create a logged in trolley with wado and mint
Parameters¶
user: str User to log in with password: Password for user realm: str realm to log in to wado_url: str WADO endpoint, including http(s):// and port mint_url MINT endpoint, including http(s):// and port
Returns¶
Trolley logged in trolley with wado and mint
Source code in dicomtrolley/servers.py
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | |
log_in(user, password, realm)
¶
Parameters¶
user: str username password: str password to log in with realm: str realm to log in to
Returns¶
requests.Session A logged in session on the VNA
Raises¶
DICOMTrolleyError If login fails for some reason
Source code in dicomtrolley/servers.py
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | |