Tables [dbo].[Appointment_Type_DE]
Appointment Types
KeyNameData TypeMax Length (Bytes)NullabilityIdentityDefaultDescription
Cluster Primary Key PK_Appointment_Type_DE_ID: IDIndexes TWstat_Appointment_Type_DE_DefinitionSetID_EntryName_IsCurrentFLAG_ID, TWstat_Appointment_Type_DE_EnterpriseEntryID_EntryName_DefinitionSetID_IsCurrentFLAG_ID, TWstat_Appointment_Type_DE_IsCurrentFLAG_EntryName_DefinitionSetID_ID(3)ID[dbo].[dict_id]5NOT NULL1 - 1Key to the Appointment_Type_DE table.
Indexes TWstat_Appointment_Type_DE_EnterpriseEntryID_EntryName_DefinitionSetID_IsCurrentFLAG_IDEnterpriseEntryID[dbo].[uniqueid]9NOT NULLMaster (enterprise) dictionary surrogate key.  Points to Dictionary_Entry.EnterpriseEntryID
Indexes TWstat_Appointment_Type_DE_DefinitionSetID_EntryName_IsCurrentFLAG_ID, TWstat_Appointment_Type_DE_EnterpriseEntryID_EntryName_DefinitionSetID_IsCurrentFLAG_ID, TWstat_Appointment_Type_DE_IsCurrentFLAG_EntryName_DefinitionSetID_ID(3)DefinitionSetID[dbo].[dict_id]5NOT NULLPoints to Dict_Definition_Set.DefinitionSetID but is typically zero.
Entry[dbo].[dict_id]5NOT NULLCalculated during insert as rowcount + 1 from Dict_Definition_Set for this dictionary and set
Indexes NIX_Appointment_Type_DE_EntryCode_WithIncludeColumns, NIX_Appointment_Type_DE_EntryMnemonic_WithIncludeColumns, NIX_Appointment_Type_DE_EntryName_WithIncludeColumns(3)EntryCode[dbo].[code]10NOT NULLUnique alphanumeric code.  Brief but cryptic.
Indexes NIX_Appointment_Type_DE_EntryCode_WithIncludeColumns, NIX_Appointment_Type_DE_EntryMnemonic_WithIncludeColumns, NIX_Appointment_Type_DE_EntryName_WithIncludeColumns, TWstat_Appointment_Type_DE_DefinitionSetID_EntryName_IsCurrentFLAG_ID, TWstat_Appointment_Type_DE_EnterpriseEntryID_EntryName_DefinitionSetID_IsCurrentFLAG_ID, TWstat_Appointment_Type_DE_IsCurrentFLAG_EntryName_DefinitionSetID_ID(6)EntryName[dbo].[name]255NOT NULLUnique alphanumeric "friendly" display name
Indexes NIX_Appointment_Type_DE_EntryCode_WithIncludeColumns, NIX_Appointment_Type_DE_EntryMnemonic_WithIncludeColumns, NIX_Appointment_Type_DE_EntryName_WithIncludeColumns(3)EntryMnemonic[dbo].[code]10NOT NULLTypically the same as the Code value, but can be blank.  If present, it must be unique.
Indexes NIX_Appointment_Type_DE_EntryCode_WithIncludeColumns, NIX_Appointment_Type_DE_EntryMnemonic_WithIncludeColumns, NIX_Appointment_Type_DE_EntryName_WithIncludeColumns(3)Check Constraints CK_Appointment_Type_DE_IsInactiveFLAG_Yes_Or_No : ([IsInactiveFLAG]='N' OR [IsInactiveFLAG]='Y')IsInactiveFLAG[dbo].[BOOL]1NOT NULLY=row is not active; N=row is active.  (Rows are inactivated rather than deleted for history)
Check Constraints CK_Appointment_Type_DE_IsEnforcedFLAG_Yes_Or_No : ([IsEnforcedFLAG]='N' OR [IsEnforcedFLAG]='Y')IsEnforcedFLAG[dbo].[BOOL]1NOT NULLY=row is readonly;  N=row is modifiable
Indexes NIX_Appointment_Type_DE_EntryCode_WithIncludeColumns, NIX_Appointment_Type_DE_EntryMnemonic_WithIncludeColumns, NIX_Appointment_Type_DE_EntryName_WithIncludeColumns, TWstat_Appointment_Type_DE_DefinitionSetID_EntryName_IsCurrentFLAG_ID, TWstat_Appointment_Type_DE_EnterpriseEntryID_EntryName_DefinitionSetID_IsCurrentFLAG_ID, TWstat_Appointment_Type_DE_IsCurrentFLAG_EntryName_DefinitionSetID_ID(6)Check Constraints CK_Appointment_Type_DE_IsCurrentFLAG_Yes_Or_No : ([IsCurrentFLAG]='N' OR [IsCurrentFLAG]='Y')IsCurrentFLAG[dbo].[BOOL]1NOT NULLUsually 'Y' but occasionally used to subordinate rows.  Not exposed to the end user.
EffectiveDTdatetime8NULL allowedTime of last modification  (not "when this row goes into effect")
ApptTypeCategoryDE[dbo].[dict_id]5NOT NULLCategory. Refers to Appt_Type_Category_DE.ID
PreSchedulingMessage[dbo].[message]255NOT NULLStandard Message for an Appointment before scheduling appointment
PostSchedulingMessage[dbo].[message]255NOT NULLStandard Message for an Appointment post scheduling appointment
AnticipatedDurationsmallint2NOT NULLAnticipated Duration
AnticipatedUsageFactorsmallint2NOT NULLUsage Factor
Check Constraints CK_Appointment_Type_DE_CanStraddleSegmentsFLAG_Yes_Or_No : ([CanStraddleSegmentsFLAG]='N' OR [CanStraddleSegmentsFLAG]='Y')CanStraddleSegmentsFLAG[dbo].[BOOL]1NOT NULLCan Straddle segment Flag
DefaultChargeCodeDE[dbo].[dict_id]5NOT NULLDefault charge code. Refers to Charge_Code_DE.ID
FormSetDE[dbo].[dict_id]5NOT NULLForm Set. Refers to Form_Set_DE.ID
BenefitCategoryDE[dbo].[dict_id]5NOT NULL(0)Benefit Category. Refers to Befefit_Category_DE.ID
Foreign Keys FK_ApptType_MedicareService: [dbo].[Medicare_Type_Of_Service_DE].MedicareTypeOfServiceDEMedicareTypeOfServiceDE[dbo].[dict_id]5NOT NULL(0)Medicare Service Type. Link to Medicare_Type_Of_Service_DE.ID
Check Constraints CK_Appointment_Type_DE_IsTransitionofCareFLAG_Yes_Or_No : ([IsTransitionofCareFLAG]='N' OR [IsTransitionofCareFLAG]='Y')IsTransitionofCareFLAG[dbo].[BOOL]1NOT NULL('N')Flag for Transition of Care
Check Constraints CK_ApptTypeDE_StimRepFLAG : ([IsExcludefromStimulusReportingFLAG]='Y' OR [IsExcludefromStimulusReportingFLAG]='N')IsExcludefromStimulusReportingFLAG[dbo].[BOOL]1NOT NULL('N')Flag to Exclude From Stimulus Reporting.
DoNotGenerateSendChargeTaskbit1NOT NULL((0))Submit Encounter Form will not be generated when the value is 1
DoNotAllowChargesbit1NOT NULL((0))Encounter Form will not be generated when the value is 1.
DoCreateReviewEncounterFormTaskbit1NOT NULL((0))Review encounter form will be generated when value is 1.
IsVirtualVisitFLAG[dbo].[BOOL]1NOT NULL('N')Appointment has been setup as a virtual visit