dbo.CV3OrderReconcileType 
Default Table Name  CV3OrderReconcileType 
Definition  Allows the facility to create order reconciliation type codes and map them to a system-supplied internal order reconciliation type. The internal reconciliation types are enumerated values referenced from CV3EnumReference. 

dbo.CV3OrderReconcileType 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. 
Code    varchar(60)  NO  Order Reconciliation Type code that is mapped to an internal reconciliation type. Defined by the client 
InternalType    int  NO  An enumerated type with the following list of possible values: 0 = [Admission],1 = [Admission from Transfer],2 = [Transfer],3 = [Discharge],4 = [Outpatient], 
IsCommentMandatory    bit  NO  Indicates whether a reconciliation comment must be entered when reconciling an outpatient medication for this reconciliation type. 
IsDisplayMedOrdersOnly    bit  NO  Indicates whether only Medication orders are displayed for reconciliation. 
IsAdmitOutPatMedListInc    bit  NO  Indicates whether the Admission Outpatient Medications List should be included for order reconciliation. Default value is 0. 
MSrepl_tran_version    uniqueidentifier  NO  Optimistic lock identifier. 
IsInactivatedOPOrdersInc    bit  NO 
This column will be used to store whether to include inactivated OP order in a particular reconcilation type 
IncOPOrdersInactivatedDuration    int  YES 
This column will be used to store the date range of inactivated OP orders to be included 
IncOPOrdersInactivatedDurationUnit    int  YES 
This column will be used to store the date range unit of inactivated OP orders to be included. 
IsCompletedOPOrdersInc    bit  NO 
This column will be used to store whether to include completed OP order in a particular reconcilation type 
IncOPOrdersCompletedDuration    int  YES 
This column will be used to store the date range of completed OP orders to be included 
IncOPOrdersCompletedDurationUnit    int  YES 
This column will be used to store the date range Unit of completed OP orders to be included. 
IsClinicalCheckMandatory    bit  NO  Store a flag indicating if clinical check action is mandatory for an order reconciliation type 
IsIncludedOPOrdersInactivatedThisVisitOnly    bit  NO  Flag to include OP orders from this visit only 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 
IsIncludedOPOrdersCompletedThisVisitOnly    bit  NO  Flag to include OP orders from this visit only 

dbo.CV3OrderReconcileType Primary and Unique Keys 
Key Name  Key Type  Keys 
CV3OrderReconcileTypePK  PrimaryKey  GUID