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 |  Accessed By FileMan Db Calls |  Pointer To FileMan Files |  Fields |  ICR |  External References |  Global Variables Directly Accessed |  Naked Globals |  Local Variables  | All
Print Page as PDF
Global: ^NURSF(214

Package: Nursing Service

Global: ^NURSF(214


Information

FileMan FileNo FileMan Filename Package
214 NURS PATIENT Nursing Service

Description

Directly Accessed By Routines, Total: 35

Package Total Routines
Nursing Service 32 ^NURSF(214    NURAAU1    NURACE1    NURACE2    NURARWL2    NURSCPLD    ^NURSF(219.7    NURACE0
NURACE7    NURACEW    NURACEW0    NURAPI    NURARCR1    NURARCRW    NURARNCT    NURARWL1
NURCAS0    NURCAS2    NURCES0    NURCES01    NURCHSUM    NURCUT0    NURCVED0    NURCVPR0
NURCVUT0    NURCYED0    NURSCPL    NURSCPLC    NURSCPLE    NURSCPLU    NURSCUTL    NURSUT1
General Medical Record - IO 3 GMRYUT11    GMRYUT4    GMRYUT9    

Accessed By FileMan Db Calls, Total: 2

Package Total Routines
Nursing Service 2 NURSCPLD    NURSCPLE    

Pointer To FileMan Files, Total: 3

Package Total FileMan Files
Nursing Service 2 NURS LOCATION(#211.4)[2]    NURS AMIS WARD(#213.3)[3]    
Registration 1 PATIENT(#2)[.01]    

Fields, Total: 8

Field # Name Loc Type Details
.01 NAME 0;1 POINTER TO PATIENT FILE (#2)
************************REQUIRED FIELD************************
PATIENT(#2)

  • INPUT TRANSFORM:  S DINUM=X
  • LAST EDITED:  NOV 18, 1987
  • DESCRIPTION:  
    This field contains the name of the person associated with this record.
  • NOTES:  XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
  • CROSS-REFERENCE:  214^B
    1)= S ^NURSF(214,"B",$E(X,1,30),DA)=""
    2)= K ^NURSF(214,"B",$E(X,1,30),DA)
    This is the main index on the 'Name' field of the NURS Patient file.
1 ADMISSION STATUS 0;2 SET
************************REQUIRED FIELD************************
  • 'A' FOR ACTIVE;
  • 'I' FOR INACTIVE;

  • LAST EDITED:  NOV 18, 1987
  • DESCRIPTION:  
    Determines if patient is actively admitted into the hospital.
  • CROSS-REFERENCE:  214^AZ1^MUMPS
    1)= S NURSW=$S('$D(^NURSF(214,DA,0)):"",1:$P(^(0),U,3)) K:(X'="A")&(NURSW'="") ^NURSF(214,"AF","A",NURSW,DA) S:(X="A")&(NURSW'="") ^NURSF(214,"AF","A",NURSW,DA)="" K NURSW
    2)= S NURSW=$S('$D(^NURSF(214,DA,0)):"",1:$P(^(0),U,3)) K:NURSW'="" ^NURSF(214,"AF","A",NURSW,DA) K NURSW
    This mumps index identifies all active patients in the NURS Patient file.
  • CROSS-REFERENCE:  214^C
    1)= S ^NURSF(214,"C",$E(X,1,30),DA)=""
    2)= K ^NURSF(214,"C",$E(X,1,30),DA)
    This is an index on the 'Status' field in the NURS Patient file.
2 NURS LOCATION 0;3 POINTER TO NURS LOCATION FILE (#211.4)
************************REQUIRED FIELD************************
NURS LOCATION(#211.4)

  • INPUT TRANSFORM:  S DIC("S")=$S($D(NURLSCR):"I $S($P($G(^(""I"")),U)="""":1,$P(^(""I""),U)=""A"":1,1:0),$S('$D(^(1)):1,$P(^(1),U)=""A"":1,1:0)",1:"I 1") D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
  • LAST EDITED:  FEB 24, 1995
  • DESCRIPTION:  
    Nursing location to which the patient is admitted. Pointer to the NURS Location File (#211.4)
  • SCREEN:  S DIC("S")=$S($D(NURLSCR):"I $S($P($G(^(""I"")),U)="""":1,$P(^(""I""),U)=""A"":1,1:0),$S('$D(^(1)):1,$P(^(1),U)=""A"":1,1:0)",1:"I 1")
  • EXPLANATION:  Screen to pick out active Nursing locations if a Nursing option is being run.
  • CROSS-REFERENCE:  214^E
    1)= S ^NURSF(214,"E",$E(X,1,30),DA)=""
    2)= K ^NURSF(214,"E",$E(X,1,30),DA)
    This index is on the 'NURS Location' field of the NURS Patient file.
  • CROSS-REFERENCE:  214^AF^MUMPS
    1)= S NURSS=$S('$D(^NURSF(214,DA,0)):"",1:$P(^(0),U,2)) K:(NURSS'="A") ^NURSF(214,"AF","A",X,DA) S:NURSS="A" ^NURSF(214,"AF","A",X,DA)="" K NURSS
    2)= K ^NURSF(214,"AF","A",X,DA)
    This mumps index identifies active records in the NURS Patient file by patient name and NURS Location.
3 NURS BED SECTION 0;4 POINTER TO NURS AMIS WARD FILE (#213.3)
************************REQUIRED FIELD************************
NURS AMIS WARD(#213.3)

  • LAST EDITED:  NOV 06, 1987
  • DESCRIPTION:  
    The nursing bed section of the patient. Pointer to the NURS AMIS Ward (#213.3) file.
4 DATE/TIME ON UNIT 0;5 DATE
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  S %DT="ETX" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  DEC 24, 1987
  • DESCRIPTION:  
    The date and time the patient was admitted to the ward.
5 DATE/TIME DISCHARGE 0;6 DATE

  • INPUT TRANSFORM:  S %DT="ET" D ^%DT S X=Y K:Y<1 X
  • DESCRIPTION:  
    This is the date and time the patient physically left the ward.
6 PHYSICIAN NOTIFIED 0;7 SET
  • 'Y' FOR YES;
  • 'N' FOR NO;

  • DESCRIPTION:  
    Indicates if a physician was notified of patient's admission.
7 PHYSICIAN NOTIFIED DATE/TIME 0;8 DATE

  • INPUT TRANSFORM:  S %DT="ET" D ^%DT S X=Y K:Y<1 X
  • DESCRIPTION:  
    Date and time physician was notified of patient's admission.

ICR, Total: 1

ICR LINK Subscribing Package(s) Fields Referenced Description
ICR #1411
  • General Medical Record - IO
  • NURS LOCATION (2).
    Access: Direct Global Read & w/Fileman

    Direct global read of the "AF" and "E" cross-referencesof the NURS Patient (214) file is supported.Direct global read of the ^NURSF(214,D0,0) node is also supported.

    External References

    Name Field # of Occurrence
    ^%DT 4+1, 5+1, 7+1
    ^DIC 2+1

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^NURSF(214 - [#214] .01(XREF 1S), .01(XREF 1K), 1(XREF 1S), 1(XREF 1K), 1(XREF 2S), 1(XREF 2K), 2(XREF 1S), 2(XREF 1K), 2(XREF 2S), 2(XREF 2K)

    Naked Globals

    Name Field # of Occurrence
    ^(0 1(XREF 1S), 1(XREF 1K), 2(XREF 2S)

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    >> %DT 4+1*, 5+1*, 7+1*
    >> DA .01(XREF 1S), .01(XREF 1K), 1(XREF 1S), 1(XREF 1K), 1(XREF 2S), 1(XREF 2K), 2(XREF 1S), 2(XREF 1K), 2(XREF 2S), 2(XREF 2K)
    DIC 2+1!*
    DIC("S" 2+1*, 2SCR+1*
    >> DIE 2+1
    >> DINUM .01+1*
    >> NURLSCR 2+1, 2SCR+1
    NURSS 2(XREF 2S)
    NURSW 1(XREF 1S), 1(XREF 1K)
    U 1(XREF 1S), 1(XREF 1K), 2(XREF 2S)
    X .01+1, .01(XREF 1S), .01(XREF 1K), 1(XREF 1S), 1(XREF 2S), 1(XREF 2K), 2+1*!, 2(XREF 1S), 2(XREF 1K), 2(XREF 2S)
    2(XREF 2K), 4+1*!, 5+1*!, 7+1*!
    >> Y 2+1, 4+1, 5+1, 7+1
    Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointer To FileMan Files |  Fields |  ICR |  External References |  Global Variables Directly Accessed |  Naked Globals |  Local Variables  | All