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 |  ICR |  External References |  Global Variables Directly Accessed |  Naked Globals |  Local Variables  | All
Print Page as PDF
Global: ^PS(50.8

Package: Inpatient Medications

Global: ^PS(50.8


Information

FileMan FileNo FileMan Filename Package
50.8 IV STATS Inpatient Medications

Description

Directly Accessed By Routines, Total: 27

Package Total Routines
Inpatient Medications 17 PSJI BACKGROUND JOB    ^PS(59.6    IV DRUG    PSIVAMIS    PSIVDCR    PSIVPAT    PSIVPCR    PSIVREC
PSIVRQ    PSIVST2    PSIVSTAT    PSIVWCR    PSIVWRP    PSIVXREF    PSJI COMPILE STATS    TYPE
^PS(50.8    
Drug Accountability 4 PSAPSI    PSAPSI2    PSAPSI3    PSAPSI5    
Outpatient Pharmacy 4 PSOMGMN4    PSOMGMRP    PSOMGREP    PSOMGRP4    
DSS Extracts 1 ECXPIVD    
Kernel 1 ^DIC(19    

Pointer To FileMan Files, Total: 4

Package Total FileMan Files
Registration 2 WARD LOCATION(#42)[#50.802(5)#50.804(.01)#50.804(4)#50.804(8)#50.806(4)#50.808(.01)]    PATIENT(#2)[#50.801(.01)#50.806(.01)]    
Inpatient Medications 1 IV ROOM(#59.5)[.01]    
Kernel 1 NEW PERSON(#200)[#50.807(.01)]    

Fields, Total: 4

Field # Name Loc Type Details
.01 IV ROOM 0;1 POINTER TO IV ROOM FILE (#59.5)
************************REQUIRED FIELD************************
IV ROOM(#59.5)

  • INPUT TRANSFORM:  S DINUM=X
  • LAST EDITED:  MAY 25, 1988
  • DESCRIPTION:  
    Looks at the IV Room file.
  • GROUP:  PSJI
  • NOTES:  XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
  • CROSS-REFERENCE:  50.8^AIVC^MUMPS
    1)= S ^PS(50.8,"AIVC")=$S($D(^PS(59.7,1,20)):$P(^(20),"^"),1:"")
    2)= Q
    Sets cross-ref equal to UD Stats/200 conversion date. S ^PS(50.8,"AIVC")=VERSION NUMBER LAST INITS RUN
.2 LAST COMPILATION .2;1 DATE

  • INPUT TRANSFORM:  S %DT="ESTR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  APR 02, 1990
  • DESCRIPTION:  This is the date when the IV STATS file was last successfully compiled. When an IV cost report is run, this date is displayed on the user's screen. If the last compilation date is more than one day in the past, a
    message is printed warning the user that the cost data may not be accurate.
1 PATIENT 1;0 POINTER Multiple #50.801 50.801

  • DESCRIPTION:  
    Identifies patients which have statistical information in the IV STATS file (50.8).
  • GROUP:  PSJI
2 DATE 2;0 DATE Multiple #50.803 50.803

  • DESCRIPTION:  
    Date of order (the statistics file stores the entries in date order).
  • GROUP:  PSJI

ICR, Total: 5

ICR LINK Subscribing Package(s) Fields Referenced Description
ICR #296
  • Outpatient Pharmacy
  • ICR #435
  • Pharmacy Benefits Management
  • IV DRUG (.01).
    Access: Read w/Fileman

    DISPENSED UNITS (IV DRUG) (1).
    Access: Read w/Fileman

    RETURNED UNITS (IV DRUG) (2).
    Access: Read w/Fileman

    DESTROYED UNITS (IV DRUG) (3).
    Access: Read w/Fileman

    AVERAGE DRUG COST PER UNIT (4).
    Access: Read w/Fileman

    DRUG UNIT (5).
    Access: Read w/Fileman

    TYPE (6).
    Access: Read w/Fileman

    IV ROOM (.01).
    Access: Pointed to

    ICR #472
  • Pharmacy Benefits Management
  • IV DRUG (.01).
    Access: Read w/Fileman

    DISPENSED UNIT (IV DRUG) (1).
    Access: Read w/Fileman

    RETURNED UNITS (IV DRUG) (2).
    Access: Read w/Fileman

    DESTROYED UNITS (IV DRUG) (3).
    Access: Read w/Fileman

    AVERAGE DRUG COST PER UNIT (4).
    Access: Read w/Fileman

    DRUG UNIT (5).
    Access: Read w/Fileman

    TYPE (6).
    Access: Read w/Fileman

    ICR #771
  • Drug Accountability
  • ICR #1879
  • DSS - DECISION SUPPORT SYSTEM EXTRACTS
  • IV ROOM (.01).
    Access: Direct Global Read & w/Fileman

    DATE (.01).
    Access: Direct Global Read & w/Fileman

    IV DRUG (.01).
    Access: Direct Global Read & w/Fileman

    AVERAGE DRUG COST PER UNIT (4).
    Access: Direct Global Read & w/Fileman

    TYPE (6).
    Access: Direct Global Read & w/Fileman

    PATIENT (.01).
    Access: Direct Global Read & w/Fileman

    DISPENSED UNITS (PATIENT) (1).
    Access: Direct Global Read & w/Fileman

    RETURNED UNITS (PATIENT) (2).
    Access: Direct Global Read & w/Fileman

    WARD PTR (4).
    Access: Direct Global Read & w/Fileman

    CANCELED UNITS (PATIENT) (5).
    Access: Direct Global Read & w/Fileman

    From the DATE multiple (50.803).From the IV DRUG multiple (50.805).DSS reads the entire zero node into a local variable.The above fields from the PATIENT multiple (50.806) are used.

    External References

    Name Field # of Occurrence
    ^%DT .2+1

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^PS(50.8 - [#50.8] .01(XREF 1S)
    ^PS(59.7 - [#59.7] .01(XREF 1S)

    Naked Globals

    Name Field # of Occurrence
    ^(20 .01(XREF 1S)

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    >> %DT .2+1*
    >> DINUM .01+1*
    X .01+1, .2+1*!
    >> Y .2+1
    Info |  Desc |  Directly Accessed By Routines |  Pointer To FileMan Files |  Fields |  ICR |  External References |  Global Variables Directly Accessed |  Naked Globals |  Local Variables  | All