dbo.CV3CareProviderRoleType 
Default Table Name  CV3CareProviderRoleType 
Definition  Policy information to control which types of care providers can play a role in a client's care. For example, a medical student cannot be an Attending Physician for a client. 

dbo.CV3CareProviderRoleType Columns 
ColumnName  Domain  Datatype  NULL  Definition 
SiteID    smallint  YES  Identifies the unique distributed database ID where the row was inserted. Distributed databases are no longer supported so this column is deprecated. 
RepFlags    tinyint  YES  Indicates the action in a distributed database environment. Distributed databases are no longer supported so this column is deprecated. 
Build    int  NO  Identifies the build number and patch level of the software that inserted/updated this row. The format is the Build number followed by 3 digits for the patch level which is typically 000. The build number is tied to specific versions of the software, e.g. Sunrise 15.3 is Build 5021, Sunrise 16.3 is Build 5503. 
TouchedBy    varchar(50)  YES  Information about the user that last updated the row. This will typically be the UserID (IDCode from CV3User table) and may be prefixed with an environment identifier followed by an underscore, e.g. b96d2bf5_jongmore. 
TouchedWhen    datetime  YES  The date and time that the row was last updated and will be based on the Enterprise time zone. 
CreatedBy    varchar(50)  YES  Information about the user that created the row. This will typically be the UserID (IDCode from CV3User table) and may be prefixed with an environment identifier followed by an underscore, e.g. b96d2bf5_jongmore. 
CreatedWhen    datetime  YES  The date and time that the row was created and will be based on the Enterprise time zone. 
Active    bit  NO  Denotes whether the row is active or not, 0 means the row has been soft deleted or deactivated. 
GUID(PK)    HVCIDdt  NO  Unique primary key value. 
TypeCode    varchar(30)  YES  The provider's type. 
RoleCode    varchar(30)  YES  The provider's role. 
IsMultiple    bit  NO  Indicates if there is to be only one provider of this type and role active for a patient at any time. 1 = True; 0 = False 
IsPrimary    bit  NO  Indicates if the provider with this role type is the primary provider. 1 = True; 0 = False 
IsAutoTracked    bit  NO  Indicates if flags on the Patient List will be turned on automatically for this provider role type. 1 = True; 0 = False 
IsADTType    bit  NO  Indicates this provider role type can be changed in Sunrise Clinical Manager without special rights. 1 = True; 0 = False 
SortSeqNum    int  NO  Indicates the order in which the providers will be displayed. 
IsChartOwner    bit  NO  Indicates if the provider with this role type will be designated as the chart owner. 1 = True; 0 = False 
IsPatientProvider    bit  NO  Indicates if the provider with this role type is a provider at the patient level. 1 = True; 0 = False 
CanMarkResultsAsSeen    bit  NO  Not used. 1 = True; 0 = False 
CanAssignForUltraPatient    tinyint  YES  Indicates whether a provider can assign another provider to a patient with an Ultra security level. 1 = True; 0 = False 
MSrepl_tran_version    uniqueidentifier  YES  Optimistic lock identifier. 
FacilityGUID    HVCIDdt  YES  Link with the table CV3Location to the facility row 
ExcludeFromChartAccess    bit  NO  If this flag is true, the provider role does not consider has a valid role to access the chart when prompting for provider role. 
CanReplaceProvider    bit  NO  Flag in CareProviderRoleType dictionary. Default value of this column should be 0 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 

dbo.CV3CareProviderRoleType Primary and Unique Keys 
Key Name  Key Type  Keys 
CV3CareProviderRoleTypePK  PrimaryKey  GUID