dbo.SXAANCExamStatus 
Default Table Name  SXAANCExamStatus 
Definition  Stores the status that are used for exam workflow 

dbo.SXAANCExamStatus Columns 
ColumnName  Domain  Datatype  NULL  Definition 
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)  NO  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. 
TouchedWhenUTC    datetimeoffset(3)  NO  The date and time that the row was last updated including the time zone offset from UTC, for example 2015-01-30 04:55:04.372 -05:00. The date and time is based on the Enterprise Time Zone. 
CreatedBy    varchar(50)  NO  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. 
CreatedWhenUTC    datetimeoffset(3)  NO  The date and time that the row was created including the time zone offset from UTC, for example 2015-01-30 04:55:04.372 -05:00. The date and time is based on the Enterprise Time Zone. 
MSRowVersion    timestamp  NO  Optimistic lock identifier using rowversion datatype. 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 
Active    bit  NO  Denotes whether the row is active or not, 0 means the row has been soft deleted or deactivated. 
ExamStatusID(PK)    int  NO  Auto generated unique primary key value. 
ExamStatus    varchar(50)  NO  Exam Status that corresponds to site's workflow 
MasterStatusID(FK)    int  YES  A foreign key to the MasterStatusID column in the SXAANCMasterStatus table. 
FontColor    varchar(50)  YES  defines the foreground color to display for the status column in user's worklist 
FlagColor    varchar(50)  YES  defines the background color to display for the status column in user's worklist 
IsImageAvailable    bit  YES  true if image is available when exam reaches this state 
OrderStatusGUID    HVCIDdt  YES  Refers to the order status that should change in SXA order. When an exam reaches the current RIS status, Sunrise order status will be updated accordingly. Null will specify that no updates will be made to Sunrise Order 
AncillaryTypeID    int  NO  Ancilliary type ID 1 - radiology, 2- sunrise lab etc. 
IsDefaultStatus    bit  NO  Default status for inbound status 
ExternalStatusCode    varchar(2)  YES  indicates what HL7 code to use if an order message for exam is going out with a particualr status 
IsTriggerORM    bit  NO  Checkbox to decide whether to send ORM Message on Exam Save or not. 
IsDictateExam    bit  NO  Enable/Disable Dictate Exam action on ordered exam based this flag. 
StatusType    int  NO  An enumerated type with the following list of possible values: 1 = [Standard],2 = [DICOM], 
StatusTypeCode    varchar(4)  YES  An indicator code to identify this status among those with the same StatusType and same MasterStatusId 
MaxElapsedTime    int  NO  Maximum elaspsed time value for custom status 
InitialRank    tinyint  YES  To Store sequence for intial statuses 
CustomStatusID    int  YES  persists the custom status id 

dbo.SXAANCExamStatus Primary and Unique Keys 
Key Name  Key Type  Keys 
SXAANCExamStatusPK  PrimaryKey  ExamStatusID