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: 50.311

Package: Inpatient Medications

PRIMARY DRUG(#50.3)-->50.31-->50.311

Sub-Field: 50.311


Information

Parent File Name Number Package
50.31 FORMULARY ALTERNATIVE 50.311 Inpatient Medications

Details

Field # Name Loc Type Details
.01 FORMULARY ALTERNATIVE 0;1 POINTER TO PRIMARY DRUG FILE (#50.3) PRIMARY DRUG(#50.3)

  • INPUT TRANSFORM:  S DIC("S")=$P($G(^PS(50.3,D0,1,D1,0)),"^"),DIC("S")=$S(DIC("S")]"":"I +Y'="_D0_",$G(^PS(50.3,+Y,1,""AFI"","""_DIC("S")_"""))",1:"I 0") D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
  • LAST EDITED:  APR 27, 1993
  • HELP-PROMPT:  Enter a formulary drug that may be used as an alternative to this non-formulary drug.
  • DESCRIPTION:  
    This is a formulary alternative to this non-formulary drug. Any formulary alternatives entered here are shown to non-pharmacists whenever they attempt to order this non-formulary drug.
  • SCREEN:  S DIC("S")=$P($G(^PS(50.3,D0,1,D1,0)),"^"),DIC("S")=$S(DIC("S")]"":"I +Y'="_D0_",$G(^PS(50.3,+Y,1,""AFI"","""_DIC("S")_"""))",1:"I 0")
  • EXPLANATION:  Alternative must be a formulary item and be marked for this application.
  • GROUP:  PS
  • NOTES:  XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
  • CROSS-REFERENCE:  50.311^B
    1)= S ^PS(50.3,DA(2),1,DA(1),1,"B",$E(X,1,30),DA)=""
    2)= K ^PS(50.3,DA(2),1,DA(1),1,"B",$E(X,1,30),DA)
Info |  Details