Connecting to Ventilators in Entirely New Ways V2
Channel: Charlie Isaacs
Date: 30/03/2020

1) When a newly built DIY Ventilator is powered up, it pushes data through the Arduino into a Salesforce HealthCloud Lightning Flow through a Salesforce Heroku NodeJS application that does the Security (Oauth2) handshake.
2) A new Salesforce Asset Record is created and the status of the Ventilator is checked. If the Ventilator is tested for a designated period of time (passes ventilator diagnostics) then the ventilator moves to AllocationInventory Custom Object.
3) When a doctor moves one of their patients to a criticality: HIGH status, the patient is moved (through a Process Builder Flow) into the PatientTriage Custom Object.
4) As soon as the next “healthy machine” packet comes into Salesforce from a Ventilator sitting in the VentilatorInventory List, the Ventilator is assigned to the top triaged patient from the PatientTriage Custom Object, and the doctor is notified by email. 
5) Salesforce Einstein will help determine when the patient is recovered. For the purposes of the Hackathon demo, five successful SPO2 readings (greater than 92) will trigger a “healthy patient” status. When the patient recovers, the Ventilator is moved into the VentilatorInventory Custom Object and the doctor is notified that their patient has recovered. 
6) If at any time during the process, if the machine malfunctions or if the patient exceeds the threshold limits, a Case is created in Salesforce Service Cloud.