AIPeopleSource_vw


Description

Staff analytics view - Comprehensive analytical view combining staff member information with performance metrics, role assignments, productivity data, and financial performance. Designed to support AI-powered analytics for human resources management, provider performance analysis, and workforce optimization across the healthcare service delivery organization.

Columns

Column Type Size Nulls Auto Default Children Parents Comments
UserID int 4 null

Primary key - Staff member unique identifier linking to core user record

UserStatus varchar 20 null

User status - Whether the staff member is currently active in the agency (Yes=active, No=inactive)

ICentralAccess varchar 3 null

System access - Can login to the app or not. Whether the staff member has access to the iCentral system (Yes=has access, No=no access)

FirstName varchar 50 null

Staff first name - Staff member’s given name for identification and communication

MidName varchar 50 null

Staff middle name - Staff member’s middle name for complete identification

LastName varchar 50 null

Staff last name - Staff member’s family name for identification and communication

ContactComments varchar 5000 null

Contact notes - Additional notes or comments related to contacting or working with the staff member

Sex varchar 10 null

Staff gender - Staff member’s gender for demographic reporting and HR purposes

DateHire datetime 16,3 null

Hire date - Date when the staff member was hired by the organization

DateOfBirth datetime 16,3 null

Birth date - Staff member’s date of birth for age verification and benefits administration

Email varchar 50 null

Email address - Primary email address for professional communication

StreetAddr varchar 50 null

Street address - Staff member’s primary residential street address

City varchar 30 null

City - City of residence for the staff member

State varchar 30 null

State - State of residence for the staff member

Zip varchar 10 null

ZIP code - Postal code for the staff member’s address

HomeAddr2 varchar 50 null

Address line 2 - Additional address information such as apartment or unit number

AltAddr1 varchar 50 null

Alternate address 1 - Secondary address for the staff member

AltAddr2 varchar 50 null

Alternate address 2 - Additional line for secondary address

AltCity varchar 30 null

Alternate city - City for the secondary address

AltState varchar 30 null

Alternate state - State for the secondary address

AltZip varchar 10 null

Alternate ZIP - Postal code for the secondary address

Salutation varchar 10 null

Salutation - Professional title or salutation (Dr., Mr., Ms., etc.)

DateTerminate datetime 16,3 null

Termination date - Date when the staff member’s employment ended, if applicable

DateUpdated datetime 16,3 null

Last update date - When the staff member’s information was most recently modified

SupportLevel int 4 null

Support level - Internal classification of the staff member’s support or access level

RoleList nvarchar 8000 null

Role assignments - Displays all roles assigned to the user. A user can have multiple roles. Bridge table: dbo.UserInRole, Lookup table: dbo.Roles

TeamList nvarchar 8000 null

Team memberships - Displays all roles assigned to the user. A user can have multiple roles. Bridge table: dbo.UserInGroupClient, Lookup table: dbo.Groups

PhoneNumber varchar 20 null

Phone number - Primary phone number for contacting the staff member

NPI varchar 100 null

NPI number - The NPI of the user. Each user can have multiple IDs (e.g., NPI, Internal, SSN, etc.). ID data is stored in dbo.UserIDList table. Lookup ID types in ics2.dbo.UserIDTypes. The ID for NPI is 9. Value retrieved using getUserId_fn function

RateTitle nvarchar 1073741823 null

Rate title - Pay grade or rate classification for the staff member

PayType nvarchar 510 null

Pay type - Method of payment (Hourly, Salary, Contract, etc.)

CompanyName varchar 50 null

Company affiliation - Name of the company or organization the staff member is affiliated with

InternalId varchar 100 null

Internal identifier - The Internal of the user. Each user can have multiple IDs (e.g., NPI, Internal, SSN, etc.). ID data is stored in dbo.UserIDList table. Lookup ID types in ics2.dbo.UserIDTypes. The ID for NPI is 5

LicenseId varchar 100 null

License number - The License of the user. Each user can have multiple IDs (e.g., NPI, Internal, SSN, etc.). ID data is stored in dbo.UserIDList table. Lookup ID types in ics2.dbo.UserIDTypes. The ID for NPI is 2

Regions nvarchar 8000 null

Service regions - Displays all regions assigned to the user. A user can have multiple roles. Bridge table: dbo.UserInRegion, Lookup table: dbo.Regions

Languages varchar 8000 null

Languages spoken - Displays all regions assigned to the user. A user can have multiple roles. Bridge table: dbo.UserInLanguage, Lookup table: dbo.Language

Supervisor varchar 101 null

Supervisor name - Name of the staff member’s direct supervisor

TotalUnit decimal 40,2 null

Total units delivered - Displays the total units from claims that are not in Void or Deleted status, where the provider is this user

ServiceTypes nvarchar 1073741823 null

Service types provided - Displays all the services from claims that are not in Void or Deleted status, where the provider is this user

TotalClaims int 4 null

Total claims count - Displays the number of claims that are not in Void or Deleted status, where the provider is this user

Total money 21,4 null

Total revenue generated - Displays the sum (AmountCharged) of claims that are not in Void or Deleted status, where the provider is this user

TotalPayrollRate money 21,4 null

Total payroll cost - Displays the sum of payroll rates (Rate) linked to claims that are not in Void or Deleted status, where the provider is the current user.

Profit money 21,4 null

Profit generated - Total - TotalPayrollRate

Relationships

View Definition


Possibly Referenced Tables/Views