[796] | 1 | READ 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 |
|
---|
| 8 | This code is provided AS-IS. This is code that I use at my facility, but I make no guarantee
|
---|
| 9 | as to its suitabilty to other situations, or to the soundness of the coding practices user herein.
|
---|
| 10 |
|
---|
| 11 | Note on Coding Style:
|
---|
| 12 | 1. 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 |
|
---|
| 17 | 2. 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 |
|
---|
| 20 | 3. 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 |
|
---|
| 23 | 4. I try to document each function directly after the declaration of the function name.
|
---|
| 24 |
|
---|
| 25 | 5. My style is to be as modular as possible. I prefer to separate user interface with underlying
|
---|
| 26 | code where possible (within reason).
|
---|
| 27 |
|
---|
| 28 | 6. 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 |
|
---|
| 32 | PROGRAMS OF INTEREST
|
---|
| 33 |
|
---|
| 34 | 1. The GT.M debugger can be launched via: do ^TMGIDE
|
---|
| 35 |
|
---|
| 36 | 2. XML Exporter can be lauched via: do EXPORT^TMGXMLEX
|
---|
| 37 |
|
---|
| 38 |
|
---|
| 39 |
|
---|
| 40 | SUMMARY OF LIBRARY
|
---|
| 41 |
|
---|
| 42 | TMGCHR ;"CHRISTEN(INFO) This library will provide optional NON-INTERACTIVE versions of standard code.
|
---|
| 43 | TMGDBAPI DATABASE API FUNCTIONS
|
---|
| 44 | TMGDEBUG DEBUG UTILITIES
|
---|
| 45 | TMGDPRSE DETAIL XML PARSE FUNCTIONS
|
---|
| 46 | TMGDRUG FUNCTIONS FOR SETTING UP DRUGS/PHARMACY
|
---|
| 47 | TMGEDIT EDITOR FUNCTIONS
|
---|
| 48 | TMGFIX FUNCTIONS FOR FIXING SPECIFIC PROBLEMS
|
---|
| 49 | TMGGDFN GET DFN (TMGGDFN)
|
---|
| 50 | TMGIDE A Debug/Tracer for GT.M
|
---|
| 51 | TMGIMPORT
|
---|
| 52 | TMGINIT ;"DINIT(INFO) -- NON-INTERACTIVE versions of standard DINIT code.
|
---|
| 53 | TMGIOUTL IO UTILITIES
|
---|
| 54 | TMGMEDIC MEDIC INTERFACE FUNCTIONS
|
---|
| 55 | TMGMGRST ;"ZTMGRSET(INFO) & ZOSFGUX -- NON-INTERACTIVE versions of standard code.
|
---|
| 56 | TMGMISC MISCELLANEOUS FUNCTIONS
|
---|
| 57 | TMGMKU ;"ZTMKU code -- NON-INTERACTIVE versions of standard code.
|
---|
| 58 | TMGPRNTR PRINTER API FUNCTIONS
|
---|
| 59 | TMGPRPN PRINT NOTES FUNCTIONS
|
---|
| 60 | TMGPUTN0 Document Upload look-up function
|
---|
| 61 | TMGPUTN1 Document Upload look-up function
|
---|
| 62 | TMGQIO ;"'QUIET IO To provide routines for quite (non-interactive) IO that programs can call.
|
---|
| 63 | TMGSQL* Routines for import of demographic data from our billing system.
|
---|
| 64 | TMGSTUTL STRING UTILITIES
|
---|
| 65 | TMGTERM interface
|
---|
| 66 | TMGTEST function for various programming tests
|
---|
| 67 | TMGTIUOJ text objects
|
---|
| 68 | TMGTPSTP GT.M STEP TRAP
|
---|
| 69 | TMGTRAN1 ;" TRANSCRIPTION REPORT FUNCTIONS
|
---|
| 70 | TMGTRNRP ;" TRANSCRIPTION REPRINT REPORT FUNCTIONS
|
---|
| 71 | TMGUSRIF USER INTERFACE API FUNCTIONS
|
---|
| 72 | TMGVPE x ^%ZVEMS
|
---|
| 73 | TMGXDLG <--> Xdialog Interface
|
---|
| 74 | TMGXINST XML Configuration Scripting System
|
---|
| 75 | TMGXML1 is a test file for working with XML Documents
|
---|
| 76 | TMGXMLE2 XML EXPORT FUNCTIONS (CORE FUNCTIONALITY)
|
---|
| 77 | TMGXMLEX XML EXPORT FUNCTION
|
---|
| 78 | TMGXMLUI XML EXPORT -- USER INTERFACE FUNCTIONS
|
---|
| 79 | TMGXUP version of Vista XUP module
|
---|
| 80 | TMGXUS2 ;SF/RWF - TO CHECK OR RETURN USER ATTRIBUTES ;07/15/2003 12:20
|
---|
| 81 | TMGmake file for TMG configuration script files.
|
---|
| 82 |
|
---|
| 83 |
|
---|
| 84 | I would love to know if some of this code has been improved etc. Send me a copy back with your
|
---|
| 85 | modifications. Thanks
|
---|
| 86 |
|
---|
| 87 | Kevin Toppenberg
|
---|