Skip to content

Instantly share code, notes, and snippets.

@rlingineni
Created March 2, 2021 08:13
Show Gist options
  • Save rlingineni/2ca5fec18f41b68d5e951a4183f6f98a to your computer and use it in GitHub Desktop.
Save rlingineni/2ca5fec18f41b68d5e951a4183f6f98a to your computer and use it in GitHub Desktop.
Appointment Booking
Appointment Booking
Visit Appointment Page
patient requests appointment -> Admin Calls Patient
Admin Calls Patient
Schedule Time -> Appointment Scheduled
Cancel Request -> Appointment Cancelled
Appointment Scheduled
Appointment Cancelled
// parse line by line
// check if passes, if not throw error
// for each transition, verify right hand side exists
// if comment then skip
//graph.addnode
// graph.create relation, edge == action
// graph.exists if node not exists then throw error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment