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

AGPOSTP4.m

Go to the documentation of this file.
  1. AGPOSTP4 ; IHS/ASDS/EFG - AGMENU EXIT ACTION MODIFICATION
  1. ;;7.1;PATIENT REGISTRATION;;AUG 25,2005
  1. ;
  1. EN ;EP -- Update AGMENU exit action to include call to HL7 routine
  1. ;Get DA of AGMENU option from "B" xref on OPTION file
  1. ;
  1. S DA="" F S DA=$O(^DIC(19,"B","AGMENU",DA)) Q:DA="" D
  1. .S J=^DIC(19,DA,15)
  1. .D EDIT
  1. Q
  1. EDIT ;Edit the AGMENU option's exit action to add call to HL7 routine
  1. S AGXACT="D ^AGHL7,PHDR^AG,KILL^AG I $D(AGSADUZ2) S DUZ(2)=AGSADUZ2 K AGSADUZ2"
  1. S DIE="^DIC(19,"
  1. S DR="15///^S X=AGXACT"
  1. D ^DIE
  1. Q