Get User Information

To insert or query data you will always need to know in which clinic or department you want to do this.
To know the names and ids  you have to call module.getUserInformation. This method returns an array of UserDepartment objects to which you have access to. Best practice would be to add theses values into some kind of configuration file which maps your clincs/departments to our ids. 

These ids will change when you develop on the demo module and later on point your web service client to the actual productive system.