Prospect wanted to push out a file similar to one on the left (results Redefined Report) that gets parsed out and a record created in Infusionsoft and then places the order into an FTP server that the Sunrise (the vendor) picks up into their system. Sunrise will then return back the lab work that needs to be attached to the individual’s record in Infusionsoft.
- Lab test
Our solution was to create an InfusionSoft order with a tag. This would call a webhook to start the order .
We would create a Node.js script to generate a HL7 order and place in in a S3 bucket, which would be mapped to a FTP folder .
The lab picks up the order from the FTP folder.
Once the test is done the lab puts the test results back in the folder. We have a watcher script which keeps watching the folder and any change detected, fires a script to pickup and process the result. Then we update the user account in infusion soft and create a tag.