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

Package: Mental Health Social Services

MHSS SUICIDE FORMS(#9002011.65)-->9002011.651501

Sub-Field: 9002011.651501


Information

Parent File Name Number Package
MHSS SUICIDE FORMS(#9002011.65) SUBSTANCE DRUGS 9002011.651501 Mental Health Social Services

Details

Field # Name Loc Type Details
.01 SUBSTANCE DRUGS 0;1 POINTER TO SUICIDE SUBSTANCE DRUG FILE (#9002014.71) SUICIDE SUBSTANCE DRUG(#9002014.71)

  • LAST EDITED:  MAY 17, 2005
  • CROSS-REFERENCE:  9002011.651501^B
    1)= S ^AMHPSUIC(DA(1),15,"B",$E(X,1,30),DA)=""
    2)= K ^AMHPSUIC(DA(1),15,"B",$E(X,1,30),DA)
  • CROSS-REFERENCE:  ^^TRIGGER^9002011.65^.21
    1)= K DIV S DIV=X,D0=DA(1),DIV(0)=D0,D1=DA S Y(1)=$S($D(^AMHPSUIC(D0,0)):^(0),1:"") S X=$P(Y(1),U,21),X=X S DIU=X K Y S X=DIV I '$D(DIU(0)) S X=DT X ^DD(9002011.651501,.01,1,2,1.4)
    1.4)= S DIH=$G(^AMHPSUIC(DIV(0),0)),DIV=X S $P(^(0),U,21)=DIV,DIH=9002011.65,DIG=.21 D ^DICR
    2)= K DIV S DIV=X,D0=DA(1),DIV(0)=D0,D1=DA S Y(1)=$S($D(^AMHPSUIC(D0,0)):^(0),1:"") S X=$P(Y(1),U,21),X=X S DIU=X K Y S X=DIV I '$D(DIU(0)) S X=DT X ^DD(9002011.651501,.01,1,2,2.4)
    2.4)= S DIH=$G(^AMHPSUIC(DIV(0),0)),DIV=X S $P(^(0),U,21)=DIV,DIH=9002011.65,DIG=.21 D ^DICR
    CREATE VALUE)= I '$D(DIU(0)) S X=DT
    DELETE VALUE)= I '$D(DIU(0)) S X=DT
    FIELD)= #.21
.02 DRUGS IF OTHER 0;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>80!($L(X)<1) X
  • LAST EDITED:  DEC 29, 2004
  • HELP-PROMPT:  Answer must be 1-80 characters in length.
  • CROSS-REFERENCE:  ^^TRIGGER^9002011.65^.21
    1)= K DIV S DIV=X,D0=DA(1),DIV(0)=D0,D1=DA S Y(1)=$S($D(^AMHPSUIC(D0,0)):^(0),1:"") S X=$P(Y(1),U,21),X=X S DIU=X K Y S X=DIV I '$D(DIU(0)) S X=DT X ^DD(9002011.651501,.02,1,1,1.4)
    1.4)= S DIH=$G(^AMHPSUIC(DIV(0),0)),DIV=X S $P(^(0),U,21)=DIV,DIH=9002011.65,DIG=.21 D ^DICR
    2)= K DIV S DIV=X,D0=DA(1),DIV(0)=D0,D1=DA S Y(1)=$S($D(^AMHPSUIC(D0,0)):^(0),1:"") S X=$P(Y(1),U,21),X=X S DIU=X K Y S X=DIV I '$D(DIU(0)) S X=DT X ^DD(9002011.651501,.02,1,1,2.4)
    2.4)= S DIH=$G(^AMHPSUIC(DIV(0),0)),DIV=X S $P(^(0),U,21)=DIV,DIH=9002011.65,DIG=.21 D ^DICR
    CREATE VALUE)= I '$D(DIU(0)) S X=DT
    DELETE VALUE)= I '$D(DIU(0)) S X=DT
    FIELD)= #.21
Info |  Details |  All