Tickets get created by IC or Sales Support and an email gets sent to the Imaging Data Services Group. Verify that the email address recipient for this data return matches the email address within the Apteryx Sites Dash for this customer. Do not send data returns to unauthorized email addresses.
Requirements
Apteryx Sites Dash access
ServiceTool Portal access
Azure VPN
-
Azure VM access with the following installed:
7-Zip
Apteryx.ServiceTool.exe version 4.0.0.2
Azure Portal access to stsftpclxtractconvincent storage account
Steps
Assign the Zendesk ticket to yourself immediately, so that no other technician begins working on the same extract.
Go to the ServiceTool portal, and Isolate the site for 24 hours.
Once the site is isolated, go to the Commit tab, and commit the site. Wait until the commit completes before moving on to step 4.
-
Go to VM1, and in your ServiceTool folder, create a new Text Document named
<URL>.txtFor example:
1234.Apteryx.net.txt
Open the new text document you created, paste the URL of the site being extracted, and save the text document.
Open the Windows Command Prompt and navigate to your ServiceTool folder via command line.
-
ServiceTool Export process:
-
For a full site extract, run the following command, replacing the
<URL>with the URL to export:Apteryx.ServiceTool.exe export <URL>.txtThe command line will ask for a StudyDate. For full extracts, leave this blank and hit enter.
You will then be asked for Modalities. For full extracts, leave this blank and hit enter.
-
For a specific office / OID export, do the following instead:
Get a list of the Patient IDs for that specific office only.
Copy the patient ID list, and paste it into a new Notepad++ file. The document should look similar to this:
1234567891011121314-
Within Notepad++, do the following commands, with Regular Expression enabled under Search Mode:
-
Find/Replace step 1:
Find:
^Replace:
,
-
Find/Replace step 2:
Find:
$Replace:
,,,,,,
-
The document should now look similar to this:
,1234,,,,,,,5678,,,,,,,91011,,,,,,,121314,,,,,,Check the last line(s) of the document to make sure there are no extra / empty lines that don’t include an ID number (e.g.
,,,,,,,). Remove those extra lines if they exist.Save this document as <url>.csv, for example:
1234.Apteryx.net.csvCopy this new csv file to your servicetool’s \input\ folder.
-
Run the following command from the servicetool folder. Replace
<URL>with the actual URL to export.Apteryx.ServiceTool.exe downloadpatients <URL>.txt
-
The command will start to perform the extract. You can verify by checking the "output" folder in the ServiceTool folder. A new subfolder is created, with the folder name set to the URL of the extract.
While the extract is happening, open your 7-Zip folder and open
7zFM.exeNavigate to the ServiceTool\output folder and right-click the folder that the export is dumping files into (usually has the name of the Apteryx Site) and select 7-zip > Add to Archive. Set up the Archive window to look like below. DO NOT CLICK OK until Step 23 below. Proceed through the next steps 11-22 while the data is exporting from Apteryx.
Generate a secure password at https://www.lastpass.com/features/password-generator#generatorTool using the following Criteria:
Make sure to paste the password into a text document where you can easily find the password again if needed in the near future.
In the Zendesk ticket, use the "Link Sent - SFTP Credentials" Macro to fill the composer box.
Paste the 7-Zip password in the appropriate spot in the ticket:
-
While you have the ticket window open, fill in the UserID and Blob Container names you will be creating in a few moments.
The Blob name will be the first part of the Apteryx URL. For example, http://customercare.Apteryx.net termination would have a blob name of
customercareThe UserID will be the name of the container with sftp at the beginning. Using the customercare example, it would be
sftpcustomercareContinuing with the customercare example, the full text in the User ID section would be
stsftpclxtractconvincent.customercare.sftpcustomercareThe password for that user will be created in a few steps.
-
On the ServiceTool VM, open a browser and go to the following link:
stsftpclxtractconvincent - Microsoft AzureIt should look like this:
Click Add Local User at the top.
In that Add local user window, past in the userid you created previously (e.g.
sftpcustomercare) and click the SSH Password box. Click Next.
On the next page, click Create new and fill in the box with your Blob name (e.g.
customercare) and click Ok.
Set permissions to All and click "Add"
A new window will pop up with the set SSH Password. Click the copy icon on the right side of the box. Paste this into the Password field in the Zendesk ticket.
Wait for the command line to report “Done!” on the export.
Once the export is done, go back to the “Add to Archive” window in 7-Zip that was setup in step 10 above. Click OK to start the zip process.
The Archive window will close when it is complete.
Using Azure Storage Explorer, upload the zip files to the container created earlier and send the Macro in the ticket when the upload completes. You may need to refresh the Storage Explorer container list (CTRL+R) to see the new container.