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: ^MDK(704.202

Package: Clinical Procedures

Global: ^MDK(704.202


Information

FileMan FileNo FileMan Filename Package
704.202 HEMODIALYSIS STUDY Clinical Procedures

Description

Directly Accessed By Routines, Total: 13

Package Total Routines
Clinical Procedures 13 MDCLN    MDKRPC2    MDKUTL    MDKUTLR    MDPURGE    MDRPCOT    MDRPCOT2    MDRPCOTH
MDWCAN    MDWOR    MDWORC    ^MDK(704.202    MDXMLFM    

Pointer To FileMan Files, Total: 3

Package Total FileMan Files
Clinical Procedures 1 CP TRANSACTION(#702)[.01]    
Kernel 1 NEW PERSON(#200)[.05]    
Registration 1 PATIENT(#2)[.02]    

Fields, Total: 14

Field # Name Loc Type Details
.01 ID 0;1 POINTER TO CP TRANSACTION FILE (#702)
************************REQUIRED FIELD************************
CP TRANSACTION(#702)

  • LAST EDITED:  AUG 08, 2006
  • DESCRIPTION:  
    This field displays the name of the patient whose CP study corresponds to this dialysis treatment.
  • CROSS-REFERENCE:  704.202^B
    1)= S ^MDK(704.202,"B",$E(X,1,30),DA)=""
    2)= K ^MDK(704.202,"B",$E(X,1,30),DA)
  • CROSS-REFERENCE:  ^^TRIGGER^704.202^.02
    1)= K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^MDK(704.202,D0,0)):^(0),1:"") S X=$P(Y(1),U,2),X=X S DIU=X K Y S X=DIV S X=+$P($G(^MDD(702,DA,0)),U) X ^DD(704.202,.01,1,2,1.4)
    1.4)= S DIH=$G(^MDK(704.202,DIV(0),0)),DIV=X S $P(^(0),U,2)=DIV,DIH=704.202,DIG=.02 D ^DICR
    2)= Q
    CREATE VALUE)= S X=+$P($G(^MDD(702,DA,0)),U)
    DELETE VALUE)= NO EFFECT
    FIELD)= #.02
    The Patient field will be triggered whenever the ID field is entered or updated. The trigger value will be the patient number. The Patient field cannot be edited.
.02 PATIENT 0;2 POINTER TO PATIENT FILE (#2) PATIENT(#2)

  • LAST EDITED:  AUG 09, 2006
  • DESCRIPTION:  
    This field displays the name of the patient whose dialysis treatment is stored.
    WRITE AUTHORITY: ^
    UNEDITABLE
  • NOTES:  TRIGGERED by the ID field of the HEMODIALYSIS STUDY File
  • CROSS-REFERENCE:  704.202^C
    1)= S ^MDK(704.202,"C",$E(X,1,30),DA)=""
    2)= K ^MDK(704.202,"C",$E(X,1,30),DA)
.03 STUDY_DATETIME COMPUTED DATE

  • MUMPS CODE:  S X=$P($G(^MDD(702,D0,0)),U,2)
  • ALGORITHM:  S X=$P($G(^MDD(702,D0,0)),U,2)
  • LAST EDITED:  JUL 26, 2005
  • DESCRIPTION:  
    Computed field used to allow automated XML creation with appropriate tag/value pairs.
.04 STUDY_LOCATION COMPUTED

  • MUMPS CODE:  S X=$P($G(^MDS(702.01,+$P($G(^MDD(702,D0,0)),U,4),0)),U,5)
  • ALGORITHM:  S X=$P($G(^MDS(702.01,+$P($G(^MDD(702,D0,0)),U,4),0)),U,5)
  • LAST EDITED:  AUG 08, 2006
  • DESCRIPTION:  
    Computed field used to allow automated XML creation with appropriate tag/value pairs.
.05 USER 0;3 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  NOV 27, 2007
  • DESCRIPTION:  
    This field contains the user who accessed the Hemodialysis study.
.06 DATE/TIME ACCESSED 0;4 DATE

  • INPUT TRANSFORM:  S %DT="ETR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  NOV 27, 2007
  • DESCRIPTION:  
    This field displays the date/time when the hemodialysis study was accessed by the user.
.07 WORKSTATION 0;5 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>45!($L(X)<3) X
  • LAST EDITED:  NOV 27, 2007
  • HELP-PROMPT:  Answer must be 3-45 characters in length.
  • DESCRIPTION:  
    This field contains the workstation that was used by the user to access the hemodialysis study.
.09 STATUS 0;9 SET
  • '0' FOR CLOSED;
  • '1' FOR ACTIVE;
  • '2' FOR DISABLED;

  • LAST EDITED:  NOV 26, 2007
  • DESCRIPTION:  
    This field contains the status of this procedure.
  • CROSS-REFERENCE:  704.202^AS
    1)= S ^MDK(704.202,"AS",$E(X,1,30),DA)=""
    2)= K ^MDK(704.202,"AS",$E(X,1,30),DA)
.1 STUDY DATA .1;0 WORD-PROCESSING #704.2021

  • DESCRIPTION:  
    This field contains the study data XML document in UUEncoded format.
  • LAST EDITED:  OCT 25, 2004
.2 SUMMARY .2;0 WORD-PROCESSING #704.2022

  • DESCRIPTION:  
    This field contains the summary data XML document in UUEncoded format.
  • LAST EDITED:  OCT 25, 2004
.3 FLOWSHEET .3;0 WORD-PROCESSING #704.2023

  • DESCRIPTION:  
    This field contains the flowsheet data XML document in UUEncoded format.
  • LAST EDITED:  OCT 25, 2004
.4 MED LOG .4;0 WORD-PROCESSING #704.2024

  • DESCRIPTION:  
    This field contains the med log data XML document in UUEncoded format.
  • LAST EDITED:  NOV 08, 2004
.5 NOTE LIST .5;0 WORD-PROCESSING #704.2025

  • DESCRIPTION:  
    This field contains the Note List data XML document in UUEncoded format.
  • LAST EDITED:  OCT 12, 2005
.6 EVENT LOG .6;0 WORD-PROCESSING #704.2026

  • DESCRIPTION:  
    This field contains the Event Log data XML document in UUEncoded format.
  • LAST EDITED:  OCT 12, 2005

External References

Name Field # of Occurrence
^%DT .06+1
^DICR .01(XREF 2n1.4)
Y^DIQ ID.02+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD(2 ID.02+1
^DD(704.202 .01(XREF 2S)
^DPT - [#2] ID.02+1
^MDD(702 - [#702] .01(XREF 2S), .03+1, .04+1
^MDK(704.202 - [#704.202] .01(XREF 1S), .01(XREF 1K), .01(XREF 2S), .01(XREF 2n1.4), .02(XREF 1S), .02(XREF 1K), .09(XREF 1S), .09(XREF 1K)
^MDS(702.01 - [#702.01] .04+1

Naked Globals

Name Field # of Occurrence
^(0 ID.02+1, .01(XREF 2S), .01(XREF 2n1.4)

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

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