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

RA33PST.m

Go to the documentation of this file.
  1. RA33PST ;HOIFO/SWM-Post Install for RA*5*33 ;10/12/2004
  1. ;;5.0;Radiology/Nuclear Medicine;**33**;Mar 16, 1998
  1. ; IA #3736 grants use of DCERRMSG^PXRMP12I
  1. CRAD ;Create cross-reference for RAD/NUC MED PATIENT file.
  1. ; code below is taken from CRAD^PXRMP12X
  1. N MSG,RESULT,XREF
  1. D BMES^XPDUTL("Creating RAD/NUC MED PATIENT cross-reference.")
  1. ;Set the XREF nodes
  1. S XREF("FILE")=70
  1. S XREF("ROOT FILE")=70.03
  1. S XREF("WHOLE KILL")="K ^PXRMINDX(70)"
  1. S XREF("TYPE")="MU"
  1. S XREF("SHORT DESCR")="Clinical Reminders index."
  1. S XREF("DESCR",1)="This cross-reference builds two indexes, one for finding"
  1. S XREF("DESCR",2)="all patients with a particular radiology procedure and one for finding all"
  1. S XREF("DESCR",3)="the radiology procedures a patient has."
  1. S XREF("DESCR",4)="The indexes are stored in the Clinical Reminders index global as:"
  1. S XREF("DESCR",5)=" ^PXRMINDX(70,""IP"",PROCEDURE,DFN,EXAM DATE,DAS) and"
  1. S XREF("DESCR",6)=" ^PXRMINDX(70,""PI"",DFN,PROCEDURE,EXAM DATE,DAS)"
  1. S XREF("DESCR",7)="respectively."
  1. S XREF("DESCR",8)="For all the details, see the Clinical Reminders Index Technical Guide/Programmer's Manual."
  1. S XREF("USE")="ACTION"
  1. S XREF("EXECUTION")="R"
  1. S XREF("ACTIVITY")="IR"
  1. S XREF("VAL",1)=2
  1. S XREF("VAL",1,"SUBSCRIPT")=1
  1. ;
  1. S XREF("NAME")="ACR"
  1. S XREF("SET")="D SRAD^RAPXRM(.X,.DA)"
  1. S XREF("KILL")="D KRAD^RAPXRM(.X,.DA)"
  1. D CREIXN^DDMOD(.XREF,"k",.RESULT,"","MSG")
  1. ;RESULT="" D DCERRMSG^PXRMP12I(.MSG,.XREF)
  1. Q