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

RA12PST5.m

Go to the documentation of this file.
RA12PST5 ;HIRMFO/CRT - Post-init number five (patch seventeen) ;5/19/99
VERSION ;;5.0;Radiology/Nuclear Medicine;**17**;Mar 16, 1998
 ;
EN1 ; *** Editing Event Drivers in the Protocol file ***
 ;
 I $D(^ORD(101,"B","RA RPT 2.3")) D
 . N RA101,RAFDA
 . S RA101=$O(^ORD(101,"B","RA RPT 2.3",0))
 . Q:+RA101'>0
 . S RAFDA(101,RA101_",",770.3)="ORU"
 . S RAFDA(101,RA101_",",770.6)=$$PROID^RA12PST2()
 . S RAFDA(101,RA101_",",770.11)="@"
 . D MSG^RA12PST2("RA RPT 2.3",101),UPDATE^DIE("E","RAFDA")
 . Q
 ;
 I $D(^ORD(101,"B","RA RPT")) D
 . N RA101,RAFDA
 . S RA101=$O(^ORD(101,"B","RA RPT",0))
 . Q:+RA101'>0
 . S RAFDA(101,RA101_",",770.3)="ORU"
 . S RAFDA(101,RA101_",",770.6)=$$PROID^RA12PST2()
 . S RAFDA(101,RA101_",",770.11)="@"
 . D MSG^RA12PST2("RA RPT",101),UPDATE^DIE("E","RAFDA")
 .Q
 ;
 I $D(^ORD(101,"B","RA CANCEL 2.3")) D
 . N RA101,RAFDA
 . S RA101=$O(^ORD(101,"B","RA CANCEL 2.3",0))
 . Q:+RA101'>0
 . S RAFDA(101,RA101_",",770.3)="ORM"
 . S RAFDA(101,RA101_",",770.6)=$$PROID^RA12PST2()
 . S RAFDA(101,RA101_",",770.11)="@"
 . D MSG^RA12PST2("RA CANCEL 2.3",101),UPDATE^DIE("E","RAFDA")
 . Q
 ;
 I $D(^ORD(101,"B","RA CANCEL")) D
 . N RA101,RAFDA
 . S RA101=$O(^ORD(101,"B","RA CANCEL",0))
 . Q:+RA101'>0
 . S RAFDA(101,RA101_",",770.3)="ORM"
 . S RAFDA(101,RA101_",",770.6)=$$PROID^RA12PST2()
 . S RAFDA(101,RA101_",",770.11)="@"
 . D MSG^RA12PST2("RA CANCEL",101),UPDATE^DIE("E","RAFDA")
 . Q
 ;
 I $D(^ORD(101,"B","RA REG 2.3")) D
 . N RA101,RAFDA
 . S RA101=$O(^ORD(101,"B","RA REG 2.3",0))
 . Q:+RA101'>0
 . S RAFDA(101,RA101_",",770.3)="ORM"
 . S RAFDA(101,RA101_",",770.6)=$$PROID^RA12PST2()
 . S RAFDA(101,RA101_",",770.11)="@"
 . D MSG^RA12PST2("RA REG 2.3",101),UPDATE^DIE("E","RAFDA")
 . Q
 ;
 I $D(^ORD(101,"B","RA REG")) D
 . N RA101,RAFDA
 . S RA101=$O(^ORD(101,"B","RA REG",0))
 . Q:+RA101'>0
 . S RAFDA(101,RA101_",",770.3)="ORM"
 . S RAFDA(101,RA101_",",770.6)=$$PROID^RA12PST2()
 . S RAFDA(101,RA101_",",770.11)="@"
 . D MSG^RA12PST2("RA REG",101),UPDATE^DIE("E","RAFDA")
 . Q
 ;
 I $D(^ORD(101,"B","RA EXAMINED 2.3")) D
 . N RA101,RAFDA
 . S RA101=$O(^ORD(101,"B","RA EXAMINED 2.3",0))
 . Q:+RA101'>0
 . S RAFDA(101,RA101_",",770.3)="ORM"
 . S RAFDA(101,RA101_",",770.6)=$$PROID^RA12PST2()
 . S RAFDA(101,RA101_",",770.11)="@"
 . D MSG^RA12PST2("RA EXAMINED 2.3",101),UPDATE^DIE("E","RAFDA")
 . Q
 ;
 I $D(^ORD(101,"B","RA EXAMINED")) D
 . N RA101,RAFDA
 . S RA101=$O(^ORD(101,"B","RA EXAMINED",0))
 . Q:+RA101'>0
 . S RAFDA(101,RA101_",",770.3)="ORM"
 . S RAFDA(101,RA101_",",770.6)=$$PROID^RA12PST2()
 . S RAFDA(101,RA101_",",770.11)="@"
 . D MSG^RA12PST2("RA EXAMINED",101),UPDATE^DIE("E","RAFDA")
 . Q
 ;
 ; *** End Editing Event Drivers in Protocol File ***
 D DELITEM^RA12PST2 ; Delete obsolete ITEM multiples
 Q