STANDARD DATA DICTIONARY #58.2 -- AOU INVENTORY GROUP FILE                                                        3/24/25    PAGE 1
STORED IN ^PSI(58.2,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                        

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
Entries in this file define standard inventories by defining the areas of use and type of inventory items inventoried.  This saves
the user from having to re-define the inventory boundaries every time a particular inventory is scheduled.  Instead, the user can
name inventory groups and the computer then knows what will be inventoried by accessing this file.  



   APPLICATION GROUP(S): PSGW, PSD

CROSS
REFERENCED BY: NAME(B), NARCOTIC AREA OF USE (NAOU)(CS), AREA OF USE (AOU)(WS)



58.2,.01      NAME                   0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>30!(X?.N)!($L(X)<3)!'(X'?1P.E)!(X'?.ANP)!(X[",") X
              LAST EDITED:      APR 10, 1985 
              HELP-PROMPT:      Name must be 3-30 characters, not numeric or starting with punctuation 
              DESCRIPTION:      This group name represents the Areas of Use which are inventoried together as a "batch" or
                                "cluster".  This grouping establishes the elements of the inventory so that they do not have to be 
                                redefined every time the inventory is scheduled.  Inventory groups may be established by (1)
                                location, (2) time, (3) category or "type" of item to be inventoried, or any combination of these
                                three.  

              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER

              CROSS-REFERENCE:  58.2^B 
                                1)= S ^PSI(58.2,"B",$E(X,1,30),DA)=""
                                2)= K ^PSI(58.2,"B",$E(X,1,30),DA)


58.2,1        AREA OF USE (AOU)      1;0 POINTER Multiple #58.21

              DESCRIPTION:      Enter name of AOU that is to be inventoried when specifying this inventory group at the time of
                                creating an inventory date.  This is a way to 'group' commonly inventoried AOUs under an easy to
                                remember inventory group name.  


58.21,.01       AREA OF USE (AOU)      0;1 POINTER TO PHARMACY AOU STOCK FILE (#58.1) (Required) (Multiply asked)

                INPUT TRANSFORM:  S:$D(X) DINUM=X
                LAST EDITED:      FEB 20, 1992 
                HELP-PROMPT:      Enter the AOU for this inventory group. 
                DESCRIPTION:      This contains the name of the AOU that is to be inventoried when selecting this inventory group. 
                                  This points to File 58.1 - Pharmacy AOU Stock File.  

                NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER

                CROSS-REFERENCE:  58.21^B 
                                  1)= S ^PSI(58.2,DA(1),1,"B",$E(X,1,30),DA)=""
                                  2)= K ^PSI(58.2,DA(1),1,"B",$E(X,1,30),DA)

                CROSS-REFERENCE:  58.2^WS^MUMPS 
                                  1)= S ^PSI(58.2,"WS",DA(1),$E(X,1,30))=""
                                  2)= K ^PSI(58.2,"WS",DA(1),$E(X,1,30))
                                  This cross-reference is used to distinguish between inventory groups that belong to the AR/WS
                                  module and those belonging to the CS module.  This cross-reference will identify AR/WS inventory
                                  groups and will be used for lookup and sorting.  



58.21,1         INVENTORY TYPE         1;0 POINTER Multiple #58.22 (Add New Entry without Asking)


58.22,.01         INVENTORY TYPE         0;1 POINTER TO AOU INVENTORY TYPE FILE (#58.16) (Required) (Multiply asked)

                  INPUT TRANSFORM:  S:$D(X) DINUM=X
                  LAST EDITED:      FEB 13, 1992 
                  HELP-PROMPT:      Enter the inventory type(s) for this AOU. 
                  DESCRIPTION:      This contains the inventory type that is to be inventoried within the AOU.  More than one
                                    inventory type can be entered.  The inventory types must have been defined in File 58.16 - AOU
                                    Inventory Type File.  

                  NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER




58.21,2         SORT KEY                 0;2 NUMBER

                  INPUT TRANSFORM:  K:+X'=X!(X>9999999999)!(X<0)!(X?.E1"."5N.N) X
                  LAST EDITED:      NOV 02, 1989 
                  HELP-PROMPT:      Type a Number between 0 and 9999999999, 4 Decimal Digits 
                  DESCRIPTION:
                                    The sort key is used to define the sort order of AOUs within an inventory group.  

                  CROSS-REFERENCE:  58.21^D 
                                    1)= S ^PSI(58.2,DA(1),1,"D",$E(X,1,30),DA)=""
                                    2)= K ^PSI(58.2,DA(1),1,"D",$E(X,1,30),DA)




58.2,2        GROUP DESCRIPTION      2;0   WORD-PROCESSING #58.23

              DESCRIPTION:      This text describes the inventory group and its use, and perhaps the times when normally processed. 
                                This is purely for documentation of your site specific information.  


                DESCRIPTION:      This text describes the inventory group and its use, and perhaps the times when normally
                                  processed.  This is purely for documentation of your site specific information.  




58.2,3        NARCOTIC AREA OF USE (NAOU) 3;0 POINTER Multiple #58.29

              DESCRIPTION:      Enter name of NAOU that is to be inventoried when specifying this inventory group at the time of
                                creating an inventory date.  This is a way to "group" commonly inventoried NAOUs under an easy to
                                remember inventory group name.  


58.29,.01       NARCOTIC AREA OF USE (NAOU) 0;1 POINTER TO DRUG ACCOUNTABILITY STATS FILE (#58.8) (Required) (Multiply asked)

                INPUT TRANSFORM:S:$D(PSDSITE) DIC("S")="I $P(^(0),""^"",2)'=""P"",$P(^(0),""^"",3)=+PSDSITE" D ^DIC K DIC S DIC=DIE
                                ,X=+Y K:Y<0 X S:$D(X) DINUM=X
                LAST EDITED:    SEP 10, 1992 
                HELP-PROMPT:    Enter the NAOU for this inventory group. 
                DESCRIPTION:    This contains the name of the NAOU that is to be inventoried when selecting this inventory group. 
                                This points to File 58.8 - DRUG ACCOUNTABILITY STATS file.  

                TECHNICAL DESCR:Screened pointer to File 58.8 - DRUG ACCOUNTABILITY STATS file.  Screens out entries with type
                                defined as "P" for Primary.  

                SCREEN:         S DIC("S")="I $P(^(0),""^"",2)'=""P"",$P(^(0),""^"",3)=+PSDSITE"
                EXPLANATION:    Select only Controlled Substances locations.
                NOTES:          XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER

                CROSS-REFERENCE:58.29^B 
                                1)= S ^PSI(58.2,DA(1),3,"B",$E(X,1,30),DA)=""
                                2)= K ^PSI(58.2,DA(1),3,"B",$E(X,1,30),DA)

                CROSS-REFERENCE:58.2^CS^MUMPS 
                                1)= S ^PSI(58.2,"CS",DA(1),$E(X,1,30))=""
                                2)= K ^PSI(58.2,"CS",DA(1),$E(X,1,30))
                                3)= DO NOT DELETE
                                This cross-reference is used to distinguish between inventory groups that belong to the AR/WS
                                module and those belonging to the CS module.  This cross-reference will identify CS inventory
                                groups and will be used for lookup and sorting.  



58.29,1         INVENTORY TYPE       1;0 POINTER Multiple #58.291 (Add New Entry without Asking)

                DESCRIPTION:
                                Inventory types are used to group related drugs in a Narcotic Area of Use.  


58.291,.01        INVENTORY TYPE       0;1 POINTER TO AOU INVENTORY TYPE FILE (#58.16) (Required) (Multiply asked)

                  INPUT TRANSFORM:S:$D(X) DINUM=X
                  LAST EDITED:    FEB 13, 1992 
                  HELP-PROMPT:    Enter the inventory types for this NAOU. 
                  DESCRIPTION:    This contains the inventory type that is to be inventoried within the NAOU.  More than one
                                  inventory type can be entered.  The inventory types must be defined in File 58.16 - AOU INVENTORY
                                  TYPE file.  

                  TECHNICAL DESCR:
                                  Pointer to File 58.16 - AOU INVENTORY TYPE file.  

                  NOTES:          XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER




58.29,2         SORT KEY               0;2 NUMBER

                  INPUT TRANSFORM:K:+X'=X!(X>9999999999)!(X<0)!(X?.E1"."5N.N) X
                  LAST EDITED:    FEB 13, 1992 
                  HELP-PROMPT:    Type a Number between 0 and 9999999999, 4 Decimal Digits 
                  DESCRIPTION:
                                  The sort key is used to define the sort order of NAOUs within an inventory group.  

                  CROSS-REFERENCE:58.29^D 
                                  1)= S ^PSI(58.2,DA(1),3,"D",$E(X,1,30),DA)=""
                                  2)= K ^PSI(58.2,DA(1),3,"D",$E(X,1,30),DA)





      FILES POINTED TO                      FIELDS

AOU INVENTORY TYPE (#58.16)       INVENTORY TYPE:INVENTORY TYPE (#.01)
                                  INVENTORY TYPE:INVENTORY TYPE (#.01)

DRUG ACCOUNTABILITY STATS 
                   (#58.8)        NARCOTIC AREA OF USE (NAOU):NARCOTIC AREA OF USE (NAOU) (#.01)

PHARMACY AOU STOCK (#58.1)        AREA OF USE (AOU):AREA OF USE (AOU) (#.01)



INPUT TEMPLATE(S):
PSD INV GROUP                 JUN 15, 1994@09:35  USER #0    
PSGW WARD INVENTORY           MAY 02, 1988        USER #0    

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):