Tables [dbo].[Act_Hdr_MedAdmin]
Activity header table for medication administration. Replaced by Order_Activity_Header
KeyNameData TypeMax Length (Bytes)NullabilityDescription
Primary Key PK_Act_Hdr_MedAdmin_ID: IDID[dbo].[uniqueid]9NOT NULLKey to the Act_Hdr_MedAdmin table
Cluster Key XcAct_Hdr_MedAdmin_Person: PatientIDForeign Keys FK_Act_Hdr_MedAdmin_PatientID_Patient_Member_ID: [dbo].[Patient_Member].PatientIDPatientID[dbo].[uniqueid]9NOT NULLPatient. Link to Patient_Member.ID.
Indexes XAct_Hdr_MedAd_VisIDVisitID[dbo].[uniqueid]9NOT NULLVisit Link to Visit.ID.
Indexes XAct_Hdr_MedAd_CurIDCurrentIDnumeric(16,0)9NOT NULLCurrent activity row. Link to the current row in Act_MedAdmin.ID
DocFolderIDnumeric(16,0)9NOT NULLThis is set to 0 by default. Not used for Medication Administration.
CreateDTTMdatetime8NOT NULLDate entry was added.
LastUpdateDTTMdatetime8NOT NULLDate entry was last modified.
Check Constraints CK_Act_Hdr_MedAdmin_HasSecurityFLAG_Yes_Or_No : ([HasSecurityFLAG]='N' OR [HasSecurityFLAG]='Y')HasSecurityFLAG[dbo].[BOOL]1NOT NULLSecurity indicator (no longer used). Y/N.
Check Constraints CK_Act_Hdr_MedAdmin_IsCorrectedFLAG_Yes_Or_No : ([IsCorrectedFLAG]='N' OR [IsCorrectedFLAG]='Y')IsCorrectedFLAG[dbo].[BOOL]1NOT NULLCorrected Indicator (no longer used). Y/N.
Check Constraints CK_Act_Hdr_MedAdmin_HasAnnotationFLAG_Yes_Or_No : ([HasAnnotationFLAG]='N' OR [HasAnnotationFLAG]='Y')HasAnnotationFLAG[dbo].[BOOL]1NOT NULLSet to 'Y' if the activity has an annotation else set to 'N'.  Y/N.
Check Constraints CK_Act_Hdr_MedAdmin_SignatureRequiredFLAG_Yes_Or_No : ([SignatureRequiredFLAG]='N' OR [SignatureRequiredFLAG]='Y')SignatureRequiredFLAG[dbo].[BOOL]1NOT NULLIndicates whether signature is required or not. Y/N.
Check Constraints CK_Act_Hdr_MedAdmin_AcknowledgementReqFLAG_Yes_Or_No : ([AcknowledgementReqFLAG]='N' OR [AcknowledgementReqFLAG]='Y')AcknowledgementReqFLAG[dbo].[BOOL]1NOT NULLIndicates whether acknowledgement is required or not. Y/N.
SignedByProviderID[dbo].[uniqueid]9NOT NULL Signed By Provider. Link to Provider.ID
Indexes TWstat_Act_Hdr_MedAdmin_AckByProviderIDAckByProviderID[dbo].[uniqueid]9NOT NULLProvider who acknowledged. Link to Provider.ID.
NakByProviderID[dbo].[uniqueid]9NOT NULLProvider who rejected. Link to Provider.ID.
Indexes TWstat_Act_Hdr_MedAdmin_ActivityTypeCheck Constraints CK_Act_Hdr_MedAdmin_ActivityType : ([ActivityType]='MedAd')ActivityTypechar(10)10NOT NULLMedAd (Medication administration)
Indexes XAct_Hdr_MedAd_EncIDEncounterID[dbo].[uniqueid]9NOT NULLEncounter. Link to Encounter.ID.
Indexes TWstat_Act_Hdr_MedAdmin_ResultStageCheck Constraints CK_Act_Hdr_MedAdmin_ResultStage_Result_Stage : ([ResultStage]='' OR [ResultStage]='C' OR [ResultStage]='A' OR [ResultStage]='F' OR [ResultStage]='I' OR [ResultStage]='P')ResultStagechar(2)2NOT NULLF = Final.
ParentID[dbo].[uniqueid]9NOT NULLParent identifier (no longer used).
Indexes TWstat_Act_Hdr_MedAdmin_QOClassificationDEQOClassificationDE[dbo].[dict_id]5NOT NULLOrderable Item. Link to QO_Classification_DE.ID. Not used for medication administration.
Check Constraints CK_Act_Hdr_MedAdmin_HasProblemFLAG_Yes_Or_No : ([HasProblemFLAG]='N' OR [HasProblemFLAG]='Y')HasProblemFLAG[dbo].[BOOL]1NOT NULLProblem Indicator (no longer used). Y/N.
ActivityTypeDE[dbo].[dict_id]5NOT NULLActivity Type. Link to Activity_Type_DE.ID
FormDE[dbo].[dict_id]5NOT NULLForm (no longer used). Link to Form_DE.ID.
Check Constraints CK_Act_Hdr_MedAdmin_CompletionStatus_Note_Completion_Status : ([CompletionStatus]='CompAmend' OR [CompletionStatus]='Ammended' OR [CompletionStatus]='Complete' OR [CompletionStatus]='Incomplete')CompletionStatuschar(10)10NOT NULLStatus. 'Complete'
CMSVersionsmallint2NOT NULLCMS Version. Currently 4.