source: cprs/branches/tmg-cprs/m_files/TMG-readme.txt@ 861

Last change on this file since 861 was 796, checked in by Kevin Toppenberg, 15 years ago

Initial upload

File size: 3.4 KB
RevLine 
[796]1READ ME for TMG Library
2
3;"Kevin Toppenberg MD
4;"kdtop3@yahoo.com
5;"GNU General Public License (GPL) applies
6;"7-12-2005
7
8This code is provided AS-IS. This is code that I use at my facility, but I make no guarantee
9as to its suitabilty to other situations, or to the soundness of the coding practices user herein.
10
11Note on Coding Style:
121. I use upper and lower case characters in my variable names. This is not according to VA
13 standards (SAC), but it should not cause any problems or name-collisions because I typically
14 do not make use of (with rare exceptions) global-scope variables. Also, I routinely NEW my
15 variables before use, so they will go out of scope quickly.
16
172. I use variable names with length > 8 characters. But I always make sure the first 8 characters are
18 unique. I feel this aids readability.
19
203. I spell out the full name of functions (e.g. $piece(), not $P() ). This may take some getting used
21 to for those not used to this, but I think it is better. :-)
22
234. I try to document each function directly after the declaration of the function name.
24
255. My style is to be as modular as possible. I prefer to separate user interface with underlying
26 code where possible (within reason).
27
286. At the beginning of each file, I list available public API calls. There are also private API calls,
29 listed, but I doubt anyone would want to use them.
30
31
32PROGRAMS OF INTEREST
33
341. The GT.M debugger can be launched via: do ^TMGIDE
35
362. XML Exporter can be lauched via: do EXPORT^TMGXMLEX
37
38
39
40SUMMARY OF LIBRARY
41
42TMGCHR ;"CHRISTEN(INFO) This library will provide optional NON-INTERACTIVE versions of standard code.
43TMGDBAPI DATABASE API FUNCTIONS
44TMGDEBUG DEBUG UTILITIES
45TMGDPRSE DETAIL XML PARSE FUNCTIONS
46TMGDRUG FUNCTIONS FOR SETTING UP DRUGS/PHARMACY
47TMGEDIT EDITOR FUNCTIONS
48TMGFIX FUNCTIONS FOR FIXING SPECIFIC PROBLEMS
49TMGGDFN GET DFN (TMGGDFN)
50TMGIDE A Debug/Tracer for GT.M
51TMGIMPORT
52TMGINIT ;"DINIT(INFO) -- NON-INTERACTIVE versions of standard DINIT code.
53TMGIOUTL IO UTILITIES
54TMGMEDIC MEDIC INTERFACE FUNCTIONS
55TMGMGRST ;"ZTMGRSET(INFO) & ZOSFGUX -- NON-INTERACTIVE versions of standard code.
56TMGMISC MISCELLANEOUS FUNCTIONS
57TMGMKU ;"ZTMKU code -- NON-INTERACTIVE versions of standard code.
58TMGPRNTR PRINTER API FUNCTIONS
59TMGPRPN PRINT NOTES FUNCTIONS
60TMGPUTN0 Document Upload look-up function
61TMGPUTN1 Document Upload look-up function
62TMGQIO ;"'QUIET IO To provide routines for quite (non-interactive) IO that programs can call.
63TMGSQL* Routines for import of demographic data from our billing system.
64TMGSTUTL STRING UTILITIES
65TMGTERM interface
66TMGTEST function for various programming tests
67TMGTIUOJ text objects
68TMGTPSTP GT.M STEP TRAP
69TMGTRAN1 ;" TRANSCRIPTION REPORT FUNCTIONS
70TMGTRNRP ;" TRANSCRIPTION REPRINT REPORT FUNCTIONS
71TMGUSRIF USER INTERFACE API FUNCTIONS
72TMGVPE x ^%ZVEMS
73TMGXDLG <--> Xdialog Interface
74TMGXINST XML Configuration Scripting System
75TMGXML1 is a test file for working with XML Documents
76TMGXMLE2 XML EXPORT FUNCTIONS (CORE FUNCTIONALITY)
77TMGXMLEX XML EXPORT FUNCTION
78TMGXMLUI XML EXPORT -- USER INTERFACE FUNCTIONS
79TMGXUP version of Vista XUP module
80TMGXUS2 ;SF/RWF - TO CHECK OR RETURN USER ATTRIBUTES ;07/15/2003 12:20
81TMGmake file for TMG configuration script files.
82
83
84I would love to know if some of this code has been improved etc. Send me a copy back with your
85modifications. Thanks
86
87Kevin Toppenberg
Note: See TracBrowser for help on using the repository browser.