dbo.SXAMMPharmacyInpatientDefault 
Default Table Name  SXAMMPharmacyInpatientDefault 
Definition  This entity contains print information for the inpatient order dispense
Table to hold pharmacy inpatient default print settings 

dbo.SXAMMPharmacyInpatientDefault 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. 
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. 
PharmacyInpatientDefaultID(PK)    int  NO  Auto generated unique primary key value. 
PharmacyID(FK)    int  NO  A foreign key to the PharmacyID column in the SXAMMPharmacy table. 
DispenseSubTypeID(FK)    int  NO  A foreign key to the DispenseSubTypeID column in the SXAMMDispenseSubType table. 
LabelPrinterGUID    HVCIDdt  YES  Identifies the Default Label Printer that is to be used for the Inpatient Labels. Links to the CV3LogicalPrinter table. 
LabelCopiesNum    smallint  YES  Identifies the default number of label copies to be printed 
MonographPrinterGUID    HVCIDdt  YES  Identifies the Default Monograph Printer that is to be used for the Inpatient Monograph. Links to the CV3LogicalPrinter table. 
MonographCopiesNum    smallint  YES  Default number of Monograph copies to be printed 
ProfMonographPrinterGUID    HVCIDdt  YES  Identifies the Default Professional Monograph Printer that is to be used for the Inpatient Monograph. Links to the CV3LogicalPrinter table. 
ProfMonographCopiesNum    smallint  YES  Default number of Professional Monograph copies to be printed 
ReportCopiesNum    smallint  YES  Identifies the number of report copies that should be printed.

,This field is used as a default number of copies to be printed for the IVPB/LVP filling reports and medication removal reports. 
ReportPrinterGUID    HVCIDdt  YES  Identifies the Default Report Printer that is to be used for the Inpatient Reports. Links to the CV3LogicalPrinter table. 
MSrepl_tran_version    uniqueidentifier  NO  Optimistic lock identifier. 
STATPrinterGUID    HVCIDdt  YES  Routing STAT labels feature (part of 'Label Routing-Workflow Improvements').

GUID of the printer, from HVCLogicalPrintLocation table, which will be used as STAT printer for the pharmacy. In a way similar to existing column LabelPrinterGUID. 
STATCopiesNum    smallint  YES  Routing STAT labels feature (part of 'Label Routing-Workflow Improvements').

Number of stat labels to be printed at the STAT printer of the pharmacy. Similar to existing column LabelCopiesNum. 
SecondaryLabelPrinterGUID    HVCIDdt  YES  Secondary printer for initial labels 
SecondaryLabelCopiesNum    smallint  YES  Number of copies of labels on secondary printer by default. 
CanPrintPrepLabel    bit  NO  This column indicates if Prep Label will be printed for the dispense subtype 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 

dbo.SXAMMPharmacyInpatientDefault Primary and Unique Keys 
Key Name  Key Type  Keys 
SXAMMPharmacyInpatientDefaultPK  PrimaryKey  PharmacyInpatientDefaultID