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

ONC2PS09.m

Go to the documentation of this file.
  1. ONC2PS09 ;Hines OIFO/RTK - Post-Install Routine for Patch ONC*2.2*9 ;03/27/18
  1. ;;2.2;ONCOLOGY;**9**;Jul 31, 2013;Build 3
  1. ;
  1. ;N RC
  1. ;DC production server.
  1. ;S RC=$$UPDCSURL^ONCSAPIU("http://127.0.0.1:1757/cgi_bin/oncsrv.exe")
  1. ;DC test server, comment out for final release.
  1. ;S RC=$$UPDCSURL^ONCSAPIU("http://127.0.0.1:1755/cgi_bin/oncsrv.exe")
  1. ;
  1. D XRF1693
  1. Q
  1. ;
  1. ;Re-Index the "B", "C" and "D" cross-references on File #169.3
  1. XRF1693 ;
  1. D BMES^XPDUTL("Re-indexing 'B', 'C' and 'D' cross-references of File #169.3...")
  1. N DIK
  1. S DIK="^ONCO(169.3,",DIK(1)=".01^B"
  1. D ENALL2^DIK ;Kill existing "B" cross-reference.
  1. D ENALL^DIK ;Re-create "B" cross-reference.
  1. S DIK="^ONCO(169.3,",DIK(1)="1^D"
  1. D ENALL2^DIK ;Kill existing "D" cross-reference.
  1. D ENALL^DIK ;Re-create "D" cross-reference.
  1. ;next do x-ref on .01 of SYNONYM (field #2) subfile
  1. S IEN=0 F S IEN=$O(^ONCO(169.3,IEN)) Q:IEN'>0 D
  1. .I '$D(^ONCO(169.3,IEN,1)) Q
  1. .S DIK="^ONCO(169.3,IEN,1,",DIK(1)=".01^C",DA(1)=IEN D ENALL2^DIK
  1. .S DIK="^ONCO(169.3,IEN,1,",DIK(1)=".01^C",DA(1)=IEN D ENALL^DIK
  1. ;
  1. D BMES^XPDUTL("Done Re-indexing the File #169.3 cross-references...")
  1. ;
  1. Q