STANDARD DATA DICTIONARY #704.004 -- CP_HL7_LOG_REASON FILE 9/29/25 PAGE 1
STORED IN ^MDC(704.004, *** NO DATA STORED YET *** SITE: WWW.BMIRWIN.COM UCI: VISTA,VISTA (VERSION 1.0)
DATA NAME GLOBAL DATA
ELEMENT TITLE LOCATION TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file monitors Clinical Flowsheets HL7 message processing anomalies. These Clinical Flowsheets HL7 messages are referenced via
the CP_HL7_LOG File (#704.002).
DD ACCESS: @
RD ACCESS: @
WR ACCESS: @
DEL ACCESS: @
LAYGO ACCESS: @
AUDIT ACCESS: @
CROSS
REFERENCED BY: CLIO_HL7_LOG(B)
704.004,.01 CLIO_HL7_LOG 0;1 POINTER TO CP_HL7_LOG FILE (#704.002) (Required)
LAST EDITED: MAR 25, 2009
HELP-PROMPT: Answer with CP HL7 LOG entry identifier.
DESCRIPTION:
This field indentifies this entry with an entry in the CP_HL7_LOG file (#704.002).
CROSS-REFERENCE: 704.004^B
1)= S ^MDC(704.004,"B",$E(X,1,30),DA)=""
2)= K ^MDC(704.004,"B",$E(X,1,30),DA)
This cross reference correlates entries in the CP_HL7_LOG FILE (#704.002) with entries in this
file.
A sample cross reference entry would be :
^MDC(704.004,"B",CP_HL7_LOG_IEN,CP_HL7_LOG_REASON_IEN)=""
CROSS-REFERENCE: ^^TRIGGER^704.004^.02
1)= K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^MDC(704.004,D0,0)):^(0),1:"") S X=$P(Y(1),U,2),X=X
S DIU=X K Y S X=DIV N %I,%H,% D NOW^%DTC S X=% X ^DD(704.004,.01,1,2,1.4)
1.4)= S DIH=$G(^MDC(704.004,DIV(0),0)),DIV=X S $P(^(0),U,2)=DIV,DIH=704.004,DIG=.02 D ^DICR
2)= K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^MDC(704.004,D0,0)):^(0),1:"") S X=$P(Y(1),U,2),X=X
S DIU=X K Y S X=DIV N %I,%H,% D NOW^%DTC S X=% X ^DD(704.004,.01,1,2,2.4)
2.4)= S DIH=$G(^MDC(704.004,DIV(0),0)),DIV=X S $P(^(0),U,2)=DIV,DIH=704.004,DIG=.02 D ^DICR
CREATE VALUE)= NOW
DELETE VALUE)= NOW
FIELD)= DATE
This TRIGGER copies the MUMPS 'NOW' date value into the DATE_TIME_ENTERED field (#.02) when a valid
entry is made into this file.
704.004,.02 DATE_TIME_ENTERED 0;2 DATE
INPUT TRANSFORM: S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
LAST EDITED: MAR 25, 2009
HELP-PROMPT: Answer with the DATE/TIME the file entry was created.
DESCRIPTION:
This is the date/time the file entry was created.
WRITE AUTHORITY:
NOTES: TRIGGERED by the CLIO_HL7_LOG field of the CP_HL7_LOG_REASON File
704.004,.1 REASON 1;1 FREE TEXT
INPUT TRANSFORM: K:$L(X)>250!($L(X)<1) X
LAST EDITED: MAR 25, 2009
HELP-PROMPT: Answer must be 1-250 characters in length.
DESCRIPTION: This is the reason this file entry was created.
A sample REASON could be "No term mapper returned for 'DEVICEX'.".
FILES POINTED TO FIELDS
CP_HL7_LOG (#704.002) CLIO_HL7_LOG (#.01)
INPUT TEMPLATE(S):
PRINT TEMPLATE(S):
SORT TEMPLATE(S):
FORM(S)/BLOCK(S):