Module

uConst

Path

C:\CPRS\CPRS30\uConst.pas

Last Modified

7/15/2014 3:26:44 PM

Initialization Code

initialization
  ScrollBarWidth := GetSystemMetrics(SM_CXVSCROLL);

end.

Global Variables

Name Type Declaration Comments
ScrollBarWidth Integer ScrollBarWidth: integer = 0; -

Constants

Name Declaration Scope Comments
CaptionProperty 'Caption' Interfaced -
CC_ALL 1 Interfaced Consult context - all Consults
CC_BY_DATE 5 Interfaced Consult context - Consults by date range
CC_BY_SERVICE 4 Interfaced Consult context - Consults by Service
CC_BY_STATUS 2 Interfaced Consult context - Consults by Status
CC_CLICK 0 Interfaced Change Context Types
CC_CUSTOM 6 Interfaced Custom consults list
CC_INIT_PATIENT 1 Interfaced -
CC_NOTIFICATION 2 Interfaced -
CC_REFRESH 3 Interfaced -
CC_RESUME 4 Interfaced -
CC_TV_TEXT array[CC_ALL..CC_CUSTOM] of string = Interfaced -
CH_CON 15 Interfaced Consults
CH_DOC 10 Interfaced
Changes object item types 

 TIU documents (progress notes)
CH_ORD 20 Interfaced Orders
CH_PCE 30 Interfaced Encounter Form items
CH_SIGN_NA 0 Interfaced Signature not applicable (checkbox is greyed)
CH_SIGN_NO 2 Interfaced Don't obtain signature (checkbox is unchecked)
CH_SIGN_YES 1 Interfaced
Changes object signature requirements 

 Obtain signature (checkbox is checked)
CH_SUM 12 Interfaced Discharge Summaries {*REV*}
CH_SUR 18 Interfaced Surgery reports
CT_CONSULTS 7 Interfaced Chart tab - consults
CT_COVER 1 Interfaced Chart tab - cover sheet
CT_DCSUMM 8 Interfaced Chart tab - discharge summaries
CT_HP 5 Interfaced Chart tab - history & physical
CT_LABS 9 Interfaced Chart tab - laboratory results
CT_MEDS 3 Interfaced Chart tab - medications screen
CT_NOPAGE -1 Interfaced
Tab Indexes, moved from fFrame 

 chart tab - none selected
CT_NOTES 6 Interfaced Chart tab - progress notes
CT_ORDERS 4 Interfaced Chart tab - doctor's orders
CT_PROBLEMS 2 Interfaced Chart tab - problem list
CT_REPORTS 10 Interfaced Chart tab - reports
CT_SURGERY 11 Interfaced Chart tab - surgery
CT_UNKNOWN 0 Interfaced Chart tab - unknown (shouldn't happen)
DCL_CLINPROC 'CLINICAL PROCEDURES' Interfaced -
DCL_CONSULTS 'CONSULTS' Interfaced TIU National Document Class Names
DCL_SURG_NON_OR 'PROCEDURE REPORT (NON-O.R.)' Interfaced -
DCL_SURG_OR 'SURGICAL REPORTS' Interfaced -
DGSR_ASK 2 Interfaced -
DGSR_DENY 3 Interfaced -
DGSR_FAIL -1 Interfaced Sensitive Patient Access
DGSR_NONE 0 Interfaced -
DGSR_SHOW 1 Interfaced -
Digits '0123456789' Interfaced -
DISCONTINUED_ORDER '2' Interfaced -
DR_ADMIN 'A' Interfaced -
DR_CANCEL 'CANCEL' Interfaced -
DR_NOTREQ '' Interfaced -
DR_PRIVACY 'P' Interfaced TIU Delete Document Reasons
DrawersProperty 'Drawers' Interfaced -
DT_FUTURE 'F' Interfaced Validate Date/Times
DT_MMDDREQ 'E' Interfaced -
DT_PAST 'P' Interfaced -
DT_TIMEOPT 'T' Interfaced -
DT_TIMEREQ 'R' Interfaced -
FN_HOSPITAL_LOCATION 44 Interfaced File Numbers
FN_NEW_PERSON 200 Interfaced -
IMG_1_IMAGE 1 Interfaced -
IMG_2_IMAGES 2 Interfaced -
IMG_ADDENDUM 11 Interfaced -
IMG_ASCENDING 12 Interfaced -
IMG_BLANK 14 Interfaced -
IMG_CHILD_HAS_IMAGES 4 Interfaced -
IMG_DESCENDING 13 Interfaced -
IMG_GMRC_ALL_PROC 6 Interfaced -
IMG_GMRC_CLINPROC 5 Interfaced -
IMG_GMRC_CONSULT 3 Interfaced -
IMG_GMRC_GROUP_OPEN 2 Interfaced -
IMG_GMRC_GROUP_SHUT 1 Interfaced -
IMG_GMRC_IFC_CONSULT 7 Interfaced -
IMG_GMRC_IFC_PROC 8 Interfaced -
IMG_GMRC_PROC 4 Interfaced -
IMG_GMRC_TOP_LEVEL 0 Interfaced Consults Treeview Icons
IMG_GROUP_OPEN 2 Interfaced -
IMG_GROUP_SHUT 1 Interfaced -
IMG_ID_CHILD 9 Interfaced -
IMG_ID_CHILD_ADD 10 Interfaced -
IMG_IDNOTE_OPEN 6 Interfaced -
IMG_IDNOTE_SHUT 5 Interfaced -
IMG_IDPAR_ADDENDA_OPEN 8 Interfaced -
IMG_IDPAR_ADDENDA_SHUT 7 Interfaced -
IMG_IMAGES_HIDDEN 5 Interfaced -
IMG_MANY_IMAGES 3 Interfaced -
IMG_NO_IMAGES 6 Interfaced TIU Imaging icons
IMG_NONE -1 Interfaced TIU ListView sort indicators
IMG_PARENT 4 Interfaced -
IMG_SINGLE 3 Interfaced -
IMG_SURG_ADDENDUM 9 Interfaced -
IMG_SURG_BLANK 0 Interfaced Surgery TreeView Icons
IMG_SURG_CASE_EMPTY 4 Interfaced -
IMG_SURG_CASE_OPEN 6 Interfaced -
IMG_SURG_CASE_SHUT 5 Interfaced -
IMG_SURG_GROUP_OPEN 3 Interfaced -
IMG_SURG_GROUP_SHUT 2 Interfaced -
IMG_SURG_NON_OR_CASE_EMPTY 10 Interfaced -
IMG_SURG_NON_OR_CASE_OPEN 12 Interfaced -
IMG_SURG_NON_OR_CASE_SHUT 11 Interfaced -
IMG_SURG_RPT_ADDM 8 Interfaced -
IMG_SURG_RPT_SINGLE 7 Interfaced -
IMG_SURG_TOP_LEVEL 1 Interfaced -
IMG_TOP_LEVEL 0 Interfaced TIU TreeView icons
LOC_ALL 0 Interfaced Location Types
LOC_INP 2 Interfaced -
LOC_OUTP 1 Interfaced -
LowerCaseLetters 'abcdefghijklmnopqrstuvwxyz' Interfaced -
MAX_ENTRY_WIDTH 80 Interfaced Change in 23.9 for D/S, Consult, and Surgery Notes AGP
MAX_KEYVARS 10 Interfaced -
MAX_PROGRESSNOTE_WIDTH 80 Interfaced -
MED_ACTIVE 0 Interfaced
Status groups for medications 

 status is an active status (active, hold, on call)
MED_DC 2 Interfaced -
MED_HOLD 3 Interfaced -
MED_NEW 1 Interfaced -
MED_NONACTIVE 2 Interfaced Status is a non-active status (expired, dc'd, ...)
MED_NONE 0 Interfaced Actions for medications
MED_PENDING 1 Interfaced Status is a pending status (non-verified)
MED_REFILL 5 Interfaced -
MED_RENEW 4 Interfaced -
NAE_CLOSE 'END' Interfaced -
NAE_NEWPT 'XPT' Interfaced -
NAE_OPEN 'BEG' Interfaced Notify Application Events
NAE_ORDER 'ORD' Interfaced -
NAE_REPORT 'RPT' Interfaced -
NC_ALL 1 Interfaced Note context - all signed notes
NC_BY_AUTHOR 4 Interfaced Note context - signed notes by author
NC_BY_DATE 5 Interfaced Note context - signed notes by date range
NC_CUSTOM 6 Interfaced Note Context - custom view
NC_RECENT 0 Interfaced
TIU View Contexts 

 Note context - last n signed notes
NC_SEARCHTEXT 7 Interfaced
Text Search CQ: HDS00002856

 Note Content - search for text
NC_TV_TEXT array[CT_NOTES..CT_DCSUMM] of array[NC_RECENT..NC_BY_DATE] of string = Interfaced TIU TreeView context strings
NC_UNCOSIGNED 3 Interfaced Note context - all uncosigned notes
NC_UNSIGNED 2 Interfaced Note context - all unsigned notes
NF_ABNORMAL_IMAGING_RESULTS 25 Interfaced -
NF_ABNORMAL_LAB_RESULTS 14 Interfaced -
NF_ANATOMIC_PATHOLOGY_RESULTS 71 Interfaced -
NF_CONSULT_PROC_INTERPRETATION 66 Interfaced -
NF_CONSULT_REQUEST_CANCEL_HOLD 30 Interfaced -
NF_CONSULT_REQUEST_RESOLUTION 23 Interfaced -
NF_CONSULT_REQUEST_UPDATED 63 Interfaced -
NF_CONSULT_UNSIGNED_NOTE 902 Interfaced -
NF_CRITICAL_LAB_RESULTS 57 Interfaced -
NF_DC_ORDER 62 Interfaced -
NF_DCSUMM_UNSIGNED_NOTE 901 Interfaced -
NF_DEA_AUTO_DC_CS_MED_ORDER 74 Interfaced -
NF_DEA_CERT_REVOKED 75 Interfaced -
NF_DNR_EXPIRING 45 Interfaced -
NF_FLAGGED_OI_EXP_INPT 64 Interfaced -
NF_FLAGGED_OI_EXP_OUTPT 65 Interfaced -
NF_FLAGGED_OI_ORDER 61 Interfaced -
NF_FLAGGED_OI_RESULTS 60 Interfaced -
NF_FLAGGED_ORDERS 6 Interfaced -
NF_IMAGING_REQUEST_CANCEL_HELD 26 Interfaced -
NF_IMAGING_REQUEST_CHANGED 67 Interfaced -
NF_IMAGING_RESULTS 22 Interfaced -
NF_IMAGING_RESULTS_AMENDED 53 Interfaced -
NF_LAB_ORDER_CANCELED 42 Interfaced -
NF_LAB_RESULTS 3 Interfaced Notification Types
NF_LAB_THRESHOLD_EXCEEDED 68 Interfaced -
NF_MAMMOGRAM_RESULTS 69 Interfaced -
NF_MEDICATIONS_EXPIRING_INPT 47 Interfaced -
NF_MEDICATIONS_EXPIRING_OUTPT 72 Interfaced -
NF_NEW_ORDER 50 Interfaced -
NF_NEW_SERVICE_CONSULT_REQUEST 27 Interfaced -
NF_NOTES_UNSIGNED_NOTE 903 Interfaced -
NF_ORDER_REQUIRES_COSIGNATURE 37 Interfaced -
NF_ORDER_REQUIRES_ELEC_SIGNATURE 12 Interfaced -
NF_ORDERER_FLAGGED_RESULTS 33 Interfaced -
NF_PAP_SMEAR_RESULTS 70 Interfaced -
NF_SITE_FLAGGED_RESULTS 32 Interfaced -
NF_STAT_RESULTS 44 Interfaced -
NF_SURGERY_UNSIGNED_NOTE 904 Interfaced -
NF_UNVERIFIED_MEDICATION_ORDER 48 Interfaced -
NF_UNVERIFIED_ORDER 59 Interfaced -
NO_PHONE 'P' Interfaced -
NO_POLICY 'I' Interfaced -
NO_PROVIDER 'E' Interfaced -
NO_VERBAL 'V' Interfaced -
NO_WRITTEN 'W' Interfaced -
NONVAMEDGROUP 'Non-VA Meds' Interfaced Group Name
NONVAMEDTXT 'Non-VA' Interfaced -
NPF_ALL 0 Interfaced New Person Filters
NPF_PROVIDER 1 Interfaced -
NPF_SUPPRESS 9 Interfaced NPF_ENCOUNTER = 2;
OA_ALERT 'AL' Interfaced -
OA_CHANGE 'XX' Interfaced -
OA_CHART 'CR' Interfaced -
OA_CHGEVT 'EV' Interfaced -
OA_COMMENT 'CM' Interfaced -
OA_COMPLETE 'CP' Interfaced -
OA_COPY 'RW' Interfaced Order action codes
OA_DC 'DC' Interfaced -
OA_EDREL 'MN' Interfaced -
OA_FLAG 'FL' Interfaced -
OA_HOLD 'HD' Interfaced -
OA_ONCHART 'OC' Interfaced -
OA_REFILL 'RF' Interfaced -
OA_RELEASE 'RS' Interfaced -
OA_RENEW 'RN' Interfaced -
OA_SIGN 'ES' Interfaced -
OA_TRANSFER 'XFR' Interfaced -
OA_UNFLAG 'UF' Interfaced -
OA_UNHOLD 'RL' Interfaced -
OA_VERIFY 'VR' Interfaced -
OD_ACTIVITY 100 Interfaced Ordering Dialog Form IDs
OD_ALLERGY 105 Interfaced -
OD_AUTOACK 9999 Interfaced -
OD_BB 125 Interfaced -
OD_CONSULT 110 Interfaced -
OD_DIET 117 Interfaced -
OD_DIET_TXT 115 Interfaced -
OD_GENERIC 152 Interfaced -
OD_IMAGING 160 Interfaced -
OD_LAB 120 Interfaced -
OD_MEDINPT 130 Interfaced -
OD_MEDIV 180 Interfaced -
OD_MEDNONVA 145 Interfaced -
OD_MEDOUTPT 140 Interfaced -
OD_MEDS 135 Interfaced -
OD_MISC 151 Interfaced -
OD_NURSING 150 Interfaced -
OD_PROCEDURE 112 Interfaced -
OD_TEXTONLY 999 Interfaced -
OD_VITALS 171 Interfaced Use 170 for ORWD GENERIC VITALS, 171 for GMRVOR
OM_ALLERGY 1105 Interfaced -
OM_HTML 1200 Interfaced -
OM_NAV 1001 Interfaced -
OM_QUICK 1002 Interfaced -
OM_TABBED 1003 Interfaced -
OM_TREE 1004 Interfaced -
OR_BADKEYS 5 Interfaced -
OR_CLERK 1 Interfaced -
OR_NOKEY 0 Interfaced Ordering role
OR_NURSE 2 Interfaced -
OR_PHYSICIAN 3 Interfaced -
OR_STUDENT 4 Interfaced -
ORDER_ACT 10 Interfaced -
ORDER_COPY 5 Interfaced -
ORDER_CPLXRN 12 Interfaced -
ORDER_DC 1 Interfaced -
ORDER_EDIT 4 Interfaced -
ORDER_HOLD 3 Interfaced -
ORDER_NEW 0 Interfaced Actions on orders
ORDER_QUICK 9 Interfaced -
ORDER_RENEW 2 Interfaced -
ORDER_SIGN 11 Interfaced -
OSS_NOT_REQUIRE 3 Interfaced -
OSS_UNSIGNED 2 Interfaced Order Signature Statuses
PKG_CONSULTS 'GMR(123,' Interfaced -
PKG_PRF 'PRF' Interfaced -
PKG_SURGERY 'SRF(' Interfaced -
PST_IV_FLUIDS 'F' Interfaced -
PST_OUTPATIENT 'O' Interfaced -
PST_UNIT_DOSE 'U' Interfaced Pharmacy Variables
QL_AUTO 1 Interfaced -
QL_CANCEL 9 Interfaced -
QL_DIALOG 0 Interfaced Quick Orders
QL_REJECT 8 Interfaced -
QL_VERIFY 2 Interfaced -
RS_HOLD '0' Interfaced -
RS_RELEASE '1' Interfaced -
ShowAccelCharProperty 'ShowAccelChar' Interfaced -
SR_ALL 1 Interfaced -
SR_BY_DATE 5 Interfaced -
SR_CUSTOM 6 Interfaced -
SR_RECENT 0 Interfaced Surgery View Contexts
SS_DIGSIG '7' Interfaced -
SS_ESIGNED '1' Interfaced -
SS_NOTREQD '3' Interfaced -
SS_ONCHART '0' Interfaced Sign & release orders
SS_UNSIGNED '2' Interfaced -
TC_DEAFAIL 'Order not completed' Interfaced -
TX_DEAFAIL 'Order for controlled substance could not be completed.' + CRLF + Interfaced DEA prescriber ineligibility text used in conjunction w/DEACheckFailed
TX_EXP_DEA1 'Order for controlled substance could not be completed.' + CRLF + Interfaced -
TX_EXP_DEA2 ' and no VA# is' + CRLF + Interfaced -
TX_EXP_DETOX1 'Order for controlled substance could not be completed.' + CRLF + Interfaced -
TX_EXP_DETOX2 '.' + CRLF + 'Provider is ineligible to sign the order.' Interfaced -
TX_INSTRUCT CRLF + CRLF + 'Click RETRY to select another provider.' + CRLF + 'Click CANCEL to cancel the current order.' Interfaced -
TX_NO_DETOX 'Order for controlled substance could not be completed.' + CRLF + Interfaced -
TX_SAVERR_IMAGING_PROC 'The order has not been saved. You must contact the Imaging Department for help completing this order.' Interfaced -
TX_SAVERR_IMAGING_PROC_SEARCH_STRING 'Invalid Procedure, Inactive, no Imaging Type or no Procedure Type' Interfaced -
TX_SAVERR_PHARM_ORD_NUM 'The changes to this order have not been saved. You must contact Pharmacy to complete any action on this order.' Interfaced CQ #15813 added strings here, rather then being duplicated in numerous sections of code - JCS
TX_SAVERR_PHARM_ORD_NUM_SEARCH_STRING 'Invalid Pharmacy order number' Interfaced -
TX_SCHFAIL 'Order for controlled substance could not be completed.' + CRLF + Interfaced -
TX_WPTYPE '^WP^' Interfaced
Special Strings 

 used to identify fields passed as word processing
TYP_ADDENDUM 81 Interfaced -
TYP_DC_SUMM 244 Interfaced -
TYP_PROGRESS_NOTE 3 Interfaced TIU Document Types
UM_508 (WM_USER + 9508) Interfaced Used for 508 messages at 508 base form level
UM_CLOSEPROBLEM (WM_USER + 9239) Interfaced In fProbs
UM_DELAYEVENT (WM_USER + 9245) Interfaced Used with PostMessage to slightly delay an event
UM_DESTROY (WM_USER + 9244) Interfaced Used to notify owner when order dialog closes
UM_DROPLIST (WM_USER + 9243) Interfaced Originally in fODMedIn
UM_EVENTOCCUR (WM_USER + 9249) Interfaced Used by EDO for background occured event
UM_INITIATE (WM_USER + 9246) Interfaced Used by fFrame to do initial stuff after FormCreate
UM_MISC (WM_USER + 9251) Interfaced Used for misc stuff across forms
UM_NEWORDER (WM_USER + 9237) Interfaced Originally in fODBase
UM_NSSOTHER (WM_USER + 9250) Interfaced Used by NSS for auto-display schedule builder
UM_PLFILTER (WM_USER + 9240) Interfaced In fProbs
UM_PLLEX (WM_USER + 9241) Interfaced In fProbs
UM_RESIZEPAGE (WM_USER + 9242) Interfaced Originally in fPage
UM_RESYNCREM (WM_USER + 9247) Interfaced Used by fReminderDialog to update reminder controls
UM_SHOWPAGE (WM_USER + 9236) Interfaced
User defined messages used by CPRS 
  UM_SHOWPAGE     = (WM_USER + 100);  // originally in fFrame
  UM_NEWORDER     = (WM_USER + 101);  // originally in fODBase
  UM_TAKEFOCUS    = (WM_USER + 102);  // in fProbEdt
  UM_CLOSEPROBLEM = (WM_USER + 103);  // in fProbs
  UM_PLFILTER     = (WM_USER + 104);  // in fProbs
  UM_PLLEX        = (WM_USER + 105);  // in fProbs
  UM_RESIZEPAGE   = (WM_USER + 107);  // originally in fPage
  UM_DROPLIST     = (WM_USER + 108);  // originally in fODMedIn
  UM_DESTROY      = (WM_USER + 109);  // used to notify owner when order dialog closes
  UM_DELAYEVENT   = (WM_USER + 110);  // used with PostMessage to slightly delay an event

 originally in fFrame
UM_STILLDELAY (WM_USER + 9248) Interfaced Used by EDO related form fOrdersTS,fOrdersCopy,fMedsCopy
UM_TAKEFOCUS (WM_USER + 9238) Interfaced In fProbEdt
UpperCaseLetters 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' Interfaced -


Module Source

1     unit uConst;
2     
3     interface
4     
5     uses Messages, ORFn;
6     
7     const
8     
9       { User defined messages used by CPRS }
10    //  UM_SHOWPAGE     = (WM_USER + 100);  // originally in fFrame
11    //  UM_NEWORDER     = (WM_USER + 101);  // originally in fODBase
12    //  UM_TAKEFOCUS    = (WM_USER + 102);  // in fProbEdt
13    //  UM_CLOSEPROBLEM = (WM_USER + 103);  // in fProbs
14    //  UM_PLFILTER     = (WM_USER + 104);  // in fProbs
15    //  UM_PLLEX        = (WM_USER + 105);  // in fProbs
16    //  UM_RESIZEPAGE   = (WM_USER + 107);  // originally in fPage
17    //  UM_DROPLIST     = (WM_USER + 108);  // originally in fODMedIn
18    //  UM_DESTROY      = (WM_USER + 109);  // used to notify owner when order dialog closes
19    //  UM_DELAYEVENT   = (WM_USER + 110);  // used with PostMessage to slightly delay an event
20    
21      UM_SHOWPAGE     = (WM_USER + 9236);  // originally in fFrame
22      UM_NEWORDER     = (WM_USER + 9237);  // originally in fODBase
23      UM_TAKEFOCUS    = (WM_USER + 9238);  // in fProbEdt
24      UM_CLOSEPROBLEM = (WM_USER + 9239);  // in fProbs
25      UM_PLFILTER     = (WM_USER + 9240);  // in fProbs
26      UM_PLLEX        = (WM_USER + 9241);  // in fProbs
27      UM_RESIZEPAGE   = (WM_USER + 9242);  // originally in fPage
28      UM_DROPLIST     = (WM_USER + 9243);  // originally in fODMedIn
29      UM_DESTROY      = (WM_USER + 9244);  // used to notify owner when order dialog closes
30      UM_DELAYEVENT   = (WM_USER + 9245);  // used with PostMessage to slightly delay an event
31      UM_INITIATE     = (WM_USER + 9246);  // used by fFrame to do initial stuff after FormCreate
32      UM_RESYNCREM    = (WM_USER + 9247);  // used by fReminderDialog to update reminder controls
33      UM_STILLDELAY   = (WM_USER + 9248);  // used by EDO related form fOrdersTS,fOrdersCopy,fMedsCopy
34      UM_EVENTOCCUR   = (WM_USER + 9249);  // used by EDO for background occured event
35      UM_NSSOTHER     = (WM_USER + 9250);  // used by NSS for auto-display schedule builder
36      UM_MISC         = (WM_USER + 9251);  // used for misc stuff across forms
37      UM_508          = (WM_USER + 9508);  // used for 508 messages at 508 base form level
38    
39      { Tab Indexes, moved from fFrame }
40      CT_NOPAGE   = -1;                             // chart tab - none selected
41      CT_UNKNOWN  =  0;                             // chart tab - unknown (shouldn't happen)
42      CT_COVER    =  1;                             // chart tab - cover sheet
43      CT_PROBLEMS =  2;                             // chart tab - problem list
44      CT_MEDS     =  3;                             // chart tab - medications screen
45      CT_ORDERS   =  4;                             // chart tab - doctor's orders
46      CT_HP       =  5;                             // chart tab - history & physical
47      CT_NOTES    =  6;                             // chart tab - progress notes
48      CT_CONSULTS =  7;                             // chart tab - consults
49      CT_DCSUMM   =  8;                             // chart tab - discharge summaries
50      CT_LABS     =  9;                             // chart tab - laboratory results
51      CT_REPORTS  = 10;                             // chart tab - reports
52      CT_SURGERY  = 11;                             // chart tab - surgery
53    
54      { Changes object item types }
55      CH_DOC = 10;                        // TIU documents (progress notes)
56      CH_SUM = 12;                        // Discharge Summaries       {*REV*}
57      CH_CON = 15;                        // Consults
58      CH_SUR = 18;                        // Surgery reports
59      CH_ORD = 20;                        // Orders
60      CH_PCE = 30;                        // Encounter Form items
61    
62      { Changes object signature requirements }
63      CH_SIGN_YES = 1;                    // Obtain signature (checkbox is checked)
64      CH_SIGN_NO  = 2;                    // Don't obtain signature (checkbox is unchecked)
65      CH_SIGN_NA  = 0;                    // Signature not applicable (checkbox is greyed)
66    
67      { Sign & release orders }
68      SS_ONCHART  = '0';
69      SS_ESIGNED  = '1';
70      SS_UNSIGNED = '2';
71      SS_NOTREQD  = '3';
72      SS_DIGSIG   = '7';
73      RS_HOLD     = '0';
74      RS_RELEASE  = '1';
75      NO_PROVIDER = 'E';
76      NO_VERBAL   = 'V';
77      NO_PHONE    = 'P';
78      NO_POLICY   = 'I';
79      NO_WRITTEN  = 'W';
80    
81      { Actions on orders }
82      ORDER_NEW   = 0;
83      ORDER_DC    = 1;
84      ORDER_RENEW = 2;
85      ORDER_HOLD  = 3;
86      ORDER_EDIT  = 4;
87      ORDER_COPY  = 5;
88      ORDER_QUICK = 9;
89      ORDER_ACT   = 10;
90      ORDER_SIGN  = 11;
91      ORDER_CPLXRN = 12;
92    
93      { Order action codes }
94      OA_COPY     = 'RW';
95      OA_CHANGE   = 'XX';
96      OA_RENEW    = 'RN';
97      OA_HOLD     = 'HD';
98      OA_DC       = 'DC';
99      OA_UNHOLD   = 'RL';
100     OA_FLAG     = 'FL';
101     OA_UNFLAG   = 'UF';
102     OA_COMPLETE = 'CP';
103     OA_ALERT    = 'AL';
104     OA_REFILL   = 'RF';
105     OA_VERIFY   = 'VR';
106     OA_CHART    = 'CR';
107     OA_RELEASE  = 'RS';
108     OA_SIGN     = 'ES';
109     OA_ONCHART  = 'OC';
110     OA_COMMENT  = 'CM';
111     OA_TRANSFER = 'XFR';
112     OA_CHGEVT   = 'EV';
113     OA_EDREL    = 'MN';
114   
115     { Ordering Dialog Form IDs }
116     OD_ACTIVITY  = 100;
117     OD_ALLERGY   = 105;
118     OD_CONSULT   = 110;
119     OD_PROCEDURE = 112;
120     OD_DIET_TXT  = 115;
121     OD_DIET      = 117;
122     OD_LAB       = 120;
123     OD_BB        = 125;
124     OD_MEDINPT   = 130;
125     OD_MEDS      = 135;
126     OD_MEDOUTPT  = 140;
127     OD_MEDNONVA = 145;
128     OD_NURSING   = 150;
129     OD_MISC      = 151;
130     OD_GENERIC   = 152;
131     OD_IMAGING   = 160;
132     OD_VITALS    = 171;  // use 170 for ORWD GENERIC VITALS, 171 for GMRVOR
133     OD_MEDIV     = 180;
134     OD_TEXTONLY  = 999;
135     OM_NAV       = 1001;
136     OM_QUICK     = 1002;
137     OM_TABBED    = 1003;
138     OM_TREE      = 1004;
139     OM_ALLERGY   = 1105;
140     OM_HTML      = 1200;
141     OD_AUTOACK   = 9999;
142   
143     { Ordering role }
144     OR_NOKEY     = 0;
145     OR_CLERK     = 1;
146     OR_NURSE     = 2;
147     OR_PHYSICIAN = 3;
148     OR_STUDENT   = 4;
149     OR_BADKEYS   = 5;
150   
151     { Quick Orders }
152     QL_DIALOG = 0;
153     QL_AUTO   = 1;
154     QL_VERIFY = 2;
155     QL_REJECT = 8;
156     QL_CANCEL = 9;
157     MAX_KEYVARS = 10;
158   
159     { Order Signature Statuses }
160     OSS_UNSIGNED = 2;
161     OSS_NOT_REQUIRE = 3;
162   
163     { Special Strings }
164     TX_WPTYPE = '^WP^';                 // used to identify fields passed as word processing
165   
166     { Pharmacy Variables }
167     PST_UNIT_DOSE  = 'U';
168     PST_IV_FLUIDS  = 'F';
169     PST_OUTPATIENT = 'O';
170   
171     { Status groups for medications }
172     MED_ACTIVE     = 0;                 // status is an active status (active, hold, on call)
173     MED_PENDING    = 1;                 // status is a pending status (non-verified)
174     MED_NONACTIVE  = 2;                 // status is a non-active status (expired, dc'd, ...)
175   
176     { Actions for medications }
177     MED_NONE       = 0;
178     MED_NEW        = 1;
179     MED_DC         = 2;
180     MED_HOLD       = 3;
181     MED_RENEW      = 4;
182     MED_REFILL     = 5;
183   
184     { Validate Date/Times }
185     DT_FUTURE   = 'F';
186     DT_PAST     = 'P';
187     DT_MMDDREQ  = 'E';
188     DT_TIMEOPT  = 'T';
189     DT_TIMEREQ  = 'R';
190   
191     { Change Context Types }
192     CC_CLICK        = 0;
193     CC_INIT_PATIENT = 1;
194     CC_NOTIFICATION = 2;
195     CC_REFRESH      = 3;
196     CC_RESUME       = 4;
197   
198     { Notification Types }
199     NF_LAB_RESULTS                   = 3;
200     NF_FLAGGED_ORDERS                = 6;
201     NF_ORDER_REQUIRES_ELEC_SIGNATURE = 12;
202     NF_ABNORMAL_LAB_RESULTS          = 14;
203     NF_IMAGING_RESULTS               = 22;
204     NF_CONSULT_REQUEST_RESOLUTION    = 23;
205     NF_ABNORMAL_IMAGING_RESULTS      = 25;
206     NF_IMAGING_REQUEST_CANCEL_HELD   = 26;
207     NF_NEW_SERVICE_CONSULT_REQUEST   = 27;
208     NF_CONSULT_REQUEST_CANCEL_HOLD   = 30;
209     NF_SITE_FLAGGED_RESULTS          = 32;
210     NF_ORDERER_FLAGGED_RESULTS       = 33;
211     NF_ORDER_REQUIRES_COSIGNATURE    = 37;
212     NF_LAB_ORDER_CANCELED            = 42;
213     NF_STAT_RESULTS                  = 44;
214     NF_DNR_EXPIRING                  = 45;
215     NF_MEDICATIONS_EXPIRING_INPT     = 47;
216     NF_UNVERIFIED_MEDICATION_ORDER   = 48;
217     NF_NEW_ORDER                     = 50;
218     NF_IMAGING_RESULTS_AMENDED       = 53;
219     NF_CRITICAL_LAB_RESULTS          = 57;
220     NF_UNVERIFIED_ORDER              = 59;
221     NF_FLAGGED_OI_RESULTS            = 60;
222     NF_FLAGGED_OI_ORDER              = 61;
223     NF_DC_ORDER                      = 62;
224     NF_CONSULT_REQUEST_UPDATED       = 63;
225     NF_FLAGGED_OI_EXP_INPT           = 64;
226     NF_FLAGGED_OI_EXP_OUTPT          = 65;
227     NF_CONSULT_PROC_INTERPRETATION   = 66;
228     NF_IMAGING_REQUEST_CHANGED       = 67;
229     NF_LAB_THRESHOLD_EXCEEDED        = 68;
230     NF_MAMMOGRAM_RESULTS             = 69;
231     NF_PAP_SMEAR_RESULTS             = 70;
232     NF_ANATOMIC_PATHOLOGY_RESULTS    = 71;
233     NF_MEDICATIONS_EXPIRING_OUTPT    = 72;
234     NF_DEA_AUTO_DC_CS_MED_ORDER      = 74;
235     NF_DEA_CERT_REVOKED              = 75;
236     NF_DCSUMM_UNSIGNED_NOTE          = 901;
237     NF_CONSULT_UNSIGNED_NOTE         = 902;
238     NF_NOTES_UNSIGNED_NOTE           = 903;
239     NF_SURGERY_UNSIGNED_NOTE         = 904;
240   
241     { Notify Application Events }
242     NAE_OPEN   = 'BEG';
243     NAE_CLOSE  = 'END';
244     NAE_NEWPT  = 'XPT';
245     NAE_REPORT = 'RPT';
246     NAE_ORDER  = 'ORD';
247   
248     { TIU Delete Document Reasons }
249     DR_PRIVACY = 'P';
250     DR_ADMIN   = 'A';
251     DR_NOTREQ  = '';
252     DR_CANCEL  = 'CANCEL';
253   
254     { TIU Document Types }
255     TYP_PROGRESS_NOTE =   3;
256     TYP_ADDENDUM      =  81;
257     TYP_DC_SUMM       = 244;
258   
259     { TIU National Document Class Names }
260     DCL_CONSULTS = 'CONSULTS';
261     DCL_CLINPROC = 'CLINICAL PROCEDURES';
262     DCL_SURG_OR  = 'SURGICAL REPORTS';
263     DCL_SURG_NON_OR = 'PROCEDURE REPORT (NON-O.R.)';
264   
265     { TIU View Contexts }
266     NC_RECENT     = 0;                             // Note context - last n signed notes
267     NC_ALL        = 1;                             // Note context - all signed notes
268     NC_UNSIGNED   = 2;                             // Note context - all unsigned notes
269     NC_UNCOSIGNED = 3;                             // Note context - all uncosigned notes
270     NC_BY_AUTHOR  = 4;                             // Note context - signed notes by author
271     NC_BY_DATE    = 5;                             // Note context - signed notes by date range
272     NC_CUSTOM     = 6;                             // Note Context - custom view
273     //Text Search CQ: HDS00002856
274     NC_SEARCHTEXT = 7;                             // Note Content - search for text
275   
276     { Surgery View Contexts }
277     SR_RECENT     = 0;
278     SR_ALL        = 1;
279     SR_BY_DATE    = 5;                             
280     SR_CUSTOM     = 6;
281   
282     { Surgery TreeView Icons }
283     IMG_SURG_BLANK     = 0;
284     IMG_SURG_TOP_LEVEL = 1;
285     IMG_SURG_GROUP_SHUT = 2;
286     IMG_SURG_GROUP_OPEN = 3;
287     IMG_SURG_CASE_EMPTY = 4;
288     IMG_SURG_CASE_SHUT  = 5;
289     IMG_SURG_CASE_OPEN  = 6;
290     IMG_SURG_RPT_SINGLE = 7;
291     IMG_SURG_RPT_ADDM   = 8;
292     IMG_SURG_ADDENDUM   = 9;
293     IMG_SURG_NON_OR_CASE_EMPTY = 10;
294     IMG_SURG_NON_OR_CASE_SHUT  = 11;
295     IMG_SURG_NON_OR_CASE_OPEN  = 12;
296   
297     { TIU TreeView icons }
298     IMG_TOP_LEVEL     = 0;
299     IMG_GROUP_SHUT    = 1;
300     IMG_GROUP_OPEN    = 2;
301     IMG_SINGLE        = 3;
302     IMG_PARENT        = 4;
303     IMG_IDNOTE_SHUT   = 5;
304     IMG_IDNOTE_OPEN   = 6;
305     IMG_IDPAR_ADDENDA_SHUT = 7;
306     IMG_IDPAR_ADDENDA_OPEN = 8;
307     IMG_ID_CHILD      = 9;
308     IMG_ID_CHILD_ADD  = 10;
309     IMG_ADDENDUM      = 11;
310   
311     { Consults Treeview Icons }
312     IMG_GMRC_TOP_LEVEL     = 0;
313     IMG_GMRC_GROUP_SHUT    = 1;
314     IMG_GMRC_GROUP_OPEN    = 2;
315     IMG_GMRC_CONSULT       = 3;
316     IMG_GMRC_PROC          = 4;
317     IMG_GMRC_CLINPROC      = 5;
318     IMG_GMRC_ALL_PROC      = 6;
319     IMG_GMRC_IFC_CONSULT   = 7;
320     IMG_GMRC_IFC_PROC      = 8;
321   
322   
323     { TIU Imaging icons }
324     IMG_NO_IMAGES     = 6;
325     IMG_1_IMAGE       = 1;
326     IMG_2_IMAGES      = 2;
327     IMG_MANY_IMAGES   = 3;
328     IMG_CHILD_HAS_IMAGES = 4;
329     IMG_IMAGES_HIDDEN = 5;
330   
331   
332     { TIU ListView sort indicators }
333     IMG_NONE       = -1;
334     IMG_ASCENDING  =  12;
335     IMG_DESCENDING =  13;
336     IMG_BLANK      =  14;
337   
338     { TIU TreeView context strings}
339     NC_TV_TEXT: array[CT_NOTES..CT_DCSUMM] of array[NC_RECENT..NC_BY_DATE] of string =
340       (('Recent Signed Notes','All signed notes','All unsigned notes','All uncosigned notes','Signed notes by author','Signed notes by date range'),
341        ('','Related Documents','Medicine Results',' ',' ',' '),
342        ('Recent Signed Summaries','All signed summaries','All unsigned summaries','All uncosigned summaries','Signed summaries by author','Signed summaries by date range'));
343   
344     CC_ALL        = 1;                             // Consult context - all Consults
345     CC_BY_STATUS  = 2;                             // Consult context - Consults by Status
346     CC_BY_SERVICE = 4;                             // Consult context - Consults by Service
347     CC_BY_DATE    = 5;                             // Consult context - Consults by date range
348     CC_CUSTOM     = 6;                             // Custom consults list
349   
350     CC_TV_TEXT: array[CC_ALL..CC_CUSTOM] of string =
351       ('All consults','Consults by Status', '', 'Consults by Service','Consults by Date Range','Custom List');
352   
353     PKG_CONSULTS = 'GMR(123,';
354     PKG_SURGERY  = 'SRF(';
355     PKG_PRF = 'PRF';
356   
357     { New Person Filters }
358     NPF_ALL       = 0;
359     NPF_PROVIDER  = 1;
360   //  NPF_ENCOUNTER = 2;
361     NPF_SUPPRESS  = 9;
362   
363     { Location Types }
364     LOC_ALL      = 0;
365     LOC_OUTP     = 1;
366     LOC_INP      = 2;
367   
368     { File Numbers }
369     FN_HOSPITAL_LOCATION = 44;
370     FN_NEW_PERSON = 200;
371   
372     UpperCaseLetters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
373     LowerCaseLetters = 'abcdefghijklmnopqrstuvwxyz';
374     Digits = '0123456789';
375   
376     MAX_ENTRY_WIDTH = 80;   //Change in 23.9 for D/S, Consult, and Surgery Notes AGP
377     MAX_PROGRESSNOTE_WIDTH = 80;
378   
379     //Group Name
380      NONVAMEDGROUP = 'Non-VA Meds';
381      NONVAMEDTXT =   'Non-VA';
382   
383      DISCONTINUED_ORDER = '2';
384   
385      CaptionProperty = 'Caption';
386      ShowAccelCharProperty = 'ShowAccelChar';
387      DrawersProperty = 'Drawers';
388   
389      {Sensitive Patient Access}
390       DGSR_FAIL = -1;
391       DGSR_NONE =  0;
392       DGSR_SHOW =  1;
393       DGSR_ASK  =  2;
394       DGSR_DENY =  3;
395   
396     //CQ #15813 added strings here, rather then being duplicated in numerous sections of code - JCS
397     TX_SAVERR_PHARM_ORD_NUM = 'The changes to this order have not been saved.  You must contact Pharmacy to complete any action on this order.';
398     TX_SAVERR_IMAGING_PROC = 'The order has not been saved.  You must contact the Imaging Department for help completing this order.';
399     TX_SAVERR_PHARM_ORD_NUM_SEARCH_STRING = 'Invalid Pharmacy order number';
400     TX_SAVERR_IMAGING_PROC_SEARCH_STRING = 'Invalid Procedure, Inactive, no Imaging Type or no Procedure Type';
401   
402     //DEA prescriber ineligibility text used in conjunction w/DEACheckFailed
403     TX_DEAFAIL   = 'Order for controlled substance could not be completed.' + CRLF +
404                    'Provider does not have a current, valid DEA# on record' + CRLF +
405                    'and is ineligible to sign the order.';
406     TX_SCHFAIL   = 'Order for controlled substance could not be completed.' + CRLF +
407                    'Provider is not authorized to prescribe medications' + CRLF +
408                    'in Federal Schedule ';
409     TX_NO_DETOX  = 'Order for controlled substance could not be completed.' + CRLF +
410                    'Provider does not have a valid Detoxification/Maintenance ID' + CRLF +
411                    'number on record and is ineligible to sign the order.';
412     TX_EXP_DETOX1= 'Order for controlled substance could not be completed.' + CRLF +
413                    'Provider''s Detoxification/Maintenance ID number' + CRLF +
414                    'expired due to an expired DEA# on ';
415     TX_EXP_DETOX2= '.' + CRLF + 'Provider is ineligible to sign the order.';
416     TX_EXP_DEA1  = 'Order for controlled substance could not be completed.' + CRLF +
417                    'Provider''s DEA# expired on ';
418     TX_EXP_DEA2  = ' and no VA# is' + CRLF +
419                    'assigned. Provider is ineligible to sign the order.';
420     TX_INSTRUCT  = CRLF + CRLF + 'Click RETRY to select another provider.' + CRLF + 'Click CANCEL to cancel the current order.';
421     TC_DEAFAIL   = 'Order not completed';
422   
423   var
424     ScrollBarWidth: integer = 0;
425   
426   implementation
427   
428   uses
429     Windows;
430     
431   initialization
432     ScrollBarWidth := GetSystemMetrics(SM_CXVSCROLL);
433   
434   end.

Module Calls (2 levels)

-

Module Called-By (2 levels)


                         uConst
                        fPage┤ 
                     fFrame┤ │ 
                    fHSplit┤ │ 
                     fCover┤ │ 
                      fMeds┤ │ 
                        fHP┤ │ 
                   fAResize┘ │ 
                      rOrders┤ 
                   fPage...┤ │ 
                      uCore┤ │ 
                    uOrders┤ │ 
                    fODBase┤ │ 
                    rODBase┤ │ 
                 UBAGlobals┤ │ 
                    UBACore┤ │ 
                  fFrame...┤ │ 
                    fOrders┤ │ 
                  fOCAccept┤ │ 
               fOCMonograph┤ │ 
                    uODBase┤ │ 
          fBALocalDiagnoses┤ │ 
                  fCover...┤ │ 
                fOrdersSign┤ │ 
                   fMeds...┤ │ 
                   fProbEdt┤ │ 
                  fConsults┤ │ 
            fReminderDialog┤ │ 
                      fLabs┤ │ 
                    fReview┤ │ 
               fCSRemaining┤ │ 
                 uSignItems┤ │ 
                  fODDietLT┤ │ 
                    rODDiet┤ │ 
               fOrdersPrint┤ │ 
              fDefaultEvent┤ │ 
               fOrdersRenew┤ │ 
                    fODDiet┤ │ 
                   fOrderVw┤ │ 
                  fOrdersDC┤ │ 
                  fOrdersCV┤ │ 
                     fODGen┤ │ 
                   fODMedIn┤ │ 
                  fODMedOut┤ │ 
                fConsultAct┤ │ 
                     fODRad┤ │ 
                     fODLab┤ │ 
                   fODBBank┤ │ 
                    fODMeds┤ │ 
                    fODAuto┤ │ 
                    fOMNavA┤ │ 
            fOrderSaveQuick┤ │ 
                     fOMSet┤ │ 
                fOrdersHold┤ │ 
              fOrdersUnhold┤ │ 
               fOrdersAlert┤ │ 
                 fOrderFlag┤ │ 
               fOrderUnflag┤ │ 
             fOrdersRelease┤ │ 
                    fOMHTML┤ │ 
                  fODMedNVA┤ │ 
   fODChangeUnreleasedRenew┤ │ 
             fOrdersOnChart┤ │ 
         fOrdersEvntRelease┤ │ 
            fOrdersComplete┤ │ 
              fOrdersVerify┤ │ 
              fOrderComment┤ │ 
            fODReleaseEvent┤ │ 
                 fOCSession┤ │ 
                  fOrdersTS┤ │ 
                 mEvntDelay┤ │ 
                  fODActive┤ │ 
                fOrdersCopy┤ │ 
                   fMedCopy┤ │ 
        fActivateDeactivate┤ │ 
              fOrdersRefill┤ │ 
           fODChangeEvtDisp┤ │ 
               fRenewOutMed┘ │ 
                     uCore...┤ 
                         rTIU┤ 
                   uCore...┤ │ 
                       uPCE┤ │ 
                     fNotes┤ │ 
               fConsults...┤ │ 
                    fDCSumm┤ │ 
                    rDCSumm┤ │ 
                   fSurgery┤ │ 
               fAddlSigners┤ │ 
                 fNoteProps┤ │ 
                   fNotePrt┤ │ 
                    fNoteDR┤ │ 
               fDCSummProps┤ │ 
             fNoteIDParents┤ │ 
                  fNoteCslt┤ │ 
             fRemCoverSheet┤ │ 
              fOptionsNotes┤ │ 
             fOptionsTitles┘ │ 
                    uConsults┤ 
                  rConsults┤ │ 
       fBALocalDiagnoses...┤ │ 
             fOrdersSign...┤ │ 
                   uDocTree┤ │ 
               fConsults...┤ │ 
                 fODConsult┤ │ 
                 fConsultBS┤ │ 
                 fConsultBD┤ │ 
                fConsultBSt┤ │ 
              fConsultsView┤ │ 
             fConsultAct...┤ │ 
                    fODProc┤ │ 
                  fCsltNote┤ │ 
              fNoteProps...┤ │ 
                  fEditProc┤ │ 
               fEditConsult┤ │ 
              fNoteCPFields┘ │ 
                   uOrders...┤ 
                   fODBase...┤ 
                 fBase508Form┤ 
                  CPRSChart┤ │ 
                   fPage...┤ │ 
                    fAutoSz┤ │ 
                  fFrame...┤ │ 
                 fODMedOIFA┤ │ 
                   fDrawers┤ │ 
            fTemplateDialog┤ │ 
                 uReminders┤ │ 
                    fPCELex┤ │ 
            fEncounterFrame┤ │ 
                   fPCEBase┤ │ 
               fPCEBaseMain┤ │ 
                fVitalsDate┤ │ 
                    fVitals┤ │ 
                  fPtSelMsg┤ │ 
                     fPtSel┤ │ 
             fOrdersSign...┤ │ 
                    fRptBox┤ │ 
                   fReports┤ │ 
                     fVisit┤ │ 
                     fEncnt┤ │ 
                     fProbs┤ │ 
                fProbEdt...┤ │ 
                   fProbflt┤ │ 
                   fProbLex┤ │ 
              fProbFreetext┤ │ 
                   fProbCmt┤ │ 
              fReportsPrint┤ │ 
                    fGraphs┤ │ 
             fGraphSettings┤ │ 
                 fGraphData┤ │ 
             fGraphProfiles┤ │ 
               fGraphOthers┤ │ 
               fPCEProvider┤ │ 
              fTemplateView┤ │ 
            fTemplateEditor┤ │ 
            fTemplateImport┤ │ 
         fReminderDialog...┤ │ 
                    fMHTest┤ │ 
                   fLabs...┤ │ 
                   fLabTest┤ │ 
                  fLabTests┤ │ 
             fLabTestGroups┤ │ 
                  fLabPrint┤ │ 
                    fPtDemo┤ │ 
                 fReview...┤ │ 
                   fxBroker┤ │ 
                    fxLists┤ │ 
                   fxServer┤ │ 
                    fSplash┤ │ 
              fReminderTree┤ │ 
                   fOptions┤ │ 
                 fODMessage┤ │ 
            fOrdersPrint...┤ │ 
               fSurgeryView┤ │ 
              fRemVisitInfo┤ │ 
              fDefaultEvent┤ │ 
                fPtSelOptns┤ │ 
              fPtSelOptSave┤ │ 
                    fDupPts┤ │ 
                    fPtSens┤ │ 
                fPtSelDemog┤ │ 
          fPatientFlagMulti┤ │ 
              fAlertForward┤ │ 
               fOrdersDC...┤ │ 
                  fODGen...┤ │ 
              fConsultBS...┤ │ 
              fConsultBD...┤ │ 
                  fSignItem┤ │ 
             fConsultBSt...┤ │ 
           fConsultsView...┤ │ 
             fConsultAct...┤ │ 
               fCsltNote...┤ │ 
            fAddlSigners...┤ │ 
              fNoteProps...┤ │ 
                    fNoteBA┤ │ 
                    fNoteBD┤ │ 
                   fTIUView┤ │ 
            fDCSummProps...┤ │ 
       fTemplateFieldEditor┤ │ 
            fTemplateFields┤ │ 
               fEditProc...┤ │ 
            fEditConsult...┤ │ 
            fConsultAlertTo┤ │ 
                    fPreReq┤ │ 
                 fCombatVet┤ │ 
             fODRadApproval┤ │ 
             fODRadConShRes┤ │ 
          fODLabOthCollSamp┤ │ 
              fODLabOthSpec┤ │ 
            fODLabImmedColl┤ │ 
              fLabCollTimes┤ │ 
                 fOMNavA...┤ │ 
                  fOMSet...┤ │ 
         fODReleaseEvent...┤ │ 
             fOrdersCopy...┤ │ 
                fMedCopy...┤ │ 
          fODValidateAction┤ │ 
            fRenewOutMed...┤ │ 
           fTemplateObjects┤ │ 
           fTemplateAutoGen┤ │ 
          fRemCoverSheet...┤ │ 
           fRemCoverPreview┤ │ 
                   fPCEEdit┤ │ 
               fOptionsDays┤ │ 
          fOptionsReminders┤ │ 
          fOptionsSurrogate┤ │ 
   fOptionsPatientSelection┤ │ 
              fOptionsLists┤ │ 
            fOptionsNewList┤ │ 
              fOptionsTeams┤ │ 
       fOptionsCombinations┤ │ 
              fOptionsOther┤ │ 
           fOptionsNotes...┤ │ 
          fOptionsTitles...┤ │ 
      fOptionsReportsCustom┤ │ 
     fOptionsReportsDefault┤ │ 
               fODRadImType┤ │ 
        fOptionsPrimaryList┤ │ 
          fOptionsSubscribe┤ │ 
                  fPostings┘ │ 
                   rODBase...┤ 
                UBAGlobals...┤ 
                   UBACore...┤ 
                    fFrame...┤ 
                      rODMeds┤ 
                 uOrders...┤ │ 
              fODMedOIFA...┤ │ 
                 fOrders...┤ │ 
             fOrdersSign...┤ │ 
                 fReview...┤ │ 
            fOrdersRenew...┤ │ 
             fOtherSchedule┤ │ 
                  fIVRoutes┤ │ 
                 fODMeds...┤ │ 
                   fODMedIV┤ │ 
                 fODAuto...┤ │ 
                  fOMSet...┤ │ 
               fODMedNVA...┤ │ 
fODChangeUnreleasedRenew...┤ │ 
            fRenewOutMed...┘ │ 
                   fOrders...┤ 
                   uODBase...┤ 
                   uTemplates┤ 
                 fODBase...┤ │ 
                    dShared┤ │ 
                fDrawers...┤ │ 
         fTemplateDialog...┤ │ 
                  fNotes...┤ │ 
               fConsults...┤ │ 
                 fDCSumm...┤ │ 
         fTemplateEditor...┤ │ 
         fReminderDialog...┤ │ 
                fSurgery...┤ │ 
              fODConsult...┤ │ 
                 fODProc...┤ │ 
                 fODAuto...┤ │ 
          fFindingTemplates┤ │ 
        fTemplateObjects...┤ │ 
        fTemplateAutoGen...┘ │ 
           fTemplateDialog...┤ 
              uTemplateFields┤ 
                 uOrders...┤ │ 
                 dShared...┤ │ 
              uTemplates...┤ │ 
         fTemplateDialog...┤ │ 
              uReminders...┤ │ 
         fReminderDialog...┤ │ 
    fTemplateFieldEditor...┤ │ 
         fTemplateFields...┤ │ 
                 fODAuto...┘ │ 
                uReminders...┤ 
                      uPCE...┤ 
                         rPCE┤ 
                 uOrders...┤ │ 
              uReminders...┤ │ 
                    uPCE...┤ │ 
       fBALocalDiagnoses...┤ │ 
                 fPCELex...┤ │ 
         fEncounterFrame...┤ │ 
                 fVisitType┤ │ 
              mVisitRelated┤ │ 
                 fDiagnoses┤ │ 
            fPCEBaseMain...┤ │ 
                 fProcedure┤ │ 
                  fPCEOther┤ │ 
              fImmunization┤ │ 
                  fSkinTest┤ │ 
                 fPatientEd┤ │ 
              fHealthFactor┤ │ 
                      fExam┤ │ 
                 fEncVitals┤ │ 
                 mCoPayDesc┤ │ 
                  fNotes...┤ │ 
                  fEncnt...┤ │ 
                  fProbs...┤ │ 
                fProbEdt...┤ │ 
                fProbLex...┤ │ 
               fConsults...┤ │ 
                 fDCSumm...┤ │ 
         fReminderDialog...┤ │ 
        fBAOptionsDiagnoses┤ │ 
                fSurgery...┤ │ 
              fODConsult...┤ │ 
                 fODProc...┤ │ 
            fAddlSigners...┤ │ 
            fDCSummProps...┤ │ 
               fEditProc...┤ │ 
            fEditConsult...┤ │ 
                       fGAF┤ │ 
                  fHFSearch┘ │ 
                  fPCEBase...┤ 
                fVisitType...┤ 
                fDiagnoses...┤ 
                fProcedure...┤ 
                       uProbs┤ 
                 fPCELex...┤ │ 
              fDiagnoses...┤ │ 
                  fProbs...┤ │ 
                fProbEdt...┤ │ 
                fProbflt...┤ │ 
                fProbLex...┤ │ 
           fProbFreetext...┘ │ 
                    fCover...┤ 
                       rCover┤ 
                  fCover...┤ │ 
                  fAllgyBox┤ │ 
                  fARTAllgy┤ │ 
                  fProbs...┤ │ 
                 fPtDemo...┤ │ 
                    fPtCWAD┤ │ 
       fPatientFlagMulti...┤ │ 
                   fODAllgy┘ │ 
                    fPtSel...┤ 
               fOrdersSign...┤ 
                     fMeds...┤ 
                        rMeds┤ 
                 uOrders...┤ │ 
                 fOrders...┤ │ 
                  rCover...┤ │ 
                   fMeds...┤ │ 
     fActivateDeactivate...┤ │ 
           fOrdersRefill...┘ │ 
                 fARTAllgy...┤ 
                    fOMAction┤ 
                 uOrders...┤ │ 
               fARTAllgy...┤ │ 
                 fOMHTML...┘ │ 
                    fNotes...┤ 
                  uDocTree...┤ 
                   fPrintList┤ 
                  fNotes...┤ │ 
               fConsults...┤ │ 
                 fDCSumm...┘ │ 
                  fReports...┤ 
                    fEncnt...┤ 
                    fProbs...┤ 
                  fProbEdt...┤ 
                  fProbLex...┤ 
                 fConsults...┤ 
                   fDCSumm...┤ 
                   rDCSumm...┤ 
           fTemplateEditor...┤ 
                 fSpellNotify┤ 
                     uSpell┘ │ 
           fReminderDialog...┤ 
                   fMHTest...┤ 
                     fLabs...┤ 
                   fPtCWAD...┤ 
                   fReview...┤ 
             fReminderTree...┤ 
                  fIconLegend┤ 
                  fFrame...┤ │ 
                fDrawers...┤ │ 
              uReminders...┤ │ 
                  fNotes...┤ │ 
               fConsults...┤ │ 
                 fDCSumm...┤ │ 
         fTemplateEditor...┤ │ 
                fSurgery...┘ │ 
                uSignItems...┤ 
                 fODDietLT...┤ 
                  fSurgery...┤ 
                    uCaseTree┤ 
                fSurgery...┘ │ 
         fPatientFlagMulti...┤ 
              fOrdersRenew...┤ 
                   fODDiet...┤ 
                fLkUpLocation┤ 
                 uOrders...┤ │ 
                 fOrders...┤ │ 
                  fODRad...┘ │ 
                 fOrdersDC...┤ 
                 fOrdersCV...┤ 
                      fODMisc┤ 
                 uOrders...┘ │ 
                    fODGen...┤ 
                  fODMedIn...┤ 
                 fODMedOut...┤ 
                fODMedComplex┤ 
               fODMedOut...┘ │ 
                      fODText┤ 
                 uOrders...┘ │ 
                fODConsult...┤ 
                   fODProc...┤ 
              fAddlSigners...┤ 
                fNoteProps...┤ 
                   fNoteDR...┤ 
              fDCSummProps...┤ 
      fTemplateFieldEditor...┤ 
            fNoteIDParents...┤ 
                 fConsMedRslt┤ 
               fConsults...┘ │ 
                    fODRad...┤ 
                    fODLab...┤ 
                  fODBBank...┤ 
                   fODMeds...┤ 
                  fODMedIV...┤ 
                    fODVitals┤ 
                 uOrders...┘ │ 
                   fODAuto...┤ 
                   fOMNavA...┤ 
                    fOMVerify┤ 
                 uOrders...┘ │ 
                    fOMSet...┤ 
               fOrdersHold...┤ 
             fOrdersUnhold...┤ 
            fOrdersRelease...┤ 
                   fOMHTML...┤ 
                 fODMedNVA...┤ 
            fOrdersOnChart...┤ 
           fODReleaseEvent...┤ 
                fOCSession...┤ 
                 fOrdersTS...┤ 
                mEvntDelay...┤ 
               fOrdersCopy...┤ 
                  fMedCopy...┤ 
         fODValidateAction...┤ 
             fOrdersRefill...┤ 
     fOptionsReportsCustom...┤ 
                     fODAllgy┘