dbo.CV3Outcome 
Default Table Name  CV3Outcome 
Definition  Defines expected and actual outcomes for a cell in a clinical path at the patient level. 

dbo.CV3Outcome 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. 
ClientGUID(FK)    HVCIDdt  YES  A foreign key to the GUID column in the CV3Client table. 
ChartGUID(FK)    HVCIDdt  YES  A foreign key to the GUID column in the CV3Chart table. 
ClientVisitGUID(FK)    HVCIDdt  YES  A foreign key to the GUID column in the CV3ClientVisit table. 
PathwayVersionGUID(FK)    HVCIDdt  YES  A foreign key to the GUID column in the CV3OrderPathway table. 
PathwayColumnGUID(FK)    HVCIDdt  YES  A foreign key to the GUID column in the CV3OrderPathwayHeader table. 
PathwayRowGUID    HVCIDdt  YES  The link to CV3ClinicalPathwayHeader that indicates which row to use. 
HealthIssueDeclGUID(FK)    HVCIDdt  YES  A foreign key to the GUID column in the CV3HealthIssueDeclaration table. 
ObsCatalogItemGUID(FK)    HVCIDdt  YES  A foreign key to the GUID column in the CV3ObsCatalogItem table. 
ObsCatalogMasterItemGUID(FK)    HVCIDdt  YES  A foreign key to the GUID column in the CV3ObsCatalogMasterItem table. 
Name    varchar(40)  YES  The name of the outcome. 
DataType    int  NO  Indicates the type of data being entered for this outcome. Can only be the restricted or suggested dictionary types or free-text 
Sequence    int  NO  The sequence of this outcome in relation any other outcomes defined for the same row and column combination. 
IsTrackVariance    tinyint  YES  Indicates whether this is a key outcome that needs to have variance tracked for it. 
TemplateValueGUID(FK)    HVCIDdt  YES  A foreign key to the GUID column in the CV3ObsValidValue table. 
TemplateValue    varchar(255)  YES  The expected value, that contains the original expected outcome value to be achieved. 
TemplateLevelNum    int  YES  The level number of the template outcome value. 
ExpectedValueGUID    HVCIDdt  YES  The link to the Obs Valid Value which represents the expected outcome value to be achieved, if it exists. 
ExpectedValue    varchar(255)  YES  The expected outcome value to be achieved. 
ExpectedLevelNum    int  NO  The level number of the expected outcome value. 
ActualValueGUID    HVCIDdt  YES  The valid value that represents the actual outcome value that was achieved, if it exists. 
ActualValue    varchar(255)  YES  The actual outcome value that was achieved. If the Achievement Type is Met or Not Met, the outcome will have an actual value recorded here, and also in an associated Observation of outcome type 
ActualLevelNum    int  YES  The level number of the actual outcome value. 
Status    varchar(10)  YES  The status of the outcome. Either Active or Inactive 
HasComment    bit  NO  Indicates whether there is a comment for the observation for this item. 1 is True; 0 is False 
ObservationGUID    HVCIDdt  YES  Link to the CV3Observation table 
AchievementType    int  NO  Either None, Met, or Not Met. 
VarianceType    int  NO  Either None, Modify Template, or Deviation. 
MSrepl_tran_version    uniqueidentifier  YES  Optimistic lock identifier. 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 

dbo.CV3Outcome Primary and Unique Keys 
Key Name  Key Type  Keys 
CV3OutcomePK  PrimaryKey  GUID