Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Details
Print Page as PDF
Sub-Field: 59.79003

Package: Pharmacy Data Management

PHARMACY SYSTEM(#59.7)-->59.79003

Sub-Field: 59.79003


Information

Parent File Name Number Package
PHARMACY SYSTEM(#59.7) PBM DA PHARM LOC MAPPINGS 59.79003 Pharmacy Data Management

Details

Field # Name Loc Type Details
.01 DA PHARMACY LOCATION 0;1 POINTER TO DRUG ACCOUNTABILITY STATS FILE (#58.8) DRUG ACCOUNTABILITY STATS(#58.8)

  • INPUT TRANSFORM:  S DIC("S")="I $P(^(0),U,2)=""P""" D ^DIC K DIC S DIC=DIE,X=+Y,DINUM=X K:Y<0 X,DINUM
  • LAST EDITED:  NOV 19, 2003
  • HELP-PROMPT:  Must be 'P'rimary to be selectable.
  • DESCRIPTION:  The DA PHARMACY LOCATIONS are selectable from the DRUG ACCOUNTABILITY STATS file (#58.8). Only DA Pharmacy Locations that have a 'P' for 'Primary' in the LOCATION TYPE field (#.01) can be selected.
    A DA Pharmacy Location MUST be mapped to either a medical center division or an outpatient site for procurement data to be attributed to the appropriate division or outpatient site when extracted by the PBM application.
  • SCREEN:  S DIC("S")="I $P(^(0),U,2)=""P"""
  • EXPLANATION:  A Drug Accountability Location must be active and 'P'rimary in file #58.8.
  • NOTES:  XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
  • CROSS-REFERENCE:  59.79003^B
    1)= S ^PS(59.7,DA(1),90.03,"B",$E(X,1,30),DA)=""
    2)= K ^PS(59.7,DA(1),90.03,"B",$E(X,1,30),DA)
.02 DIVISION 0;2 POINTER TO MEDICAL CENTER DIVISION FILE (#40.8) MEDICAL CENTER DIVISION(#40.8)

  • INPUT TRANSFORM:  S DIC("S")="I '$P(^PS(59.7,1,90.03,DA,0),U,3)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
  • LAST EDITED:  NOV 19, 2003
  • DESCRIPTION:  The Medical Center division to which the DA Pharmacy Location is to be mapped to, in order for procurement data from the DA application to be assigned to the correct division when extracted by the PBM application.
    A DA Pharmacy Location CANNOT be mapped to both a division and an Outpatient site.
  • SCREEN:  S DIC("S")="I '$P(^PS(59.7,1,90.03,DA,0),U,3)"
  • EXPLANATION:  A DA Pharmacy Location CANNOT be mapped to both a division and an outpatient site.
.03 OUTPATIENT SITE 0;3 POINTER TO OUTPATIENT SITE FILE (#59) OUTPATIENT SITE(#59)

  • INPUT TRANSFORM:  S DIC("S")="I '$P(^PS(59.7,1,90.03,DA,0),U,2)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
  • LAST EDITED:  NOV 19, 2003
  • DESCRIPTION:  An outpatient pharmacy site to which the DA Pharm Location is to be mapped to, in order for procurement data from the DA Pharmacy Location application to be attributed to the current Outpatient site when extracted by the
    PBM application.
    A DA Pharm Location CANNOT be mapped to BOTH a division and an Outpatient site.
  • SCREEN:  S DIC("S")="I '$P(^PS(59.7,1,90.03,DA,0),U,2)"
  • EXPLANATION:  A DA Pharmacy Location CANNOT be mapped to both a division and an outpatient site.
Info |  Details