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

BTIUED.m

Go to the documentation of this file.
  1. BTIUED ; IHS/ITSC/LJF - CALLS FROM TIUEDIT ;
  1. ;;1.0;TEXT INTEGRATION UTILITIES;;NOV 04, 2004
  1. ;
  1. ;
  1. VEDIT(DEFAULT) ;EP; -- called to ask user to edit PCC visit
  1. Q:'$D(^XUSEC("TIUZVSIT",DUZ)) ;quit if user doesn't have key
  1. NEW X S X=$$SC^APCLV(+$G(TIU("VISIT")),"I") Q:X="H" ;check service category
  1. I $G(DEFAULT)="" S DEFAULT=$S(X="A":"NO",1:"YES") ;set default if not sent
  1. S Y=$$READ^TIUU("YO","Want to ADD data to this visit",DEFAULT)
  1. I Y S APCDVSIT=+TIU("VISIT") D EN^APCDEFL,EN^APCDEKL,EN2^APCDEKL ;calls to PEPs in PCC
  1. Q