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

SD53167P.m

Go to the documentation of this file.
  1. SD53167P ;ALB/JDS - Patch 218 postinit ; Nov 16 1998
  1. ;;5.3;Scheduling;**167**;AUG 13, 1993
  1. ;go through hopital location file printing clinics with '0' starttime
  1. N A,SCCNT,XPDIDTOT,SC D MES^XPDUTL("Searching for Clinics with HOUR CLINC DISPLAY BEGINS of '0'")
  1. S A="",SCCNT=0
  1. F S A=$O(^SC("B",A)) Q:A="" F SC=0:0 S SC=$O(^SC("B",A,SC)) Q:'SC I $P($G(^SC(SC,"SL")),U,3)=0 D
  1. .D MES^XPDUTL($P($G(^SC(SC,0)),U)) S SCCNT=SCCNT+1
  1. I 'SCCNT D MES^XPDUTL("No clinics with HOUR CLINIC DISPLAY BEGINS of '0' found") Q
  1. D MES^XPDUTL(SCCNT_" Clinics Identified")
  1. D MES^XPDUTL("The beginning display time for these clinics will be midnight")
  1. D MES^XPDUTL("To maintain the current start time use the Set up a Clinic [SDBUILD] OPTION")
  1. D MES^XPDUTL("Select the Clinic")
  1. D MES^XPDUTL("Enter '^HOUR' and delete the HOUR CLINIC DISPLAY BEGINS value")