dbo.CV3HL7UserMap 
Default Table Name  CV3HL7UserMap 
Definition  The mappings of HL7 message fields to Sunrise Clinical Manager user-defined data items. 

dbo.CV3HL7UserMap Columns 
ColumnName  Domain  Datatype  NULL  Definition 
SiteID    smallint  YES  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)  YES  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  YES  The date and time that the row was last updated and will be based on the Enterprise time zone. 
CreatedBy    varchar(50)  YES  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  YES  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. 
Ancillary    varchar(30)  YES  The name of the sending system (from the Application dictionary). 
HL7Message    varchar(3)  YES  The type of HL7 message (for example, ADT, ORM, or ORU). 
Event    varchar(3)  YES  The message event (for example, A01, O01, or R01). 
Segment    varchar(3)  YES  The segment containing the field to be mapped. 
Field    int  NO  The field to be mapped. 
Component    int  NO  The component within the field to be mapped. 
Subcomponent    int  NO  The subcomponent within the field to be mapped. 
Repetition    int  NO  Which repetition of the field to be mapped. 
ObjectName    varchar(60)  YES  The name of Sunrise Clinical Manager domain object that stores user-data value (for example, CV3OrderUserData). 
Attribute    varchar(60)  YES  Not used. 
Usage    varchar(60)  YES  References the Code attribute of an Sunrise Clinical Manager user-defined data item. 
TranslationCode    varchar(30)  YES  The translation to apply to the mapped field’s value. Not implemented 
IsBaseSet    bit  NO  Indicates whether this mapping was supplied as part of the Sunrise Clinical Manager default mappings set. 1 = True; 0 = False 
MSrepl_tran_version    uniqueidentifier  YES  Optimistic lock identifier. 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 

dbo.CV3HL7UserMap Primary and Unique Keys 
Key Name  Key Type  Keys 
CV3HL7UserMapPK  PrimaryKey  GUID