Print Page as PDF
DBIA 3230 Imaging Device file entry ICR (3230)

DBIA 3230 Imaging Device file entry    ICR (3230)

Name Value
NUMBER 3230
IA # 3230
DATE CREATED 2000/10/24
CUSTODIAL PACKAGE KERNEL
CUSTODIAL ISC San Francisco
USAGE Private
TYPE Other
DBIC APPROVAL STATUS APPROVED
NAME DBIA 3230 Imaging Device file entry
GENERAL DESCRIPTION
This request is to allow the VistA Imaging package to
add a HFS device to the DEVICE file and a Terminal Type entry; this is done
during the installation of the Imaging application. The entry for the Device
file will be named IMAGING WORKSTATION and the Terminal Type file entry will
be named P-IMAGING. This device is used by the GUI portions of VistA Imaging
to generate DHCP reports into a global array format.

The following is the code used to create this device:

EN      ;Create an entry in the Device file for an Imaging workstation.
;
TERM    N A,DA,DD,DO,DIC,DIE,ENTRY,X,Y
W !,"I will setup the 'P-IMAGING' entry in the Terminal Type file."
I $D(^%ZIS(2,"B","P-IMAGING")) D  G DEV
. W !,"An entry already exists for 'P-IMAGING' in the Terminal Type
file
."
;Set the entry
S DIC="^%ZIS(2,"
S X="P-IMAGING",DIC(0)="O" K DD,D0 D FILE^DICN
S ENTRY=+Y G:'ENTRY ERRDEV
S DR=".02///0;1///80;2///"_"#"_";4///"_"$C(8)"_";7///"_"D
CLOSE^MAGGTU5; 3///64"
S DA=ENTRY,DIE="^%ZIS(2," D ^DIE
;.02/SELECTABLE AT SIGNON;1/RIGHT MARGIN;2/FORM FEED;4/BACK SPACE
;7/CLOSE EXECUTE;3/PAGE LENGTH DEV     N
A,DA,DD,DO,DIC,DIE,ENTRY,X,Y,MAGOS
W !,"I will setup an 'Imaging Workstation' entry in the Device file."
I $D(^%ZIS(1,"B","IMAGING WORKSTATION")) D  Q
. W !,"An entry already exists for 'IMAGING WORKSTATION' in the Device
f ile."
S DIC="^%ZIS(1,"
S X="IMAGING WORKSTATION",DIC(0)="O" K DD,D0 D FILE^DICN
S ENTRY=+Y G:'ENTRY ERRDEV
I ^%ZOSF("OS")["DSM" D
. S MAGOS="DSM"
. S DA=ENTRY,DR=".02///"_"BROKER"_";3///"_"P-IMAGING"_";1///"_"WS.DAT"
. S DR=DR_";4///0;5///0;19///"_"(NEWVERSION,DELETE)"_";2///"_"HFS"
. S DIE="^%ZIS(1,"
I ^%ZOSF("OS")["OpenM" D
. S MAGOS="OPENM"
. S DA=ENTRY,DR=".02///"_"BROKER"_";3///"_"P-IMAGING"_";1///"_"WS.DAT"
. S DR=DR_";4///0;5///0;19///"_"""NWS"""_";2///"_"HFS"
. S DIE="^%ZIS(1,"
I ^%ZOSF("OS")["MSM" D
. S MAGOS="MSM"
. S DA=ENTRY,DR=".02///"_"BROKER"_";3///"_"P-IMAGING"_";1///"_"WS.DAT"
. S DR=DR_";4///0;5///0;19///"_"(""WS.DAT"":""M"")"_";2///"_"HFS"
. S DIE="^%ZIS(1,"
I $D(MAGOS) D ^DIE
;.02/LOCATION OF TERMINAL;3/SUBTYPE;1/$I;4=ASK DEVICE;5/ASK PARAMETERS
;19/OPEN PARAMETERS;2/TYPE
Q ERRDEV  ;
W !,"Could not setup the IMAGING WORKSTATION entry in the Device
file."
W !,"Could not setup the P-IMAGING entry in the Terminal Type file."
MSG     W !,"Please review the Installation Manual to create this entry."
Q
STATUS Active
DURATION Till Otherwise Agreed
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC SUBSCRIBING DETAILS
IMAGING Washington/Silver Spring
Will be used to created Device and Terminal type
entries used by VistA Imaging for displaying DHCP reports on the VistA Imaging
GUI application.