Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Desc |  Directly Accessed By Routines |  Pointer To FileMan Files |  Fields
Print Page as PDF
Global: ^MDC(704.004

Package: Clinical Procedures

Global: ^MDC(704.004


Information

FileMan FileNo FileMan Filename Package
704.004 CP_HL7_LOG_REASON Clinical Procedures

Description

Directly Accessed By Routines, Total: 1

Package Total Routines
Clinical Procedures 1 MDCPURG    

Pointer To FileMan Files, Total: 1

Package Total FileMan Files
Clinical Procedures 1 CP_HL7_LOG(#704.002)[.01]    

Fields, Total: 3

Field # Name Loc Type Details
.01 CLIO_HL7_LOG 0;1 POINTER TO CP_HL7_LOG FILE (#704.002)
************************REQUIRED FIELD************************
CP_HL7_LOG(#704.002)

  • 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.
.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
.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'.".
Info |  Desc |  Directly Accessed By Routines |  Pointer To FileMan Files |  Fields