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. |
DispensedHeaderID |
|
bigint |
NO |
Auto generated unique primary key value. |
UserGUID |
|
HVCIDdt |
NO |
User GUID for the active provider that is requesting the dispense history information |
ClientGUID |
|
HVCIDdt |
NO |
Client GUID for the patient in context that the provider is requesting the dispense history information for. |
Consent |
|
int |
NO |
Patient Consent Indicator (Y, N, P, X, Z) |
Response |
|
int |
NO |
Definition of RXHRES from Rx Hub (A - Approved, D - Denied, E - Error) |
HasMoreHistory |
|
bit |
NO |
Code Qualification Indicator to indicate whether more than 50 Dispense History records exist |
LastRequestedDate |
|
datetime |
NO |
Enterprise TimeZone - Date of the most recently requested dispense history information (last RXHRES returned) |
EarliestDispensedDate |
|
datetime |
YES |
Visit TimeZone - Last Fill Date of the 'earliest' dispense history medication returned with the latest dispense history response (last RXHRES) |
DispensedErrorInformationXml |
|
xml |
YES |
Data returned from the RXHRES message which contains any error information if the original request has failed. |
Msrepl_tran_version |
|
uniqueidentifier |
NO |
Optimistic lock identifier. |
PBMKey |
|
varchar(80) |
YES |
PHI: Payer information ID for the medical benefit provider |
PlanKey |
|
varchar(80) |
YES |
PHI: Patient Plan ID for the medical benefit provider |
SourceType |
|
int |
NO |
An enumerated type with the following list of possible values: 0 = [None],1 = [Surescripts],2 = [DBMotion], |
CommunityDataLoggingId |
|
int |
YES |
This is to store the ID of the LOG file returned by service |
MSReplrowguid |
|
uniqueidentifier |
NO |
Unique GUID used to support merge replication. |
CommunitySourceDocumentGUID |
|
HVCIDdt |
YES |
GUID of linked source document. New column added for MU3 document generation support. |
ErxDispensedType |
|
int |
NO |
An enumerated type with the following list of possible values: 0 = [None],1 = [Claim],2 = [PharmacyFill], |
DataSourceType |
|
int |
NO |
An enumerated type with the following list of possible values: 0 = [None],1 = [OMP],2 = [OMR], |