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

GMRCY73.m

Go to the documentation of this file.
GMRCY73 ;SLC/JMH,WAT - ICD10 PATCH POST INSTALL ;12/12/13  10:54
 ;;3.0;CONSULT/REQUEST TRACKING;**73**;DEC 27,1997;Build 22
 ;
 ;;UPDATE^XPDID, ICR #2172
 Q
POST ;post install for patch GMRC*3.0*73
 D PROVDIAG
 Q
 ;
PROVDIAG ;script to update the provisional diagnosis
 N GMRCI,GMRCSYS,XPDIDTOT
 S XPDIDTOT=$P(^GMR(123,0),U,4)
 S GMRCI=0,GMRCSYS="ICD"
 F  S GMRCI=$O(^GMR(123,GMRCI)) Q:'GMRCI  D
 .I $D(^GMR(123,GMRCI,30.1)) D
 ..N GMRCDT
 ..S GMRCDT=+^GMR(123,GMRCI,0)
 ..S $P(^GMR(123,GMRCI,30.1),U,2,3)=GMRCDT_U_GMRCSYS
 ..D UPDATE^XPDID(GMRCI)
 D UPDATE^XPDID(XPDIDTOT) H 1
 Q