Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: DICE3

DICE3.m

Go to the documentation of this file.
  1. DICE3 ;SFISC/GFT-TRIGGER LOGIC ;8/14/89 12:37
  1. ;;22.2;VA FileMan;;Jan 05, 2016;Build 42
  1. ;;Per VA Directive 6402, this routine should not be modified.
  1. ;;Submitted to OSEHRA 5 January 2015 by the VISTA Expertise Network.
  1. ;;Based on Medsphere Systems Corporation's MSC FileMan 1051.
  1. ;;Licensed under the terms of the Apache License, Version 2.0.
  1. ;
  1. G DIU:DIK=1
  1. ;
  1. DEL ;
  1. G DIU:'DLAY
  1. W !!,$C(7),"ARE YOU SURE YOU WANT TO 'ADD A NEW ENTRY' WHEN THIS "_$P("SET^KILL",U,DIK)_" LOGIC OCCURS"
  1. S %=2 D YN^DICN W ! I %<1 S X=U Q
  1. G DIU:%=1 W "..OK, LET ME THINK A SECOND...",! S X=DCNEW,DICOMP="",DA="^DD("_DI_","_DL_",1,"_DQ_","_9 D DICOMP^DICE1
  1. S DFLD=X F %=9.2:.1 Q:'$D(X(%)) S ^UTILITY("DICE",$J,90+%)=X(%)
  1. DIU S Y=DFLD_" S DIU=X K Y",DA="^DD("_DI_","_DL_",1,"_DQ_","