Simplified File Processing

The current Simplified process has been changed from the original plan where healthshare would create the response files and now uses batch tracing from systems-live

Data Flows

  1. FIle flow details for simplified project files. 
  2. Encrypted files are uploaded to the internet based sftp server (37.48.243.188). A script there monitors for the file uploads and transfers the files unchanged to /data/simplified/feeds/simplimove/outgoing.
  3. The files are then downloaded from there by a cron initiated script running on systems-live (running under the simplimove account). During the download the files are decrypted and the output is stored in /home/simplimove/incoming/decrypt if successfully decrypted and to /home/simplimove/incoming/error if not.
  4. Files are then picked up from there by a another cron initiated script running under rrbatch account that sends the files for tracing. It then takes the response file (when it arrives) an copies it to /home/simplimove/outgoing
  5. Another script running under the simplimove account then encrypts the file to /home/simplimove/outgoing/encrypt and sends this file back to the internet sftp server leaving it in /data/simplified/feeds/simplimove/incoming
  6. A monitoring script on the sftp server then moves the file to the output directory /data/simplified/uploads/simplified/outgoing ready to be downloaded by the project.