dbo.SXAMMDispenseSubType |
Default Table Name | SXAMMDispenseSubType |
Definition | This table stores the descriptions of dispense sub types that can be selected for an inpatient dispense. |
dbo.SXAMMDispenseSubType 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. | |
Active | bit | NO | Denotes whether the row is active or not, 0 means the row has been soft deleted or deactivated. | |
DispenseSubTypeID![]() |
int | NO | Auto generated unique primary key value. | |
OrderType | int | NO | An enumerated type with the following list of possible values: 0 = [Regular],1 = [LVP],2 = [IVPB], | |
DispenseSubTypeName | varchar(100) | NO | Identifies the name of the dispense sub type (for example: IVPB LVP, Regular Med, Chemo, TPN, etc.) | |
DispenseSubTypeDesc | varchar(1000) | YES | Identifies the description of the dispense sub type. | |
MaxHangTimeNum | numeric(6, 2) | YES | Identifies the maximum time an IV bag can hang before it must be replaced with a new one. ,Some hospitals say an IV can hang for 18 hrs and others say 24 hrs. |
|
MaxHangTimeUOMCode | varchar(30) | YES | Identifies the Unit Of Measure associated with the Max Hang Time Number. | |
MSrepl_tran_version | uniqueidentifier | NO | Optimistic lock identifier. | |
Duration | smallint | YES | Identifies the duration that is to be defaulted during order entry when generic items of this dispensed sub-type are ordered. Default durations will be processed in the following order of precedence: 1. Mnemonic duration 2. General Mnemonic duration 3. Therapeutic class duration 4. Parent/Ancestor Therapeutic Class duration 5. Dispense sub-type duration |
|
DurationUOMCode | varchar(30) | YES | Identifies the unit of measure for the duration. Links to CV3 unit of measure. | |
LayoutFormat | varchar(250) | YES | This column contains the string format used for the Dispensing Detail Layout. A layout defined here overrides the layout format defined in SXAMMOrderTypeLayout table. For example, |
|
ComponentSeparator | varchar(10) | YES | Separator to use for orders that consist of multiple primary components | |
ChildOrderSeparator | varchar(10) | YES | Separator used between multiple Dispensing Details strings generated for Complex Orders | |
NumberOfComponents | int | YES | Represents the number of non-primary components to be retrieved and processed when generating a dispensing details string | |
LabelFileName | varchar(200) | YES | Label File .rpt name used to load label
|
|
PrepLabelFileName | varchar(200) | YES | Holds the report file name that overrides the default rdl file that prints prep label for the dispense subtype | |
CompoundLabelFileName | varchar(200) | YES | Holds the report file name that overrides the default rdl file that prints compound label for the dispense subtype | |
MSReplrowguid | uniqueidentifier | NO | Unique GUID used to support merge replication. |
dbo.SXAMMDispenseSubType Primary and Unique Keys |
Key Name | Key Type | Keys |
SXAMMDispenseSubTypePK | PrimaryKey | DispenseSubTypeID |