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

TIU1008D.m

Go to the documentation of this file.
  1. TIU1008D ;IHS/MSC/MGH - Data for Post-Install for TIU*1*1008;28-Jan-2011 15:42;DU
  1. ;;1.0;Text Integration Utilities;**1008**;Jun 20, 1997;Build 15
  1. ;
  1. SETDATA ; Set more data for DDEFS (Basic data set in TIUEN1008)
  1. ; -- DDEF Number 1: DISCHARGE INSTRUCTIONS DC
  1. ; -- DDEF Number 2: E-COPY DC
  1. ; -- DDEF Number 3: DISCHARGE INSTRUCTIONS DOC
  1. ; -- DDEF Number 4: E-COPY DISCHARGE INSTR RECEIVED
  1. ; -- DDEF Number 5: E-COPY DISCHARGE INSTR NOT RECEIVED
  1. ; -- Set Print Name, Owner, Status, Exterior Type,
  1. ; National, for call to FILE^DIE:
  1. N TIUI S TIUI=0
  1. F TIUI=1:1:5 D
  1. . S ^XTMP("TIU1008","FILEDATA",TIUI,.03)=^XTMP("TIU1008","BASICS",TIUI,"NAME")
  1. . S ^XTMP("TIU1008","FILEDATA",TIUI,.06)="CLINICAL COORDINATOR"
  1. . S ^XTMP("TIU1008","FILEDATA",TIUI,.07)=$S(TIUI<6:"ACTIVE",1:"TEST")
  1. . S ^XTMP("TIU1008","FILEDATA",TIUI,.04)=$S(TIUI=3:"TITLE",TIUI=4:"TITLE",TIUI=5:"TITLE",1:"DOCUMENT CLASS")
  1. . S ^XTMP("TIU1008","FILEDATA",TIUI,.13)=$S(TIUI>5:"NO",1:"YES")
  1. . I TIUI=1 S ^XTMP("TIU1008","FILEDATA",TIUI,6)="D ENTRY^BTIUPRPN"
  1. ; -- Set Parent:
  1. ; -- Set PIEN node = IEN of parent if known, or if not,
  1. ; set PNUM node = DDEF# of parent
  1. ; Parent must exist by the time this DDEF is created:
  1. S ^XTMP("TIU1008","DATA",1,"PIEN")=3
  1. S ^XTMP("TIU1008","DATA",1,"MENUTXT")="Discharge Instructions"
  1. S ^XTMP("TIU1008","DATA",2,"PIEN")=3
  1. S ^XTMP("TIU1008","DATA",2,"MENUTEXT")="E-Copy"
  1. S ^XTMP("TIU1008","DATA",3,"PNUM")=1
  1. S ^XTMP("TIU1008","DATA",3,"MENUTXT")="Discharge Instructions"
  1. S ^XTMP("TIU1008","DATA",4,"PNUM")=2
  1. S ^XTMP("TIU1008","DATA",4,"MENUTXT")="E-copy discharge instr received"
  1. S ^XTMP("TIU1008","DATA",5,"PNUM")=2
  1. S ^XTMP("TIU1008","DATA",5,"MENUTXT")="E-copy discharge instr not received"
  1. Q