Most sites have manual methods of adding users to their SHRINE i2b2 instance. In this document we demonstrate how you can create a web page that will allow users to self register themselves for SHRINE access. The services offered by the PM Cell makes online user registration possible. We will go into details about these services in this document.
Please note, any code you write for user registration has to abide by the rules of your sites IRB and other site policies.
Create a service account in your SHRINE i2b2 PM. This account will only need the admin role. You may name this account REG_SERVICE. You can place these credentials in a config file. That way you can reference these credentials when you make the PM service calls in your code.
In these examples we use PHP, Feel free to use other programming languages to achieve the same tasks.