Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| UserID | int identity | 4 | √ | null |
|
|
Primary key - Unique identifier for each user account in the system |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SSN | nvarchar | 40 | √ | null |
|
|
Social Security Number - Encrypted personal identifier for payroll and tax reporting purposes |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| UserStatus | varchar | 10 | √ | null |
|
|
Account status - Current status of the user account (Active, Inactive, Suspended, etc.) controlling system access |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FirstName | varchar | 50 | √ | null |
|
|
First name - User’s given name for identification and display purposes |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| MidName | varchar | 50 | √ | null |
|
|
Middle name - User’s middle name or initial for complete identification |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| LastName | varchar | 50 | √ | null |
|
|
Last name - User’s surname for identification and alphabetical sorting |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Title | int | 4 | √ | null |
|
|
Professional title reference - Links to lookup table for professional titles (Dr., Mr., Ms., etc.) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ContactComments | varchar | 5000 | √ | null |
|
|
Contact notes - Administrative notes about contacting or working with this user |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Sex | varchar | 10 | √ | null |
|
|
Gender - User’s gender for demographic reporting and appropriate assignment matching |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DateHire | datetime | 16,3 | √ | null |
|
|
Hire date - Date when the user was hired by the agency for employment tracking |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DateOfBirth | datetime | 16,3 | √ | null |
|
|
Birth date - User’s date of birth for age verification and demographic reporting |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| varchar | 50 | √ | null |
|
|
Email address - Primary email for system notifications, password resets, and communication |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Password | varchar | 10 | √ | null |
|
|
Login password - Encrypted password for user authentication (legacy field, see UserPasswords table) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AgencyID | int | 4 | √ | null |
|
|
Agency affiliation - Links user to iCS2.dbo.Agency for centralized healthcare provider organization management and multi-tenant access control |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GroupID | int | 4 | √ | null |
|
|
User group - Legacy group assignment for role-based permissions (see UserInGroups for current implementation) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| employeeid | varchar | 10 | √ | null |
|
|
Employee identifier - Agency-specific employee ID for payroll and HR integration |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| dateentered | smalldatetime | 16 | √ | (getdate()) |
|
|
Account creation date - Timestamp when the user account was first created in the system |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| StreetAddr | varchar | 50 | √ | null |
|
|
Home address - User’s primary street address for contact and emergency purposes |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| City | varchar | 30 | √ | null |
|
|
Home city - City of user’s primary residence |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| State | varchar | 30 | √ | null |
|
|
Home state - State/province of user’s primary residence |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| RateTitle | int | 4 | √ | null |
|
|
Rate classification - Reference to rate structure for payroll and billing calculations |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Zip | varchar | 10 | √ | null |
|
|
Postal code - ZIP/postal code for user’s primary address |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| HomeAddr2 | varchar | 50 | √ | null |
|
|
Address line 2 - Additional address information (apartment, suite, etc.) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AltAddr1 | varchar | 50 | √ | null |
|
|
Alternate address line 1 - Secondary address for user contact |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AltAddr2 | varchar | 50 | √ | null |
|
|
Alternate address line 2 - Additional information for secondary address |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AltCity | varchar | 30 | √ | null |
|
|
Alternate city - City for secondary address |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AltState | varchar | 30 | √ | null |
|
|
Alternate state - State/province for secondary address |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AltZip | varchar | 10 | √ | null |
|
|
Alternate postal code - ZIP/postal code for secondary address |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AgencyStatus | varchar | 20 | √ | null |
|
|
Employment status - Current employment status with the agency (Active, Terminated, On Leave, etc.) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| mailingAddrID | int | 4 | √ | null |
|
|
Mailing address preference - Indicates which address to use for official mailings |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| companyID | varchar | 20 | √ | null |
|
|
Company identifier - External company/organization identifier for integration purposes |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| userName | varchar | 50 | √ | null |
|
|
Login username - Unique username for system authentication (may differ from email) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| salutation | varchar | 10 | √ | null |
|
|
Salutation - Preferred salutation for formal communications (Dr., Mr., Ms., etc.) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| userTitle | varchar | 50 | √ | null |
|
|
Job title - User’s professional job title or position within the agency |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DateTerminate | datetime | 16,3 | √ | null |
|
|
Termination date - Date when user’s employment ended (if applicable) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fkUserCategoryID | int | 4 | √ | null |
|
|
User category - Links to UserCategory table for user classification and permissions |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fkUserPayTypeID | int | 4 | √ | null |
|
|
Pay type - Links to UserPayType table for payroll classification (salary, hourly, contract, etc.) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fkUserPayCategory | int | 4 | √ | null |
|
|
Pay category - Links to UserPayCategory table for detailed payroll categorization |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Siteid | int | 4 | √ | null |
|
|
Primary site assignment - Links to AgencySite table for user’s primary work location |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CreatedBy | int | 4 | √ | null |
|
|
Created by user - UserID of the administrator who created this account |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DateUpdated | datetime | 16,3 | √ | null |
|
|
Last update date - Timestamp of the most recent profile update |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| UpdatedBy | int | 4 | √ | null |
|
|
Updated by user - UserID of the person who last modified this account |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Signature | varchar | 200 | √ | null |
|
|
Digital signature - User’s digital signature for electronic document signing |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Supervisor | int | 4 | √ | null |
|
|
Supervisor reference - UserID of this user’s direct supervisor for approval workflows |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SupportLevel | int | 4 | √ | null |
|
|
Support level - User’s support/supervision level for clinical oversight requirements |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fkPayDisciplineID | int | 4 | √ | null |
|
|
Pay discipline - Links to discipline table for payroll rate determination |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| NysSupervisor | int | 4 | √ | null |
|
|
NYS supervisor - UserID of supervisor for New York State regulatory compliance |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ImportID | int | 4 | √ | null |
|
|
Import identifier - Reference ID for data migration and import tracking |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BoardOfEducation | bit | 1 | √ | null |
|
|
Board of Education flag - Indicates if user works with Board of Education programs |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| StripeInfo | nvarchar | 1073741823 | √ | null |
|
|
Payment processor data - Encrypted payment processing information for user billing |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Occupation | nvarchar | 500 | √ | null |
|
|
Professional occupation - User’s professional occupation or specialty area |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| WorkName | nvarchar | 500 | √ | null |
|
|
Work organization - Name of user’s primary work organization or department |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| HomePhone | nvarchar | 50 | √ | null |
|
|
Home phone - User’s home telephone number for emergency contact |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| WorkPhone | nvarchar | 50 | √ | null |
|
|
Work phone - User’s work telephone number for business communication |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CellPhone | nvarchar | 50 | √ | null |
|
|
Mobile phone - User’s mobile/cell phone number for urgent contact |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| OtherPhone | nvarchar | 50 | √ | null |
|
|
Additional phone - Alternative phone number for user contact |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Notes | nvarchar | 500 | √ | null |
|
|
Administrative notes - General notes about the user for administrative reference |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TimeClockPassCode | nvarchar | 8 | √ | null |
|
|
Time clock code - Secure passcode for time clock system authentication |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Location | nvarchar | 100 | √ | null |
|
|
Work location - User’s primary work location or office designation |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ExpiredTimeClock | datetime | 16,3 | √ | null |
|
|
Time clock expiration - Date when time clock access expires for security |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AllowCountLogin | int | 4 | √ | null |
|
|
Login attempt limit - Maximum number of failed login attempts before account lockout |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Token | nvarchar | 100 | √ | null |
|
|
Authentication token - Secure token for API access and single sign-on integration |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| IsChat | bit | 1 | ((1)) |
|
|
Chat enabled - Flag indicating whether user has access to internal chat/messaging features |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PaylocityID | varchar | 255 | √ | null |
|
|
Paylocity integration ID - External payroll system identifier for integration |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| WelcomeEmailSentDate | datetime | 16,3 | √ | null |
|
|
Welcome email date - Timestamp when welcome email was sent to new user |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ReceiveAlertNotifications | bit | 1 | √ | null |
|
|
Alert notifications - Flag controlling whether user receives system alert notifications |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PK_AccessUser | Primary key | Asc | UserID |
| IX_AgencyStatus | Performance | Asc | AgencyStatus |
| IX_CompanyID | Performance | Asc | companyID |
| IX_Email | Performance | Asc | |
| IX_LastName | Performance | Asc | LastName |
| IX_Login | Performance | Asc/Asc | UserID + Password |
| IX_PayTypeCat | Performance | Asc/Asc/Asc | fkUserCategoryID + fkUserPayTypeID + fkUserPayCategory |
| IX_SiteID | Performance | Asc | Siteid |
| IX_User_Firstname | Performance | Asc | FirstName |
| IX_UserName | Performance | Asc | userName |
| IX_UserStatus | Performance | Asc | UserStatus |
| IX_UserTitle | Performance | Asc | userTitle |
