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 |  Local Variables  | All
Print Page as PDF
Global: ^PS(58.41

Package: Auto Replenishment Ward Stock

Global: ^PS(58.41


Information

FileMan FileNo FileMan Filename Package
58.41 SPMP STATE PARAMETERS Auto Replenishment Ward Stock

Description

Directly Accessed By Routines, Total: 10

Package Total Routines
Outpatient Pharmacy 9 PSO451PI    PSOSPMB3    PSOSPMKY    PSOSPML0    PSOSPML1    PSOSPML5    PSOSPMSP    PSOSPMU1
PSOSPMUT    
Auto Replenishment Ward Stock 1 ^PS(58.41    

Accessed By FileMan Db Calls, Total: 10

Package Total Routines
Outpatient Pharmacy 10 PSO451PI    PSOSPMB3    PSOSPMKY    PSOSPML0    PSOSPML1    PSOSPML2    PSOSPML4    PSOSPMSP
PSOSPMU1    PSOSPMUT    

Pointer To FileMan Files, Total: 2

Package Total FileMan Files
Kernel 1 STATE(#5)[.01]    
Outpatient Pharmacy 1 PRESCRIPTION(#52)[14]    

Fields, Total: 22

Field # Name Loc Type Details
.01 STATE 0;1 POINTER TO STATE FILE (#5)
************************REQUIRED FIELD************************
STATE(#5)

  • LAST EDITED:  JAN 16, 2013
  • HELP-PROMPT:  Select the state for which the parameters apply.
  • DESCRIPTION:  
    This is the state for which the parameters apply.
  • CROSS-REFERENCE:  58.41^B
    1)= S ^PS(58.41,"B",$E(X,1,30),DA)=""
    2)= K ^PS(58.41,"B",$E(X,1,30),DA)
1 ASAP VERSION 0;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1) X
  • LAST EDITED:  DEC 15, 2015
  • HELP-PROMPT:  Answer must be 1-10 characters in length.
  • DESCRIPTION:  
    This is the American Society for Automation in Pharmacy (ASAP) format version required for the State Prescription Monitoring Program (SPMP) data transmission.
2 INCLUDE NON-VETERAN PATIENTS 0;3 SET
  • '1' FOR YES;
  • '0' FOR NO;

  • LAST EDITED:  MAY 21, 2013
  • HELP-PROMPT:  Include prescriptions dispensed to non-veteran patients in the export file?
  • DESCRIPTION:  
    This field indicates whether controlled substances prescriptions dispensed to non-veteran patients should be included in the export file transmitted to the state.
3 REPORTING FREQUENCY IN DAYS 0;4 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>30)!(X<1)!(X?.E1"."1.N) X
  • LAST EDITED:  MAY 23, 2016
  • HELP-PROMPT:  Type a number between 1 and 30, 0 decimal digits.
  • DESCRIPTION:  
    This is the frequency the state requires pharmacies to report data. The value represents the number of days between transmissions of data to the state.
4 OPEN VMS LOCAL DIRECTORY FILE;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
  • LAST EDITED:  JAN 29, 2013
  • HELP-PROMPT:  Answer must be 1-50 characters in length.
  • DESCRIPTION:  
    This is name of the local Open VMS secure directory where the State Prescription Monitoring Program (SPMP) export file will be created before it can be transmitted to the state (e.g., USER$:[SPMP]).
5 FILE NAME PREFIX FILE;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
  • LAST EDITED:  DEC 13, 2012
  • HELP-PROMPT:  Answer must be 1-20 characters in length.
  • DESCRIPTION:  
    This is the prefix that will be appended to the name of the export file transmitted to the state.
6 FILE EXTENSION FILE;3 SET
************************REQUIRED FIELD************************
  • '.TXT' FOR .TXT;
  • '.DAT' FOR .DAT;

  • LAST EDITED:  OCT 05, 2012
  • HELP-PROMPT:  Select the extension of the export file transmitted to the state.
  • DESCRIPTION:  
    This is the extension of the export file transmitted to the state.
7 STATE SFTP SERVER IP ADDRESS FILE;4 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>60!($L(X)<5) X
  • LAST EDITED:  DEC 08, 2015
  • HELP-PROMPT:  Answer must be 5-60 characters in length.
  • DESCRIPTION:  
    This is the secure FTP IP address of the State Prescription Monitoring Program (SPMP) server where the export file will be transmitted to.
8 STATE SFTP SERVER USERNAME FILE;5 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
  • LAST EDITED:  DEC 08, 2015
  • HELP-PROMPT:  Answer must be 1-50 characters in length.
  • DESCRIPTION:  
    This is the secure FTP username at the State Prescription Monitoring Program (SPMP) server where the export file will be transmitted to.
9 STATE SFTP SERVER PORT # FILE;6 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>999999999)!(X<0)!(X?.E1"."1.N) X
  • LAST EDITED:  OCT 29, 2013
  • HELP-PROMPT:  Type a number between 0 and 999999999, 0 decimal digits.
  • DESCRIPTION:  This is the secure FTP port number used by the State Prescription Monitoring Program (SPMP) server to receive the export file.
    If left blank, the default secure FTP port 22 will be used.
10 STATE SFTP SERVER DIRECTORY FILE;7 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
  • LAST EDITED:  OCT 29, 2013
  • HELP-PROMPT:  Answer must be 1-50 characters in length.
  • DESCRIPTION:  This is the directory name at the State Prescription Monitoring Program (SPMP) server where the export file will be saved to.
    If left blank, the default directory will be used.
11 LAST EXPORT DATE RUN EXPORT;1 DATE

  • INPUT TRANSFORM:  S %DT="EX" D ^%DT S X=Y K:X<1 X
  • LAST EDITED:  NOV 26, 2013
  • HELP-PROMPT:  Enter the last date exported to the state.
  • DESCRIPTION:  
    This is the last prescription release date/time exported to the state.
12 TRANSMIT RETURN TO STOCK 0;5 SET
  • '0' FOR NO;
  • '1' FOR YES;

  • LAST EDITED:  AUG 27, 2013
  • HELP-PROMPT:  Indicate whether Return To Stock fills should automatically be transmitted to the state (in a separate file) or if reporting of such records will be handled manually.
  • DESCRIPTION:  
    This field indicates whether Return To Stock fills should automatically be transmitted to the state (in a separate file) or if reporting of such records will be handled manually.
13 SFTP TRANSMISSION MODE 0;6 SET
  • 'A' FOR AUTOMATIC [SSH KEYS];
  • 'M' FOR MANUAL [PASSWORD];

  • LAST EDITED:  MAR 17, 2016
  • HELP-PROMPT:  Indicate whether the sFTP transmissions will happen automatically by a scheduled background job using SSH encryption keys or if it will be performed manually by a user.
  • DESCRIPTION:  
    This field indicates whether the sFTP transmissions will happen automatically by a scheduled background job using SSH (Secure SHell) encryption keys or if it will be performed manually by a user.
14 LAST RET TO STOCK RX EXPORTED EXPORT;4 POINTER TO PRESCRIPTION FILE (#52) PRESCRIPTION(#52)

  • LAST EDITED:  FEB 08, 2013
  • HELP-PROMPT:  Select the last returned to stock prescription transmitted to the state.
  • DESCRIPTION:  
    This is the prescription that contains the last returned to stock fill transmitted to the state.
15 UNIX/LINUX LOCAL DIRECTORY FILE1;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
  • LAST EDITED:  JAN 29, 2013
  • HELP-PROMPT:  Answer must be 1-50 characters in length.
  • DESCRIPTION:  
    This is name of the local Unix/Linux secure directory where the State Prescription Monitoring Program (SPMP) export file will be created before it can be transmitted to the state (e.g., /usr/spmp/).
16 WINDOWS/NT LOCAL DIRECTORY FILE1;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
  • LAST EDITED:  JAN 29, 2013
  • HELP-PROMPT:  Answer must be 1-50 characters in length.
  • DESCRIPTION:  
    This is name of the local Windows/NT secure directory where the State Prescription Monitoring Program (SPMP) export file will be created before it can be transmitted to the state (e.g., D:\SPMP\).
17 RENAME FILE AFTER UPLOAD 0;7 SET
************************REQUIRED FIELD************************
  • '0' FOR NO;
  • '1' FOR YES;

  • LAST EDITED:  MAR 17, 2016
  • HELP-PROMPT:  Answer YES if the export file should be renamed after being uploaded or answer NO if the export file should have the final remote file name extension.
  • DESCRIPTION:  This field indicates whether the data export file should be created and uploaded with a .DAT (or .TXT) directly or if the file should be created and uploaded with a .UP extension and once the upload completes the file
    would be renamed to .DAT (or .TXT).
    NO - File will be uploaded as .DAT/.TXT directly (no renaming)
    YES - File will be uploaded as .UP and then renamed to .DAT/.TXT
18 SFTP SSH KEY FORMAT EXPORT;2 SET
  • 'OSSH' FOR OpenSSH Format (Used by Linux);
  • 'SSH2' FOR SSH2 Format (Used by OpenVMS);

  • LAST EDITED:  FEB 01, 2016
  • HELP-PROMPT:  Choose the sFTP SSH key format used to transmit data to the state.
  • DESCRIPTION:  
    This is the format of the SSH (Secure Shell) public and private keys used to transmit data to the state via Secure File Transfer Protocol (sFTP).
19 SFTP SSH KEY ENCRYPTION EXPORT;3 SET
  • 'DSA' FOR Digital Signature Algorithm;
  • 'RSA' FOR Rivest, Shamir & Adleman (Names);

  • LAST EDITED:  DEC 02, 2015
  • HELP-PROMPT:  Choose the sFTP SSH Key Encryption Algorithm used to transmit data to the state.
  • DESCRIPTION:  
    This is the type of the encryption algorithm of the SSH (Secure Shell) public and private keys used to transmit data to the state via Secure File Transfer Protocol (sFTP).
100 SFTP SSH PRIVATE KEY TEXT PRVKEY;0 WORD-PROCESSING #58.411

  • LAST EDITED:  MAR 03, 2016
  • DESCRIPTION:  
    This is the Secure File Transfer Protocol (sFTP) private key text content.
200 SFTP SSH PUBLIC KEY TEXT PUBKEY;0 WORD-PROCESSING #58.412

  • LAST EDITED:  MAR 03, 2016
  • DESCRIPTION:  
    This is the Secure File Transfer Protocol (sFTP) public key text content.

External References

Name Field # of Occurrence
^%DT 11+1

Global Variables Directly Accessed

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

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> %DT 11+1*
>> DA .01(XREF 1S), .01(XREF 1K)
X .01(XREF 1S), .01(XREF 1K), 1+1!, 3+1!, 4+1!, 5+1!, 7+1!, 8+1!, 9+1!, 10+1!
, 11+1*!, 15+1!, 16+1!
>> Y 11+1
Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointer To FileMan Files |  Fields |  External References |  Global Variables Directly Accessed |  Local Variables  | All