STANDARD DATA DICTIONARY #704.1211 -- CP_KARDEX_EVENTS FILE 3/24/25 PAGE 1 STORED IN ^MDC(704.1211, *** NO DATA STORED YET *** SITE: WWW.BMIRWIN.COM UCI: VISTA,VISTA (VERSION 1.0) DATA NAME GLOBAL DATA ELEMENT TITLE LOCATION TYPE ----------------------------------------------------------------------------------------------------------------------------------- This file supports Clinical Flowsheets scheduled events/actions functionality. DD ACCESS: @ RD ACCESS: @ WR ACCESS: @ DEL ACCESS: @ LAYGO ACCESS: @ AUDIT ACCESS: @ PRIMARY KEY: A (#114) Uniqueness Index: PK (#967) File, Field: 1) EVENT_ID (704.1211,.01) POINTED TO BY: EVENT_ID field (#.02) of the CP_KARDEX_AUDIT File (#704.1212) INDEXED BY: EVENT_ID (PK), CARE_ACTION_ID & DUE_DATE_TIME (TD), CARE_ACTION_ID & STATUS (TS) 704.1211,.01 EVENT_ID 0;1 FREE TEXT (Required) (Key field) INPUT TRANSFORM: K:'$$ISGUID^MDCLIO1(X) X LAST EDITED: APR 23, 2009 HELP-PROMPT: Answer with the system generated GUID for this event. DESCRIPTION: This is a Globally Unique IDentifier (GUID) for this entry. This is maintained nationally so it is the same throughout the enterprise. A sample EVENT ID could be "{69DBD11E-9A8C-4ECE-AFA4-73947218807D}". NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER FIELD INDEX: PK (#967) REGULAR IR LOOKUP & SORTING Unique for: Key A (#114), File #704.1211 Short Descr: Uniqueness Index for Key 'A' of File #704.1211 Description: This will provide a quick reference to all unique events. Set Logic: S ^MDC(704.1211,"PK",$E(X,1,38),DA)="" Kill Logic: K ^MDC(704.1211,"PK",$E(X,1,38),DA) Whole Kill: K ^MDC(704.1211,"PK") X(1): EVENT_ID (704.1211,.01) (Subscr 1) (Len 38) 704.1211,.02 CARE_ACTION_ID 0;2 POINTER TO CP_KARDEX_ACTION FILE (#704.121) (Required) LAST EDITED: APR 23, 2009 HELP-PROMPT: Answer with an identifier for the action for this event. DESCRIPTION: This identifies the action (#704.121) to which this event will be assigned. RECORD INDEXES: TD (#968), TS (#969) 704.1211,.03 DUE_DATE_TIME 0;3 DATE INPUT TRANSFORM: S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X LAST EDITED: APR 23, 2009 HELP-PROMPT: Enter the date/time that this event is to be executed. DESCRIPTION: This is the date/time this event is scheduled to be executed. RECORD INDEXES: TD (#968) 704.1211,.04 COMPLETED_DATE_TIME 0;4 DATE INPUT TRANSFORM: S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X LAST EDITED: APR 23, 2009 HELP-PROMPT: Enter the date/time this event was actually completed. DESCRIPTION: This is the date/time this event was actually done. 704.1211,.05 COMPLETED_BY_ID 0;5 POINTER TO NEW PERSON FILE (#200) LAST EDITED: APR 23, 2009 HELP-PROMPT: Answer with an identifier for the person that completed this event. DESCRIPTION: This identifies the person (file #200) who marked this event as completed. 704.1211,.09 STATUS 0;9 SET (Required) '0' FOR PENDING; '1' FOR COMPLETED; '2' FOR HELD; '3' FOR REFUSED; LAST EDITED: APR 23, 2009 HELP-PROMPT: Select the status of this event. DESCRIPTION: This indicates the status, condition, or state of this event. RECORD INDEXES: TS (#969) 704.1211,.1 COMMENT .1;1 FREE TEXT INPUT TRANSFORM: K:$L(X)>250!($L(X)<1) X LAST EDITED: APR 23, 2009 HELP-PROMPT: Answer must be 1-250 characters in length. DESCRIPTION: This is a free-text, user entered COMMENT for this event. A sample COMMENT could be "This event was completed on time. It was entered late". 704.1211,.991 AUDIT_COUNT ; COMPUTED MUMPS CODE: S X=0 X "F Y=0:0 S Y=$O(^MDC(704.1212,""FKE"",D0,Y)) Q:'Y S X=X+1" S X=$J(X,0,0) ALGORITHM: S X=0 X "F Y=0:0 S Y=$O(^MDC(704.1212,""FKE"",D0,Y)) Q:'Y S X=X+1" (ALWAYS 0 DECIMAL DIGITS) LAST EDITED: APR 23, 2009 DESCRIPTION: This is a calculated count of the number of audits for this event. FILES POINTED TO FIELDS CP_KARDEX_ACTION (#704.121) CARE_ACTION_ID (#.02) NEW PERSON (#200) COMPLETED_BY_ID (#.05) File #704.1211 Record Indexes: TD (#968) RECORD REGULAR IR LOOKUP & SORTING Short Descr: Cross ref by Care Action and Date Description: This will provide a quick reference to care actions and when they are due. Set Logic: S ^MDC(704.1211,"TD",$E(X(1),1,38),$E(X(2),1,30),DA)="" Kill Logic: K ^MDC(704.1211,"TD",$E(X(1),1,38),$E(X(2),1,30),DA) Whole Kill: K ^MDC(704.1211,"TD") X(1): CARE_ACTION_ID (704.1211,.02) (Subscr 1) (Len 38) (forwards) X(2): DUE_DATE_TIME (704.1211,.03) (Subscr 2) (Len 30) (forwards) TS (#969) RECORD REGULAR IR LOOKUP & SORTING Short Descr: Cross ref by Care Action and Status Description: This will provide a quick reference to care actions and their status. Set Logic: S ^MDC(704.1211,"TS",$E(X(1),1,38),$E(X(2),1,30),DA)="" Kill Logic: K ^MDC(704.1211,"TS",$E(X(1),1,38),$E(X(2),1,30),DA) Whole Kill: K ^MDC(704.1211,"TS") X(1): CARE_ACTION_ID (704.1211,.02) (Subscr 1) (Len 38) (forwards) X(2): STATUS (704.1211,.09) (Subscr 2) (Len 30) (forwards) INPUT TEMPLATE(S): PRINT TEMPLATE(S): SORT TEMPLATE(S): FORM(S)/BLOCK(S):