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

BRNOPEN.m

Go to the documentation of this file.
BRNOPEN ; IHS/OIT/LJF - LIST OPEN DISCLOSURES 
 ;;2.0;RELEASE OF INFO SYSTEM;*1*;APR 10, 2003
 ;IHS/OIT/LJF 01/23/2008 PATCH 1 Converted option from print template to routine
 ;                               Added this routine so facility could be asked
 ;
 ;
 D ASKFAC^BRNU(.BRNFAC) I BRNFAC="" Q
 I BRNFAC>0 S BRNFACN=$$GET1^DIQ(90264.2,BRNFAC,.01)
 ;
PRINT ;PRINT OPEN DISCLOSURES
 S FLDS="[CAPTIONED]",BY="FACILITY;S1,@INTERNAL(#.08)",DIC="^BRNREC(",L=0
 I BRNFAC=0 S FR="@,O",TO="ZZZ,O"
 E  S FR=BRNFACN_",O",TO=BRNFACN_",O"
 ;
 K DHIT,DIOEND,DIOBEG
 D EN1^DIP
END ;
 K BRNFAC,BRNFACN,FLDS,BY,FR,TO,DIC,L
 Q