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

GMTSY64.m

Go to the documentation of this file.
  1. GMTSY64 ; SLC/dcm - Health Summary Patch 64 Post init ; 01/06/2003
  1. ;;2.7;Health Summary;**64**;Oct 20, 1995
  1. ;
  1. EN ; Add an occurrance limit of 50 to Remote HS Progress Notes Reports
  1. N IFN,IFN1,NAME,PN
  1. S PN=$O(^GMT(142.1,"B","PROGRESS NOTES",0))
  1. Q:'PN
  1. S NAME="REMOTE"
  1. F S NAME=$O(^GMT(142,"B",NAME)) Q:NAME=""!(NAME]"REMOTEZ") D
  1. . S IFN=$O(^GMT(142,"B",NAME,0))
  1. . Q:'IFN Q:'$O(^GMT(142,IFN,1,0))
  1. . S IFN1=0
  1. . F S IFN1=$O(^GMT(142,IFN,1,IFN1)) Q:'IFN1 I $P(^(IFN1,0),"^",2)=PN D
  1. .. S $P(^GMT(142,IFN,1,IFN1,0),"^",3)=50
  1. Q