dbo.CV3TaskStatusHistory 
Default Table Name  CV3TaskStatusHistory 
Definition  History of order task statuses for a patient . 

dbo.CV3TaskStatusHistory 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. 
ClientGUID    HVCIDdt  YES  The link to the client. 
OrderTaskGUID    HVCIDdt  YES  The link to the Order Task. 
OrderTaskOccurrenceGUID(FK)    HVCIDdt  YES  A foreign key to the GUID column in the CV3OrderTaskOccurrence table. 
EnteredByProviderGUID    HVCIDdt  YES  The link to the Care Provider. 
PerformedByProviderGUID    HVCIDdt  YES  The link to the Care Provider. 
EnteredByDisplayName    varchar(83)  YES  PHI: The Entered By name plus the occupation code (for example, nurse, MD ). 
PerformedByDisplayName    varchar(83)  YES  PHI: The Performed By name plus the occupation code (for example nurse, MD ). 
IDCode    int  NO  An ID Code that is generated internally and stored when the record is inserted. 
FunctionType    int  NO  An enumerated type with the following list of possible values: 1 = [New],2 = [Performed],3 = [Not Performed],4 = [Modified],5 = [Rescheduled],6 = [Suspended],7 = [Unsuspended],8 = [Discontinued],9 = [Discontinued Future],10 = [Signed],11 = [Order Modified],12 = [Task Reset],13 = [Refused To Sign],14 = [Reassigned],15 = [Signature Unavailable],16 = [Cosigned],17 = [Cosign required],18 = [Schedule Start When First Given],19 = [Delete], 
ToBeSigned    int  NO  NULL 
TaskStatusCode    varchar(30)  YES  The status. 
TaskActionDtm    datetime  YES  Visit TimeZone - The date and time of when the task is performed, scheduled, etc. 
TaskActionTimeText    varchar(30)  YES  The text of the TaskActionDtm. 
ReasonText    varchar(2000)  YES  PHI: The reason for changing the task status. 
MSrepl_tran_version    uniqueidentifier  YES  Optimistic lock identifier. 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 
ApplicationSourceType    int  NO  An enumerated type with the following list of possible values: 0 = [Unspecified],1 = [Flowsheet],2 = [Order Entry],3 = [Worklist Manager],4 = [KBMA],5 = [Mobile - Worklist],6 = [Mobile - eMAR(KBMA)],7 = [HL7 Interface],8 = [Worklist Service],9 = [Signature Manager], 

dbo.CV3TaskStatusHistory Primary and Unique Keys 
Key Name  Key Type  Keys 
CV3TaskStatusHistoryPK  PrimaryKey  GUID