HD4DP v2 csv upload (old version)

Last updated: 2022-12-19 14:16

Process to upload the csv file of DCDs

Uploading the csv file into the correct DCD folder

The Support team of healthdata.be (Sciensano) will provide the Data Providers an SFTP user and password of the Upload folders of healthdata.be (Sciensano). With these credentials the IT Services of the Data Providers will be able to connect to the Upload folders of healthdata.be (Sciensano).

The main folder structure of the csv upload folder will look as such:

Each folder consists of sub folders which contains the DCD.

Find below an overview of the DCD's that can be uploaded.

  • Handhygiene-1:
    • PRE campaign
    • POST campaign
    • IN & OUTSIDE campaign
  • MEARaxone-2
    • meaRaxone
  • Endobronchialvalve-4 (Zephyr):
    • Primo-implantation
    • Replacement
    • Follow-up
  • Orthopridehip-7:
    • Primo-implantation
    • Revision
    • Resection
  • Orthoprideknee-8:
    • Primo-implantation
    • Revision
    • Resection
  • Orthopridetotalfemur-9:
    • Primo-implantation
    • Revision
    • Resection
  • For Spine Tango that will be:
    • Intake
    • Conservative treatment
    • Surgery
    • Patient questionnaire
  • For Surgical and percutaneous heart valves that will be:
    • Implantation
    • Follow-up
    • testDCD01
    • testDCD02

This example shows the different DCDs of an Orthopride Knee project

The csv files will be placed in the folders of the DCD which we want to upload. We double click on the folder of the dcd and the structure will be either empty, whether filled with folders containing the following names:

  • ARCHIVE (after a csv file has been processed, the original csv file will be saved in this folder)
  • RESULT (when the csv file has been processed, a file will be created or append with the result of the upload of the csv file)
  • ERROR (when the csv file contains erroneous formatting, the csv file won't get processed and an error file will be created or append with the errors and reason why the csv file couldn't be processed)

Example: I want to upload an Orthopride Knee Primo-Implantation dcd, so I will place the orthopride knee primo implantation csv file into the dcd-21-v-1-kneePrimoImplantation folder.

  • Open the dcd-21-v-1-kneePrimoImplantation folder
  • Put the orthopride knee primo implantation csv file into the folder
  • Wait until the file has been processed (the file will disappear from this folder if it has been processed - don't forget to click on the refresh button)
  • Go into the RESULT folder and refresh the folder to update the file with the latest changes
  • Double click the file to open it and to read the result of the upload process

The status is the most important line that indicates whether the upload was a success or not.

Verification of the upload process is also possible in the application HD4DP2. After login to HD4DP2 go to relevant DCD and check the processed data.

CSV creation: some points of attention


Some formats are specific :

  • Dates : should be dd/mm/yyyy
  • Boolean : true / false
  • Codes : the value of the code (not the translation)
  • Multi codes : there is only one column per field. So when a select box is set as multiple, values have to be separated by a "|". e.g. : 68452|68453|68454
  • Repeatable blocks : in some DCDs, a complete block of fields is repeatable. In that case, value have to be separated by a ";".
    • e.g. : A block is containing 3 fields : A (Lob), B (Type klep) and C (Aantal kleppen).

The block is repeated once by clicking on "Add another" button. In the CSV, there is still one column for each field.

If for the first block, values are :

  • A -> 68545 (=RLL)
  • B -> 13245 (=38101000053)
  • C -> 1

and for the second block, values are :

  • A -> 68548 (=LLL)
  • B -> 13245 (=38101000053)
  • C -> 1

In the CSV file it will result in the following :

  • Column A : 68545;68548
  • Column B : 13245;13245
  • Column C : 1;1

It is possible to mix multi select values and repeatables blocks (if a multi select box is inside a block component that could be repeated). This will end as :

If for the first block, values are :

  • A -> 68545|68944|68946
  • B -> 1
  • C -> 2

and for the second block, values are :

  • A -> 78945|78950
  • B -> 3
  • C -> 4

In the CSV file it will result in the following :

  • Column A : 68545|68944|68946;78945|78950
  • Column B : 1;3
  • Column C : 2;4