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 |  Found Entries |  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: 13

Package Total Routines
Outpatient Pharmacy 11 PSO451PI    PSOSPMB3    PSOSPMKY    PSOSPML0    PSOSPML1    PSOSPML5    PSOSPML7    PSOSPML8
PSOSPMSP    PSOSPMU1    PSOSPMUT    
Auto Replenishment Ward Stock 2 ^PS(58.41    ^PS(59.4    

Accessed By FileMan Db Calls, Total: 12

Package Total Routines
Outpatient Pharmacy 12 PSO451PI    PSOBPSUT    PSOSPMB3    PSOSPMKY    PSOSPML0    PSOSPML1    PSOSPML2    PSOSPML4
PSOSPMSP    PSOSPMU1    PSOSPMUT    PSOSPMV    

Pointer To FileMan Files, Total: 3

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

Fields, Total: 25

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 (NOT SUPPORTED);
  • 'RSA' FOR Rivest, Shamir & Adleman (Names);
  • 'ECDSA' FOR Elliptic Curve Digital Signature Algorithm (ECDSA);
  • 'EDDSA' FOR Edward-curve Digital Signature Algorithm (EDDSA);

  • LAST EDITED:  SEP 01, 2023
  • 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).
20 ZERO REPORT ASAP VERSION 1;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1) X
    MAXIMUM LENGTH: 10
  • LAST EDITED:  OCT 26, 2020
  • HELP-PROMPT:  Enter Zero Report ASAP Version. Leave blank if state does not require Zero Report. Answer must be 1-10 characters in length.
  • DESCRIPTION:  
    American Society for Automation in Pharmacy (ASAP) Version for Zero Reporting to the State (no prescription fills to report). Leave blank if the state does not require Zero Reporting.
21 SEND EXPORT STATE PARAMETER 0;8 SET
  • '0' FOR SEND TO STATE OF GEOGRAPHIC PHARMACY;
  • '1' FOR BOTH GEO PHARMACY STATE AND STATE OF DELIVERY;
  • '2' FOR SEND TO STATE OF PATIENT DELIVERY;

  • LAST EDITED:  JUN 29, 2021
  • HELP-PROMPT:  Choose the state for the batch export. NOTE: If sending to state of patient delivery, any state(s) you want to receive data will need to be setup in SPMP state parameters.
  • DESCRIPTION:  The Send Export State Parameter field determines how states will be identified for receiving the SPMP batch exports.
    Null or 0 - Use the geographic pharmacy state. 1 - Use both geographic state and state of patient delivery.
    NOTE: Only states that are set up in SPMP State Parameters
    will receive data based on patient delivery
    address. Enter a help desk ticket if you have
    questions or need assistance. 2 - Use the state of patient delivery. Appropriate for Meds by
    Mail only.
22 ZERO REPORT DEFAULT DIVISION 1;2 POINTER TO OUTPATIENT SITE FILE (#59)
************************REQUIRED FIELD************************
OUTPATIENT SITE(#59)

  • LAST EDITED:  JUN 01, 2023
  • HELP-PROMPT:  Enter the Default Division that is used for the Zero Report when the SEND EXPORT STATE PARAMETER field is set to 2 (SEND TO STATE OF PATIENT DELIVERY) for the state.
  • DESCRIPTION:  This field is used to specify the Default Division from file 59 OUTPATIENT SITE that provides the Pharmacy DEA # that will be populated into the Zero Report. When the SEND EXPORT STATE PARAMETER field is set to 2 (SEND TO
    STATE OF PATIENT DELIVERY) for the state, this field must be populated in addition to parameter ZERO REPORT ASAP VERSION in order to generate a Zero Report. Zero Reports are created when there are no controlled substances
    to report to the state for the reporting period.
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.
  • LAST EDITED:  MAR 03, 2016
  • HELP-PROMPT:  Enter the Secure FTP SSH encrypted private key content to be used to send data to the state.
  • 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.
  • LAST EDITED:  MAR 03, 2016
  • HELP-PROMPT:  Enter the Secure FTP SSH encrypted public key text to be used to send data to the state.
  • DESCRIPTION:  
    This is the Secure File Transfer Protocol (sFTP) public key text content.

Found Entries, Total: 1

STATE: 5^25^MASSACHUSETTS    

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!, 20+1!
>> Y 11+1
Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointer To FileMan Files |  Fields |  Found Entries |  External References |  Global Variables Directly Accessed |  Local Variables  | All