Licensed to be used in conjunction with basebox, only.
@bb_owned directive tells the compiler that the object type is an owned object. This would included the
.ownerId column in the corresponding database table which would indicate an owner for each record in the table.
Note that only the user that owns a record or a user that is explicitly given access to this user's details can query or modify a specific owned record.
.ownerIdcolumn in the database and, when an patient record is inserted into the database, it will also add the id of the IdP user that created the entry (i.e. the logged in user).