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

ECXEC1.m

Go to the documentation of this file.
  1. ECXEC1 ;ALB/CMD - Event Capture Extract Message ;May 12, 2021@21:12:10
  1. ;;3.0;DSS EXTRACTS;**181**;Dec 22, 1997;Build 71
  1. ;
  1. ;Reference to ^XMD supported by ICR #10113
  1. ;Reference to ^XMB("NETNAME") supported by ICR #1131
  1. ;Reference to ^TMP($J supported by SACC 2.3.2.5.1
  1. ;
  1. EN ;entry point from ECXEC
  1. N ECMSG,ECX,XMSUB,XMDUZ,XMY,XMTEXT
  1. ;send missing DSS Unit message
  1. S ECX=$O(^TMP($J,"ECXECM","NODSS",0))
  1. I ECX="" Q
  1. S XMSUB="PATIENTS WITH MISSING DSS UNIT in File #721",XMDUZ="DSS SYSTEM"
  1. K XMY S XMY("G.DSS-"_ECGRP_"@"_^XMB("NETNAME"))=""
  1. S ECMSG(1,0)="The DSS-"_ECPACK_" extract (#"_$P(EC23,U,2)_") for "_ECSDN_" through "_ECEDN
  1. S ECMSG(2,0)="contains the following records which do not have DSS UNITS in EVENT CAPTURE"
  1. S ECMSG(3,0)="PATIENT File #721. Please use the option Event Capture - Enter/Edit Patient"
  1. S ECMSG(4,0)="Procedures to edit the records."
  1. S ECMSG(5,0)=""
  1. S ECMSG(6,0)="Patient (SSN) Procedure Date/Time"
  1. S ECMSG(7,0)="------------------------------------------------------------------------------"
  1. S ECMSG(8,0)=""
  1. S ECX=0
  1. F S ECX=$O(^TMP($J,"ECXECM","NODSS",ECX)) Q:ECX="" S ECMSG(8+ECX,0)=^TMP($J,"ECXECM","NODSS",ECX,0)
  1. S XMTEXT="ECMSG(" D ^XMD
  1. Q