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

Package: Nursing Service

NURS CARE PLAN(#216.8)-->216.84

Sub-Field: 216.84


Information

Parent File Name Number Package
NURS CARE PLAN(#216.8) ORDER INFO 216.84 Nursing Service

Details

Field # Name Loc Type Details
.01 ORDER STATUS DATE/TIME 0;1 DATE

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  NOV 05, 1996
  • DESCRIPTION:  
    The date/time associated with the order information.
  • CROSS-REFERENCE:  216.84^B
    1)= S ^NURSC(216.8,DA(1),"ORD","B",$E(X,1,30),DA)=""
    2)= K ^NURSC(216.8,DA(1),"ORD","B",$E(X,1,30),DA)
    This is the main cross-reference on the Order Status Date/Time field.
  • CROSS-REFERENCE:  216.84^AA^MUMPS
    1)= S NURS=$S($D(^NURSC(216.8,DA(1),"ORD",DA,0)):$P(^(0),"^",2),1:"") S:NURS'="" ^NURSC(216.8,DA(1),"ORD","AA",NURS,9999999-X,DA)="" K NURS
    2)= S NURS=$S($D(^NURSC(216.8,DA(1),"ORD",DA,0)):$P(^(0),"^",2),1:"") K:NURS'="" ^NURSC(216.8,DA(1),"ORD","AA",NURS,9999999-X,DA) K NURS
    This is an inverted time/date mumps cross-reference on the Order Status Date/Time field.
  • CROSS-REFERENCE:  ^^TRIGGER^216.84^2
    1)= K DIV S DIV=X,D0=DA(1),DIV(0)=D0,D1=DA,DIV(1)=D1 S Y(1)=$S($D(^NURSC(216.8,D0,"ORD",D1,0)):^(0),1:"") S X=$P(Y(1),U,4),X=X S DIU=X K Y X ^DD(216.84,.01,1,3,1.1) X ^DD(216.84,.01,1,3,1.4)
    1.1)= S X=DIV S X=$P($G(^NURSC(216.8,DA(1),"ORD",DA,0)),"^",4),X=$S(X]"":X,1:DUZ)
    1.4)= S DIH=$S($D(^NURSC(216.8,DIV(0),"ORD",DIV(1),0)):^(0),1:""),DIV=X S $P(^(0),U,4)=DIV,DIH=216.84,DIG=2 D ^DICR:$O(^DD(DIH,DIG,1,0))>0
    2)= Q
    2.4)= S DIH=$S($D(^NURSC(216.8,DIV(0),"ORD",DIV(1),0)):^(0),1:""),DIV=X S $P(^(0),U,4)=DIV,DIH=216.84,DIG=2 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
    CREATE VALUE)= S X=$P($G(^NURSC(216.8,DA(1),"ORD",DA,0)),"^",4),X=$S(X]"":X,1:DUZ)
    DELETE VALUE)= NO EFFECT
    FIELD)= USER MODIFY
    This cross-reference triggers an entry into the User Modifying field of the Order Info sub-file in the NURS Care Plan (#216.8) file whenever the Order Status Date/Time field is edited.
.02 ORDERABLE 0;2 POINTER TO AGGREGATE TERM FILE (#124.2)
************************REQUIRED FIELD************************
AGGREGATE TERM(#124.2)

  • INPUT TRANSFORM:  S DIC("S")="D EN5^NURCCPU1" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
  • LAST EDITED:  MAR 21, 1989
  • DESCRIPTION:  
    This is the nursing order associated with this problem.
  • SCREEN:  S DIC("S")="D EN5^NURCCPU1"
  • EXPLANATION:  Select only valid orderables.
  • CROSS-REFERENCE:  216.84^AA1^MUMPS
    1)= S NURS=$S($D(^NURSC(216.8,DA(1),"ORD",DA,0)):$P(^(0),"^"),1:"") S:NURS'="" ^NURSC(216.8,DA(1),"ORD","AA",X,9999999-NURS,DA)="" K NURS
    2)= S NURS=$S($D(^NURSC(216.8,DA(1),"ORD",DA,0)):$P(^(0),"^"),1:"") K:NURS'="" ^NURSC(216.8,DA(1),"ORD","AA",X,9999999-NURS,DA) K NURS
    This is an inverted time/date mumps cross-reference on the Orderable field.
1 STATUS 0;3 SET
  • '0' FOR RE-ACTIVATED;
  • '1' FOR DC;

  • LAST EDITED:  MAR 21, 1989
  • DESCRIPTION:  
    The status of the order in question.
  • SCREEN:  S DIC("S")="D EN1^NURCCPU4"
  • EXPLANATION:  Select proper status.
2 USER MODIFYING 0;4 POINTER TO NEW PERSON FILE (#200)
************************REQUIRED FIELD************************
NEW PERSON(#200)

  • LAST EDITED:  JAN 13, 1992
  • DESCRIPTION:  
    The user who made this modification.
    WRITE AUTHORITY: ^
  • NOTES:  TRIGGERED by the ORDER STATUS DATE/TIME field of the ORDER INFO sub-field of the NURS CARE PLAN File
Info |  Details