dbo.CV3OrderReconcile 
Default Table Name  CV3OrderReconcile 
Definition  Occurrence of an order reconciliation. Together with child tables, stores the information about an order reconciliation that is in progress or has completed 

dbo.CV3OrderReconcile Columns 
ColumnName  Domain  Datatype  NULL  Definition 
SiteID    smallint  NO  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)  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. 
TouchedWhen    datetime  NO  The date and time that the row was last updated and will be 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. 
CreatedWhen    datetime  NO  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  NO  A link to the Client 
ChartGUID    HVCIDdt  NO  Link to the CV3Chart table 
ClientVisitGUID    HVCIDdt  NO  A link to the Client Visit 
ReconcileTypeCode    varchar(60)  NO  The type of order reconciliation. Link to Code column of CV3OrderReconcileType table. 
ReconcileStatusType    int  NO  An enumerated type with the following list of possible values: 0 = [Pending],1 = [Incomplete],2 = [Complete],3 = [Replaced],8 = [Entered in Error],9 = [Update Pending],10 = [Review Required],11 = [System Cancel], 
OutpatientMedHistoryType    int  YES  An enumerated type with the following list of possible values: 0 = [None],1 = [Unknown],2 = [No],3 = [Yes], 
MSrepl_tran_version    uniqueidentifier  NO  Optimistic lock identifier. 
ToLocationGuid    HVCIDdt  YES  The user will be prompted for the Transfer To Location when a Pre-Transfer reconciliation is created. Entered To location will not be used to link the reconciliation with a requirement. 
ValidUntilDtm    datetime  YES  Pre-Transfer reconciliation actions are valid until this date/time. 
ClientDocumentGUID    HVCIDdt  YES  The GUID of the reconciliation document associated with the reconciliation. 
PreviousClientVisitGUID    HVCIDdt  YES  The guid of the previous visit used for an admission from transfer reconciliation 
HomeMedicationStatusHistoryGUID    HVCIDdt  YES  The guid of the home medication status history record representing the current home medication status at the time the reconciliation was saved. 
ReviewStatusType    int  YES  Flag that shows whether the order medication reconciliation is reviewed or not. 0 - Incomplete 1 - Completed. 
ReconciliationProviderGUID    HVCIDdt  YES  The link to the Care Provider who reconcile the order 
SourceCode    varchar(30)  YES  Source code 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 
ReconcileDataSourceType    int  YES  Data source for each order reconciliation 

dbo.CV3OrderReconcile Primary and Unique Keys 
Key Name  Key Type  Keys 
CV3OrderReconcilePK  PrimaryKey  GUID