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

ACDDIFF.m

Go to the documentation of this file.
  1. ACDDIFF ;IHS/ADC/EDE/KML - remove DIFF reason;
  1. ;;4.1;CHEMICAL DEPENDENCY MIS;;MAY 11, 1998
  1. EN ;EP
  1. ;//^ACDDIC
  1. ;This program will remove the difference reason from the
  1. ;^ACDIIF file or the ^ACDTDC file when the actual placement
  1. ;and recommended placement have been set the same via a edit.
  1. Q:'$D(ACDVISP)
  1. S ACDDA=$O(^ACDIIF("C",ACDVISP,0)) I ACDDA D
  1. .D ^ACDWIIF
  1. .I ACDPLAA=ACDPLAR,ACDPLAA1=ACDPLAR1,ACDDIF'="NONE" S DIE="^ACDIIF(",DA=ACDDA,DR="19///@" D DIE^ACDFMC W !!," *** Deleting invalid difference code now.",*7,*7
  1. .Q
  1. S ACDDA=$O(^ACDTDC("C",ACDVISP,0)) I ACDDA D
  1. .D ^ACDWTDC
  1. .I ACDPLAA=ACDPLAR,ACDPLAA1=ACDPLAR1,ACDDIF'="NONE" S DIE="^ACDTDC(",DA=ACDDA,DR="16///@" D DIE^ACDFMC W !!," *** Deleting invalid difference code now.",*7,*7
  1. .Q