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 |  External References |  Global Variables Directly Accessed |  Naked Globals |  Local Variables  | All
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: 2

Package Total Routines
Clinical Procedures 2 MDCPURG    ^MDC(704.004    

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'.".

External References

Name Field # of Occurrence
^%DT .02+1
NOW^%DTC .01(XREF 2S), .01(XREF 2K)
^DICR .01(XREF 2n1.4), .01(XREF 2n2.4)

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD(704.004 .01(XREF 2S), .01(XREF 2K)
^MDC(704.004 - [#704.004] .01(XREF 1S), .01(XREF 1K), .01(XREF 2S), .01(XREF 2n1.4), .01(XREF 2K), .01(XREF 2n2.4)

Naked Globals

Name Field # of Occurrence
^(0 .01(XREF 2S), .01(XREF 2n1.4), .01(XREF 2K), .01(XREF 2n2.4)

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% .01(XREF 2S), .01(XREF 2K)
>> %DT .02+1*
%H .01(XREF 2S), .01(XREF 2K)
%I .01(XREF 2S), .01(XREF 2K)
>> D0 .01(XREF 2S), .01(XREF 2K)
>> DA .01(XREF 1S), .01(XREF 1K), .01(XREF 2S), .01(XREF 2K)
>> DIG .01(XREF 2n1.4), .01(XREF 2n2.4)
>> DIH .01(XREF 2n1.4), .01(XREF 2n2.4)
>> DIU .01(XREF 2S), .01(XREF 2K)
DIV .01(XREF 2S), .01(XREF 2n1.4), .01(XREF 2K), .01(XREF 2n2.4)
DIV(0 .01(XREF 2S), .01(XREF 2n1.4), .01(XREF 2K), .01(XREF 2n2.4)
U .01(XREF 2S), .01(XREF 2n1.4), .01(XREF 2K), .01(XREF 2n2.4)
X .01(XREF 1S), .01(XREF 1K), .01(XREF 2S), .01(XREF 2n1.4), .01(XREF 2K), .01(XREF 2n2.4), .02+1*!, .1+1!
Y .01(XREF 2S), .01(XREF 2K), .02+1
Y(1 .01(XREF 2S), .01(XREF 2K)
Info |  Desc |  Directly Accessed By Routines |  Pointer To FileMan Files |  Fields |  External References |  Global Variables Directly Accessed |  Naked Globals |  Local Variables  | All