⚠Due to planned maintenance you will experience short (<30 min) downtime between 08:00 - 08:30 CET.
BEING UPDATED
Introduction
There are two ways to upload data for listing in the Search & Match Service:
- manual upload (described below) and
- automatic upload where a connection is established between computer system, so called REST API. The manual for the automatic upload can be found here.
Data mentioned here is actually the encrypted files which can be files in XML or JSON format. Currently, only file in XML format is supported, when JSON format is supported, WMDA will send out an notification.
If the data is received, it will be processed, and accepted data will be available for Search & Match. Search coordinators and transplant physicians who use the Search & Match Service will be able to search using , and is also used for Match-Connect service.
For the API usage, it is a technical work instruction, feel free to contact us if you need any support or if you do not understand the work instruction clearly. Our e-mail address is: support@wmda.info
The service is called Data Manager before, and now changed to Data Manager.
Definitions
PGP/GPG | Pretty Good Privacy (PGP) is an encryption programme that provides cryptographic privacy and authentication for data communication |
XML | Extensible Markup Language, a structured file format |
API | Application Programming Interface (API): a set of clearly defined methods of communication between various software components |
ION | Issuing Organisation Number (ION) which is provided by ICCBBA to organisations listing in the Search & Match Service You may lookup IONS in the list of organisations maintained by WMDA |
XSD | XSD defines what elements and attributes may appear in an XML document; annually a new version of the XSD will be released; the current version is: 2.1 |
JSON | JavaScript Object Notation, a structured data format |
Purpose
This work instruction describes the manual upload method of an PGP/GPG encrypted XML file through the web application Data Manager.
General concepts:
- Only organisations that have an ION (listing organisations) will be able to upload, ION can be requested before you can list in WMDA DataManager Service.
- User must login the web application with MFA, and please follow WMDA MFA user guide to set it up.
- The platform is organised in so called 'Workspaces'. This Workspace is a private space for each organisation where files can be uploaded and processing reports become available.
- If your organisation submits data on behalf of other registries/CBBs then as an uploading organisation you will only see one Workspace where you can upload files for other registry(ies) that you are affiliated with.
- Uploaded files should follow the XML guidelines as described in the Data submission information, and JSON format in the page TBC. JSON format will be supported from data schema version 2.4.
File requirements:
- Files must following the file naming rules as described in the Search & Match Service Data submission information
- Only files with the .pgp and .gpg extension will be accepted for upload.
- XML files should be encrypted with a public key (How to encrypt a file can be found here)
- XML files larger than 800Mb is rejected. If your file reach this limitation, contact support team at support@wmda.info.
Getting started
Data Manager Service URLs
We have 2 variants of the data submission platform :
- sandbox: https://sandbox-datamanager.wmda.info : here organisations can upload their data for testing purposes and check their dataquality, before moving to production.
- production: https://datamanager.wmda.info : here production data is uploaded, which is permitted only after QA inspection by WMDA.
Setup MFA to get access for Data Manager
Before you can access the Data Manager service, you need to be an authorized user in our system. After you get permission to list data in WMDA Data Manager service,
If you are not a current user and would like to have access to upload your test XML file, please send us an email to support@wmda.info
To access the system for the first time
- As a new user, you should have received a welcome email that includes a link to the Data Manager service and instructions to set your credential with MFA. Information related to MFA and reset your MFA, please go to the user guide for MFA for WMDA services.
- To access the sandbox system to test your files, please go to https://sanbox-datamanager.wmda.info/ to login (Figure 1) If you just have set your password, the system should return you automatically to the login page.
- Within the login page you can optionally change your language by clicking on the flag just besides 'Enter login/password':
- You can also save a bookmark in your browser, e.g. for the Data Manager service, so that you are immediately directed to the login page rather than having to enter the URL.
- After login with MFA, the system defaults to your personalized Workspace, where you will find your organisation Workspace and all the folders you need.
Login screen WMDA Data Manager service
Change password or forgot password
Forgot password:
- Click on the 'Forgot your password?' link and fill out your email address on the password reset page (Figure 2) and click on the 'OK' button. You will then receive an email with a link to reset your password.
- Click on the link and choose your own password, confirm this password and click on the OK button.
Forgot registered email address: If you might have forgotten your e-mail address that was registered for your Data Manager account, please contact the WMDA office by email via support@wmda.info
Change password: You can also change your password after you logged into the system.
- To do this, click on your home page on the settings button.
- A drop-down menu will appear and then click on 'My Account'.
- In the next window, click on the button 'change password' in the left bottom corner
- A new smaller window will open. Fill out your old password and your new chosen password and click on OK.
Tip: If you haven’t changed your password for a long time, we recommend that you do so to ensure that your profile is secure. We recommend that you change your password every 6 months.
Figure 2: Forgot your password page
Figure 3a: Screen password reset confirmation
If you attempt to login more than 3 times with incorrect credentials the system for security reasons will ask you to enter a code that appears in an image as shown in Figure 3b.
Figure 3b: Screen after 3 login attempts
Logging off from the service
To close and exit, click on the dropdown arrow next to your name on the top left side (Figure 4). This should give you a drop-down menu with 'Logout'. Click on 'Logout' and you will be get a pop-up window to pick an account to logout. And after that you will see a notification window to mention you now safely logout.
Figure 4: Logging out of the WMDA Data Manager service: setting button and dropdown menu
Figure 4: Logging out of the WMDA data upload service: setting button and dropdown menu
Home
After logging in, you will get the screen based on whether you have access to one ION or multiple IONs.
If you have access to only one ION, then you will be redirect to your Workspace folders directly as show in Figure
Figure : Home page for uses have access to one ION
If you have access to multiple IONs, then you will be redirect to a home page as show in Figure
Figure : Home page for uses have access to multiple IONs
On your home page, you can see information as below:
- Your name: On the top left corner. This is the name of the user that logged into the system
- Notification indicator: This is the bell that will highlight if you have any new notifications around the status of your uploaded file
- Setting button : This is the menu for functions like - Logout and Updating account details
- Search box: Useful when trying to find files, for example using a specific date
- My Workspace: Your own Workspace named with the ION of your organisation. In conjunction with your Workspace you also see two separate folders called Archives and Reports. For further details on the purpose of these folders please see section around Archive/Reports.
- Recent history of submissions in the middle main pane
PLEASE NOTE: On the left hand side you can see the Workspace for your registry that you have access to. Most organisations will have access to just one space even if you are submitting data on behalf of other registries.
Setting button: when you click on the settings button, you can seen a drop-down menu (Figure 4) with
- My account: In this section you can set an avatar (picture) or your organisations logo and change your password. You can only review the Name and Email address but cant change it. If the name of email address shown within the account section is wrong please contact WMDA via email support@wmda.info so we can update those details in out CRM database.
- Share and About: These two functions at the moment aren't developed so please refrain from using this.
- Log out: Exit system
Workspace: Within your Workspace you can find the list of uploaded files
When you login for the first time, the Workspace will be empty (Figure 6).
Figure 6: Content of workspace screen
Upload a file
If you wish to upload a new PGP/GPG encrypted XML file into your Workspace to be processed, please follow the next steps:
- Click on the Upload folder of your organisation/correct ION.
- Within the Upload folder click on icon "Upload file" at right upper corner in the file list area. And a window to guide to upload a file will pop-up (Figure 7).
- Option to select a file:
1). Click on button "Pick file" and a browser window will open and you can select the file on your computer.
2). You can also select a file by dragging and dropping the file in the proper area. - After a file is selected, then the selected file will be listed, and the "Upload" button will become available. (Figure 8a).
- Confirm the file selected is the correct file based on the name.
- Click on button Upload.
- The file then uploaded and becomes visible in the file list area in the Upload folder. If the file is big, it may take some time to upload.
After a file is uploaded completed to the Upload folder, then it can be picked up. After the An alternative method to upload your file to your Workspace is by dragging your file from your desktop to the main middle pane of your Workspace
- Once the upload of the file is completed, you receive a message.
- The file is now ready to be picked-up by the Search & Match Service for further processing. When the file is picked-up by the processing pipeline, a copy of the file is stored in your archives folder. All messages concerning the processing of your file can be found in the Reports folder. The copy of the file and the file with messages have a filename related to the name of the original file in combination with the upload time and user
PLEASE NOTE: The time to upload your file to the system depends on the file size and your internet upload speed.
Figure 7: Upload new file
Figure 8a: Select file for upload screens
You are only allowed to upload files that are encrypted. If you try and upload files that are non PgP/GpG encrypted the system will give you an upload error as shown in figure 8b.
Figure 8b: Only PgP encrypted files allowed
Manage/Update existing uploaded files
After uploading your file, you can still delete the file if it hasn't picked-up by the processing pipeline. . Once the file is picked-up, you cannot delete the file anymore or cancel the processing. The system will check for new files every 10 minutes. Therefore, the time that you have left to delete the file can vary.
- Within your Workspace go to the file you wish to update/delete and click on the 'Delete' button at the end of the file (Figure 9).
- The system will warn you to ensure if you really want to delete this file (Figure 9).
- If you click OK, the file is deleted and will no longer be processed.
Figure 9: How to delete an uploaded file
Processing folder
This folder contains the files are picked up for processing.
Processed folder
This folder contains all the files are processed and accepted by the Data Manager Service.
Rejected folder
Archive folder
This folder contains all of the files that have moved to the pipeline for processing. There is a 10 minutes lag before a file that's been uploaded onto your workspace is picked by the pipeline for processing. Files in the Archive folder can't be deleted. You only have read access to the Archive folder. The file name is changed to indicate the date/time the file was placed in this folder for processing.
PLEASE NOTE: These files are deleted from the folder after 6 months of them being processed. There associated reports too will be deleted from the report folder.
Report folder
This folder has all of the processed report outcomes of the uploaded file. Once the processing pipeline picked-up the file, it will start with initial validations in a sequence. The sequence is: Decrypting the file > Unzipping the file > XML file structure validation > Data content validation > HLA validation. Only once all of these validations have been completed, the system will provide all the users from the organisation a notification and a report that will indicate the outcome of the file processing. Processing messages are generated and stored in a file in your Reports folder. All messages are collected in one file for each file you uploaded to the system. This is clearly indicated using the same file name with the date/time stamp so users can easily identify the file the report relates to.
PLEASE NOTE: Just like the Archive folder you only have read access to this folder. Also all reports are deleted after 6 months of them being placed in this folder.
Processing report messages
Below are the list of messages that users can expect and the reasons for these messages
Whilst the uploaded files are being processed users should be reported for the following stages
- Uploaded file successfully - This is a message that users get as part of the standard file upload successfully. Please see section upload a file as part of uploading your file.
- Uploaded file is picked up by pipeline for processing
- Uploaded file processed and report available by the pipeline
Users should be reported for the following scenarios on file level validations
Scenario | Event stage | Description | Type of message |
File with wrong filename | The system will reject the file if the file name doesn't conform to the agreed format which is : ION-1234-D.PgP, ION-1234-D.xml.Pgp, ION-1234-D.zip.PgP, ION-1234-C.PgP, ION-1234-C.xml.Pgp, ION-1234-C.zip.PgP. | Rejected - ADD MESSAGE AS PART OF THE REPORT | |
If a user uploads two files consecutively with same file name. Eg ION-1234-D.PgP and ION-1234-D.PgP | In such a scenario the most recently uploaded file is taken through the pipeline, the previous file is deleted and not processed. | ||
If a user uploads two files consecutively with different file names. E.g ION-1234-D.PgP and ION-1234-C.PgP | In such a scenario the system will process the two files as separate files. | ||
If a user uploads a PgP encrypted file with a invalid key. | Decrypted | In such a scenario the system will not be able to decrypt the file and the pipeline will not be able to process the file. | Rejected - ADD MESSAGE AS PART OF THE REPORT |
If a user has uploaded a zipped file which isn't an XML | Decompressed | In such a scenario once the system has decrypted the file and finds the file isn't an XML the pipeline will not be able to process the file. | Rejected - ADD MESSAGE AS PART OF THE REPORT |
If a user has uploaded a file with the file creation time set in the future | XSD file validation | In such a scenario once the system has decrypted the file and finds that the file creation date/time is in the future then the pipeline will not be able to process the file. | Rejected - ADD MESSAGE AS PART OF THE REPORT |
If a user has uploaded a file with the file creation date and/or time in an incorrect format | XSD file validation | In such a scenario once the system has decrypted the file and finds that the file creation date/time is in an incorrect format then the pipeline will not be able to process the file. | Rejected - ADD MESSAGE AS PART OF THE REPORT |
If a user has uploaded a file where the listing organisation doesn't match the ION number in the file name | XSD file validation | Rejected - ADD MESSAGE AS PART OF THE REPORT | |
If a user has uploaded a file where the update mode is other than full | XSD file validation | Rejected - ADD MESSAGE AS PART OF THE REPORT | |
If a user has uploaded a file where the file name and content type do not match. | XSD file validation | In such a scenario once the system has decrypted the file and finds that there is a discrepancy in the file name content type and the file content type then the pipeline will not be able to process the file. E.g File name = ION-1234-D.PgP and the Content type = C | Rejected - ADD MESSAGE AS PART OF THE REPORT |
If a user has uploaded a file that has content type of both donor and cord | XSD file validation | Rejected - ADD MESSAGE AS PART OF THE REPORT | |
If a user has uploaded a file where the file version isn't correct | XSD file validation | Rejected - ADD MESSAGE AS PART OF THE REPORT |
[1] The specification is available at https://pydio.com/en/docs/references/api/v2#!/File/uploadStream
STANDARD OPERATING PROCEDURE | |||
| |||
TITLE: | Data submission protocol | ||
VERSION No: | 0.3 | ||
DATE OF ORIGINAL ISSUE: | March 2017 | ||
REVIEW INTERVAL: | 12 months (This includes the testing process) | ||
ORIGINAL PREPARED BY: | Manish Kakkar | ||
QM REVIEWED BY: | Quality Team | ||
AUTHORISED BY: | Chief Executive | ||
COPY and LOCATION | Master Copy – WMDA Share – DOCxxx | ||
Document Version History | |||
Version | Author | Changes | |
0.1 | Manish Kakkar | SOP generated | |
0.2 | Beer Holties | Update (Sprint 3/4) | |
0.3 | Jorine Koenderman | Release staging version (28-07-2017) | |
0.4 | Manish Kakkar | Updated post release to staging version (07-08-2017) |