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

Package: Auto Replenishment Ward Stock

Global: ^PS(58.42


Information

FileMan FileNo FileMan Filename Package
58.42 SPMP EXPORT BATCH Auto Replenishment Ward Stock

Description

Directly Accessed By Routines, Total: 14

Package Total Routines
Outpatient Pharmacy 10 PSOORAL1    PSOSPML0    PSOSPML1    PSOSPML2    PSOSPML5    PSOSPML7    PSOSPML8    PSOSPMU1
PSOSPMUT    PSOSPMV    
Auto Replenishment Ward Stock 4 ^PS(58.42    PRESCRIPTIONS    ^PS(59.4    ZERO REPORT SITES    

Accessed By FileMan Db Calls, Total: 14

Package Total Routines
Outpatient Pharmacy 14 PSO451PI    PSOASAP    PSOASAP0    PSOORAL1    PSOSPMDL    PSOSPML0    PSOSPML1    PSOSPML2
PSOSPML4    PSOSPML5    PSOSPML8    PSOSPMU1    PSOSPMUT    PSOSPMV    

Pointer To FileMan Files, Total: 4

Package Total FileMan Files
Kernel 2 STATE(#5)[1]    NEW PERSON(#200)[710#58.42102(1)]
Outpatient Pharmacy 2 OUTPATIENT SITE(#59)[#58.42201(.01)]    PRESCRIPTION(#52)[#58.42001(.01)]    

Fields, Total: 14

Field # Name Loc Type Details
.01 BATCH NUMBER 0;1 NUMBER
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  K:+X'=X!(X>999999999999)!(X<1)!(X?.E1"."1.N) X
  • LAST EDITED:  DEC 13, 2012
  • HELP-PROMPT:  Type a number between 1 and 999999999999, 0 decimal digits.
  • DESCRIPTION:  
    This is the internal batch number used to identify the batch transmitted to the state.
  • CROSS-REFERENCE:  58.42^B
    1)= S ^PS(58.42,"B",$E(X,1,30),DA)=""
    2)= K ^PS(58.42,"B",$E(X,1,30),DA)
1 STATE 0;2 POINTER TO STATE FILE (#5) STATE(#5)

  • LAST EDITED:  FEB 08, 2013
  • HELP-PROMPT:  Select the state to which the batch was transmitted.
  • DESCRIPTION:  
    This is the state the batch was transmitted to.
2 EXPORT TYPE 0;3 SET
  • 'SC' FOR SCHEDULED;
  • 'MA' FOR MANUAL;
  • 'RX' FOR SINGLE RX;
  • 'VD' FOR VOID ONLY;
  • 'ZR' FOR ZERO RPT;

  • LAST EDITED:  SEP 21, 2020
  • HELP-PROMPT:  Choose how the batch was created.
  • DESCRIPTION:  
    This indicates if the batch was created by a scheduled process, manually entered date range or by transmitting a single Rx to the state.
3 BATCH STATUS 0;4 SET
  • 'N' FOR NEW;
  • 'X' FOR EXPORTED;
  • 'E' FOR ERROR(S) FOUND;
  • 'C' FOR CANCELLED;

  • LAST EDITED:  SEP 07, 2012
4 BEGIN RELEASE DATE/TIME 0;5 DATE

  • INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:X<1 X
  • LAST EDITED:  JAN 16, 2013
  • HELP-PROMPT:  Enter the first prescription release date/time included in the batch.
  • DESCRIPTION:  
    This is the first prescription release date/time included in the batch.
5 END RELEASE DATE/TIME 0;6 DATE

  • INPUT TRANSFORM:  S %DT="EST" D ^%DT S X=Y K:X<1 X
  • LAST EDITED:  FEB 08, 2013
  • HELP-PROMPT:  Enter the last prescription release date/time included in the batch.
  • DESCRIPTION:  
    This is the last prescription release/date time included in the batch.
6 EXPORT FILE NAME 0;7 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>100!($L(X)<5) X
  • LAST EDITED:  DEC 13, 2012
  • HELP-PROMPT:  Answer must be 5-100 characters in length.
  • DESCRIPTION:  
    This is the name of the file exported to the state.
7 EXPORTED BY 0;8 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  JAN 16, 2013
  • HELP-PROMPT:  Select the user who ran the batch transmission to the state.
  • DESCRIPTION:  
    This is the user who ran the transmission to the state.
8 DATE/TIME BATCH CREATED 0;9 DATE

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:X<1 X
  • LAST EDITED:  JAN 16, 2013
  • HELP-PROMPT:  Enter the date/time the batch was created.
  • DESCRIPTION:  
    This is the date/time the batch was created.
  • CROSS-REFERENCE:  58.42^AD
    1)= S ^PS(58.42,"AD",$E(X,1,30),DA)=""
    2)= K ^PS(58.42,"AD",$E(X,1,30),DA)
9 DATE/TIME BATCH EXPORTED 0;10 DATE

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:X<1 X
  • LAST EDITED:  JAN 16, 2013
  • HELP-PROMPT:  Enter the date/time the batch was transmitted to the state.
  • DESCRIPTION:  
    This is the date/time the batch was transmitted to the state.
10 CREATED BY 0;11 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  OCT 21, 2020
  • HELP-PROMPT:  Select the user who created the batch.
  • DESCRIPTION:  
    This is the user who created the batch.
100 PRESCRIPTIONS RX;0 POINTER Multiple #58.42001 58.42001

  • DESCRIPTION:  
    This contains information about the prescriptions included in the batch.
102 DEBUG REASON DR;0 Multiple #58.42102 58.42102

  • DESCRIPTION:  
    This information is related to running batch export in debug mode.
200 ZERO REPORT SITES ZRS;0 POINTER Multiple #58.42201 58.42201

  • DESCRIPTION:  
    This contains information about the zero report batch.
  • TECHNICAL DESCR:  
    This field is created by the PSO SPMP Scheduled Export process.

External References

Name Field # of Occurrence
^%DT 4+1, 5+1, 8+1, 9+1
$$FMTE^DILIBF ID8+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(58.42 - [#58.42] IXARXSL+1*, IXARXKL+1!, IXARXKEIC+1!, .01(XREF 1S), .01(XREF 1K), 8(XREF 1S), 8(XREF 1K)

Naked Globals

Name Field # of Occurrence
^(0 ID8+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> %DT 4+1*, 5+1*, 8+1*, 9+1*
>> DA IXARXSL+1, IXARXKL+1, .01(XREF 1S), .01(XREF 1K), 8(XREF 1S), 8(XREF 1K)
>> DA(1 IXARXSL+1, IXARXKL+1
>> DIC ID2+1
U ID8+1
X .01+1!, .01(XREF 1S), .01(XREF 1K), 4+1*!, 5+1*!, 6+1!, 8+1*!, 8(XREF 1S), 8(XREF 1K), 9+1*!
X(1 IXARXSL+1, IXARXKL+1
X(2 IXARXSL+1, IXARXKL+1
>> Y 4+1, 5+1, 8+1, 9+1
Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointer To FileMan Files |  Fields |  External References |  Global Variables Directly Accessed |  Naked Globals |  Local Variables  | All