Tables [dbo].[Act_MedAdmin]
Activity table for medication Administration. Replaced by Order_Activity
KeyNameData TypeMax Length (Bytes)NullabilityDescription
Primary Key PK_Act_MedAdmin_ID: IDID[dbo].[uniqueid]9NOT NULLKey to the Act_MedAdmin table
Indexes XAct_MedAd_ActHdrIDForeign Keys FK_Act_MedAdmin_ActivityHeaderID_Act_Hdr_MedAdmin_ID: [dbo].[Act_Hdr_MedAdmin].ActivityHeaderIDActivityHeaderID[dbo].[uniqueid]9NOT NULLActivity Header. Link to Act_Hdr_MedAdmin.ID.
Indexes TWstat_Act_MedAdmin_OrganizationIDForeign Keys FK_Act_MedAdmin_OrganizationID_Organization_ID: [dbo].[Organization].OrganizationIDOrganizationIDnumeric(8,0)5NOT NULLOrganization. Link to Organization.ID.
Indexes Statistic_NoteTypeDEForeign Keys FK_Act_MedAdmin_NoteTypeDE_Note_Type_DE_ID: [dbo].[Note_Type_DE].NoteTypeDEForeign Keys FK_Act_MedAdmin_NoteTypeDE_TemplateVersion_Note_Template_Version_NoteTypeDE_TemplateVersion: [dbo].[Note_Template_Version].NoteTypeDE\TemplateVersionNoteTypeDE[dbo].[dict_id]5NOT NULLNote Type. Link to Note_Type_DE.ID.
Foreign Keys FK_Act_MedAdmin_NoteTypeDE_TemplateVersion_Note_Template_Version_NoteTypeDE_TemplateVersion: [dbo].[Note_Template_Version].NoteTypeDE\TemplateVersionTemplateVersionsmallint2NOT NULLTemplate Version. Link to Note_Template_Version.TemplateVersion. No Longer Used.
EpisodeID[dbo].[uniqueid]9NOT NULLEpisode. No longer Used.
CarePlanDE[dbo].[dict_id]5NOT NULLCare Plan. No Longer Used.
Foreign Keys FK_Act_MedAdmin_OrderSourceDE_Order_Source_DE_ID: [dbo].[Order_Source_DE].OrderSourceDEOrderSourceDE[dbo].[dict_id]5NOT NULLOrder Source. Link to Order_Source_DE.ID.
OrderNumberEXTvarchar(20)20NOT NULLExternal Order Number
FUComment[dbo].[message]255NOT NULLFollow Up Comment.
Indexes XAct_MedAd_AccNumAccessionNumbervarchar(255)255NOT NULLAccession number
Indexes TWstat_Act_MedAdmin_InterfaceSourceIDInterfaceSourceIDsmallint2NOT NULLInterface Source.
Foreign Keys FK_Act_MedAdmin_TestingProviderID_Provider_ID: [dbo].[Provider].TestingProviderIDTestingProviderID[dbo].[uniqueid]9NOT NULLTesting Provider. Link to Provider.ID.
Foreign Keys FK_Act_MedAdmin_WhoForID_Provider_ID: [dbo].[Provider].WhoForIDWhoForID[dbo].[uniqueid]9NOT NULLEntered For Provider. Link to Provider.ID.
Foreign Keys FK_Act_MedAdmin_WhoDidItID_IDX_User_ID: [dbo].[IDX_User].WhoDidItIDWhoDidItID[dbo].[uniqueid]9NOT NULLUser who entered. Link to IDX_User.ID.
PerformedDTTMdatetime8NOT NULLHolds the performed date and time of the activity
RecordedDTTMdatetime8NOT NULLHolds the Recorded Date and Time of the Activity
Check Constraints CK_Act_MedAdmin_HasClinicalWarningFLAG_Yes_Or_No : ([HasClinicalWarningFLAG]='N' OR [HasClinicalWarningFLAG]='Y')HasClinicalWarningFLAG[dbo].[BOOL]1NOT NULLNo Longer Used.
ClinicalDTTMdatetime8NOT NULLClinical Date and Time
Foreign Keys FK_Act_MedAdmin_ClinicalSourceDE_Source_DE_ID: [dbo].[Source_DE].ClinicalSourceDEClinicalSourceDE[dbo].[dict_id]5NOT NULLClinical Source. Link to Source_DE.ID.
Foreign Keys FK_Act_MedAdmin_OrderingProviderID_Provider_ID: [dbo].[Provider].OrderingProviderIDOrderingProviderID[dbo].[uniqueid]9NOT NULLOrdering Provider. Link to Provider.ID.
OrderingProviderName[dbo].[name]255NOT NULLOrdering provider Name.
Cluster Key XcAct_MedAdmin_Person: PatientIDIndexes Statistic_NoteTypeDEForeign Keys FK_Act_MedAdmin_PatientID_Patient_Member_ID: [dbo].[Patient_Member].PatientIDPatientIDnumeric(16,0)9NOT NULLPatient. Link to Person.ID
Indexes TWstat_Act_MedAdmin_ActivityTypeCheck Constraints CK_Act_MedAdmin_ActivityType : ([ActivityType]='MedAd')ActivityTypevarchar(10)10NULL allowedMedAd (Medication Administration)