Commit Graph

520 Commits

Author SHA1 Message Date
george ceb24b2590 fixed nonVA meds 2008-10-28 00:24:40 +00:00
george fc1c853582 testing CCRMEDS3 2008-10-28 00:17:14 +00:00
george c9d44ff84f DEBUGGING CCRMEDS3 2008-10-27 22:52:36 +00:00
george e593547605 DEBUGGING CCRMEDS3 2008-10-27 22:08:23 +00:00
george 068b11aaed debugging CCRMEDS3 2008-10-27 22:01:46 +00:00
george dfc7ff4f0d check for TESTMEDS flag in CCRMEDS 2008-10-27 16:11:33 +00:00
george 77765c886a fixing Alerts and skipping non-VA meds unless flag TESTMEDS is set 2008-10-27 16:08:40 +00:00
george 3ba3f81e8f fixing Alerts 2008-10-27 15:42:09 +00:00
george 57a8360aee FIX TO EXTRACT+29^CCRMEDS3 2008-10-27 04:50:32 +00:00
george 234c02747f temporary fix to EXTRACT+29^CCRMEDS3 2008-10-27 04:45:46 +00:00
george 976099ab26 Improved Alerts 2008-10-27 04:35:18 +00:00
george 9771a82643 improved Alerts 2008-10-27 04:31:59 +00:00
george 18703ecc23 improved Alerts 2008-10-27 04:04:27 +00:00
george 07ffd95d46 alter provider null fix 2008-10-26 19:55:36 +00:00
george 036bd3162c revising Alerts 2008-10-26 19:27:11 +00:00
sam 8f95d0ad07 Added CCRMEDS4 for inpatient UD, and tiny fixes for the FMDTOUTC^CCRUTIL call for CCRMEDS1 and 2 2008-10-26 18:33:51 +00:00
george 0c5f6cfbbc added NON-VA meds to processing flow (CCRMEDS3) 2008-10-26 05:37:26 +00:00
george 2fe1ec7d13 fix for meds 2008-10-26 00:20:47 +00:00
george 5a6232a427 fix for meds 2008-10-26 00:11:25 +00:00
george e7ffaf3c16 added REACTION variables to alert processing 2008-10-25 15:05:53 +00:00
george 4ed2788c39 Alert SNOMED research routines 2008-10-21 14:06:59 +00:00
george 4da5eec12c routines for testing SNOMED code retrieval 2008-10-14 22:09:00 +00:00
sam 18aabb439d Non-VA Meds processing routine 2008-10-14 02:49:45 +00:00
george 1906202e7e debugging LEX use routines 2008-10-13 17:14:13 +00:00
george 42dbb36891 routine to find SNOMED codes for drug allergies 2008-10-13 16:52:15 +00:00
george d06ae46075 routine to look up SNOMED codes for drug allergies in the lexicon 2008-10-13 03:36:54 +00:00
george fb99fa2685 fix for false multiple patients in ACTORS 2008-10-10 18:54:04 +00:00
george a795799933 debug false multiples in ACTORS 2008-10-10 18:45:04 +00:00
george 3860ed4573 ran unix2dos on the KIDS file 2008-10-09 20:43:05 +00:00
george a5d1688492 included missing routines 2008-10-09 20:11:31 +00:00
george 8cf0229ead KIDS files with missing routines 2008-10-09 18:12:56 +00:00
george 7d4e459ed3 fixes to Meds Directions xml generation 2008-10-08 17:17:20 +00:00
george 0b3450b81a modified ccr.xsl to build better SIG for Meds 2008-10-08 03:41:13 +00:00
george 77480fb5d0 fixing the SIG 2008-10-08 02:42:00 +00:00
george 25ee213546 output files have version number in name 2008-10-07 19:40:28 +00:00
george a8d671ecc0 output file name default includes version number 1_0_5 2008-10-07 19:25:49 +00:00
george fc6ff8490a updates to Meds and Vitals processing, new command DPATV^GPLRIMA 2008-10-07 17:17:35 +00:00
george 707b70f717 handles cases with both OP and UV meds 2008-10-07 16:49:43 +00:00
george 7cfbe69c61 MEDS DEBUGGING 2008-10-07 16:32:15 +00:00
george 4da383b284 MEDS DEBUGGING 2008-10-07 16:26:38 +00:00
george 83748d25eb MED DEBUGGING 2008-10-07 16:14:46 +00:00
george bcbd908de9 MEDS DEBUGGING 2008-10-07 16:11:50 +00:00
george efb41d328e MEDS DEBUGGING 2008-10-07 15:48:02 +00:00
george 7a08629ad7 MEDS DEBUGGING 2008-10-07 15:05:30 +00:00
george dd0aa22f48 MED DEBUGING 2008-10-07 14:56:53 +00:00
george 8bb7f131c2 meds merge bug 2008-10-07 14:33:52 +00:00
george e6c17fc3f7 fixing a meds bug 2008-10-07 14:26:02 +00:00
george b41654cf7b rewrote Date sort routine to fix Vitals bug. debugging meds. 2008-10-06 23:33:38 +00:00
george 9a7a927275 med directions working 2008-10-06 15:46:35 +00:00
george 80bdc77c6c fixed meds bug 2008-10-06 02:40:39 +00:00
george c0a55a2c28 rename MEDS routines to CCRMEDSx 2008-10-06 01:16:50 +00:00
george 8f879b9773 renameing MEDS routines 2008-10-06 00:50:57 +00:00
george 0eb01b628e renaming MEDS routines 2008-10-06 00:50:19 +00:00
george 7ea8eb0847 renameing MEDS routines 2008-10-06 00:49:34 +00:00
sam 90169ea578 Fixed CCRMEDS2 to not display refills requests from CPRS as pending orders 2008-10-05 02:48:35 +00:00
sam 31e35c2eb9 Bug fixes for CCRMEDS2 2008-10-04 21:52:28 +00:00
george 69a66c2b04 fix for field processing in meds 2008-10-04 20:16:26 +00:00
sam 556edc8bfc First version of Pending Meds Routine 2008-10-04 19:14:36 +00:00
george fc78c504b9 changes for multiple directions 2008-10-04 17:03:02 +00:00
sam 36f1d9fb13 Refactored CCRDPT and updated GPLACTOR accordingly 2008-10-04 02:57:33 +00:00
george a9a0f2efd5 changed multiple directions structure in CCRMEDS 2008-09-28 15:56:23 +00:00
sam 11f480b5ac CCRMEDS: Processing of multiple directions. 2008-09-28 15:32:16 +00:00
george d840081086 First taggeds CCR release CCR_1_0_4 2008-09-23 15:36:22 +00:00
george 7dec8dda33 added MEDSCODE attribute for MEDS that have codes in GPLRIMA analysis 2008-09-22 21:35:23 +00:00
george d484d7946e intergrated CCRMEDS processing with GPLMEDS to get PENDING and Non-VA meds 2008-09-22 20:12:52 +00:00
george a15c65bf62 fixes to CCRMEDS to allow RIM variable processing 2008-09-22 15:38:33 +00:00
george 44b1a6450b fixes to CCRMEDS 2008-09-22 04:25:53 +00:00
sam 07405275b2 Tiny corrections: Change @@PROBLEM@@ in meds section to @@MEDPROBLEMTYPETXT@@ 2008-09-22 02:37:13 +00:00
sam d8b6612b03 CCRMEDS now working 2008-09-22 02:25:22 +00:00
sam bb13c4df44 CCRMEDS yet again 2008-09-22 02:09:17 +00:00
sam 9c30ed5e09 CCRMEDS again 2008-09-22 00:24:01 +00:00
george 7bff13c4dd changed DPATV^GPLRIMA to call ANALYZE first to refresh RIM variables.. more usefull in debugging 2008-09-21 22:55:44 +00:00
george 8dc2885a43 added TESTMEDS switch to GPLCCR if =1 then run CCRMEDS instead of GPLMEDS 2008-09-21 22:38:28 +00:00
sam cb4cb68ec8 CCRMED a testing version 2008-09-21 22:29:04 +00:00
george 83cefeca24 fixed XPAT^GPLCCR so it defaults last two parameters D XPAT^GPLCCR(dfn) works 2008-09-21 22:27:21 +00:00
george 0c12f244f2 added XVARS^GPLXPATH to list unique variables in a template 2008-09-21 21:57:04 +00:00
george be5ef25081 added DPATV^GPLRIMA and supporting routines to display patient variables 2008-09-21 21:10:51 +00:00
sam 9b015dbc8b Removed Frequency units; Interval has units and will be used as such 2008-09-21 20:47:54 +00:00
chrisu d1d5b035c2 finally something that works for me ;) wip 2008-09-19 01:10:25 +00:00
chrisu 0cd1055eb2 GPLALERT.m - adding small bits; awaiting CCR document for mapping
GPLUNIT.m - fixed correct QUIT statement
2008-09-13 02:45:03 +00:00
george 5995365784 added Alerts to CCR processing on a switch - TESTALERTS=1 ;also ZTEST^GPLCCR("ALERTS") 2008-09-12 20:09:31 +00:00
chrisu af0f72d6b4 initial commit 2008-09-12 02:54:27 +00:00
george ae412b726e removed extra spaces at the beginning of lines 2008-09-11 20:09:14 +00:00
george 419d4f88bc enhancements to check for test patients 2008-09-10 17:55:16 +00:00
george 6b659bc4d4 added command DCCR^GPLCCR(dfn) to display just extracted CCR 2008-09-09 23:18:06 +00:00
george 588e9ef134 enhancements to GPLRIMA to locate patients 2008-09-09 17:30:01 +00:00
george fb3bbd61e6 handle null dates in meds 2008-09-08 20:19:28 +00:00
george 4ce0205b5b fixed naming bug 2008-09-08 19:47:51 +00:00
george 1a381d4ae6 fixed null DFN bug in PTST^CCRSYS 2008-09-05 19:35:07 +00:00
george 041a25d326 corrected a typo 2008-09-05 19:26:30 +00:00
george eb10b46b39 removed debugging writes and check for Merged Patients 2008-09-05 19:26:09 +00:00
george 0d92886464 Check in ANALYZE for merged patients 2008-09-05 17:30:17 +00:00
george 4c3fba6fcd Check for Merged or Test patients. New parameter CCRTEST=0 if not testing 2008-09-05 17:18:56 +00:00
george 65aacbe1f2 made no vitals found silent unless debug 2008-09-04 16:08:04 +00:00
george f6d8d93ffb new command PATC^GPLRIMA(DFN) to display patient category 2008-09-04 16:02:10 +00:00
george 9cb722d635 extract RX codes for ACTIVE Outpatient MEDS 2008-09-04 14:44:39 +00:00
george c779e0dc5b more extraneous write cleanup 2008-09-03 23:54:55 +00:00
george eb1b732387 cleaning up needless writes - make conditional on DEBUG 2008-09-03 22:26:54 +00:00
george 594efd84b9 Check for no array returned by VITALS RPC 2008-09-02 20:40:03 +00:00
george 7eaaff5e79 check for no array returned from VITALS RPC 2008-09-02 20:32:17 +00:00
george 3b6d81d0b4 Removed a ZWR from GPLMEDS 2008-09-02 18:59:32 +00:00
george 3bd3e89d9c remove the last (I hope) ZWR from MEDS 2008-09-02 18:46:32 +00:00
george 926f0f12fc Release documentation 2008-09-02 14:49:26 +00:00
sam b1f260f646 Update of CCRMED 2008-09-02 05:20:47 +00:00
george b7fbc2304d First CCR prototyp KIDS distribution for GTM and CACHE 2008-09-01 21:40:42 +00:00
george 68e078a1f5 rewrote control structure for parsing Med RPC 2008-09-01 14:45:59 +00:00
george dda0c9e43d cleaning up the symbol table 2008-08-31 13:03:01 +00:00
george a4cb658edf broke GPLXPATH into two files to be under 20K per SAC .. put test cases in GPLXPAT0.m 2008-08-31 12:57:18 +00:00
george 5dacc10cfa CCD processing checks for missing sections 2008-08-30 19:49:44 +00:00
george 7fb48ee324 XINDEX fixes. almost clean except for long var names and big files 2008-08-30 19:13:15 +00:00
george 0333b2585b XINDEX fixes, and generalized Date sort utility for Vitals SORTDT^CCRUTIL 2008-08-30 17:29:46 +00:00
george 9ff7d946bb Vitals now sorted in reverse date and time order 2008-08-30 12:48:44 +00:00
george 37d37d7be8 more date format testing 2008-08-30 12:38:45 +00:00
sam 327153a58e Updated CCRMEDS 2008-08-29 22:11:36 +00:00
george c1a4e7946e One more date display fix. This one for one digit hours 2008-08-29 19:33:43 +00:00
george 1295221e0a another fix to date format. this time where minute or second are one digit 2008-08-29 19:19:16 +00:00
george c2f09c1966 Vitals time extract fixed... Vitals now in date order 2008-08-29 19:00:11 +00:00
george 7dfb1ab484 Fix to date format if minutes or seconds are not in record 2008-08-29 18:40:24 +00:00
george 40c3f85491 more fixes to vitals 2008-08-29 17:56:45 +00:00
george 5b85b8fb3a fixed indexing of vitals, still not in date order 2008-08-29 17:48:03 +00:00
george 82ea9357fa rename GPLVITALS and GPLACTORS to GPLVITAL and GPLACTOR for kids build 2008-08-29 14:35:39 +00:00
george 61fba61cfd more meds debugging 2008-08-28 18:51:49 +00:00
george 75f4cfec11 debugging 5 line meds 2008-08-28 18:36:01 +00:00
george 4cfd92d859 more meds debugging.. looking for 5 line med rpc results 2008-08-28 18:28:03 +00:00
george dce2f8faac meds debugging 2008-08-28 17:45:45 +00:00
george e939fb0e7d fixed variable displays for Meds RPC interface 2008-08-28 15:53:50 +00:00
george 2e7bef3426 fixed crash in MEDS where med has no 3rd line of description 2008-08-27 03:57:10 +00:00
george 1cd3edb56f batch CCR export support 2008-08-27 00:27:36 +00:00
sam 9eaca23dd9 CCRMEDS mappings half-way done. 2008-08-26 04:17:44 +00:00
george 7b29b5e18f added functions to RIM reporting 2008-08-25 16:06:14 +00:00
sam 472b79df31 First stab at CCRMEDS to replace GPLMEDS; Refactoring of GPLMEDS. 2008-08-25 08:25:29 +00:00
george a51669c04d RIM report enhancements 2008-08-24 22:36:41 +00:00
george f2df26c94f fix some test cases 2008-08-23 13:28:25 +00:00
george 87c8b3cdea changes for XINDEX errors 2008-08-22 15:52:42 +00:00
george bf260a7273 killed value arrays at beginning of processing for Vitals and Problems 2008-08-20 00:47:22 +00:00
george 61b0c06bac add initial batch RIM Coherence analysis programs 2008-08-19 23:53:29 +00:00
george 9fd6d2f808 added kill for Meds value array at beginning of GPLMEDS processing 2008-08-19 23:52:17 +00:00
george 4b28c73b19 fixed debugging call 2008-08-19 20:54:52 +00:00
george c647326661 fixed Meds processing - patched up until new APIs are in place 2008-08-19 20:50:47 +00:00
george 2a10e4c419 fixed template problems 2008-08-19 18:38:15 +00:00
sam dbcbc016a1 Completed update of GPLCCR0 for Meds 2008-08-18 08:11:29 +00:00
sam cd73b3da79 Updated CPLCCR0 to include a more comprehensive medication section. 2008-08-17 04:49:12 +00:00
george 2740f017cc fixed nul Problems processing 2008-08-14 16:24:07 +00:00
george c0f8b2738c Fixes for CCD narrative and no vitals processing 2008-08-12 18:45:52 +00:00
george 048e3cc26c fixed handling of nul results from Vitals and Problems RPCs 2008-08-12 17:37:18 +00:00
george da93576617 the Variable "I" was being stepped on in the Meds processing.. newed it. 2008-08-06 23:18:51 +00:00
george 40551e4f37 moved CCD Problems HTML narrative to the template 2008-08-06 17:29:59 +00:00
george 53950bfbb9 handle the case where meds are null 2008-08-06 03:42:46 +00:00
george a9da28e2c3 fixed bug in Meds due to null return of meds RPC 2008-08-06 01:41:05 +00:00
george 1ea606a66f added system as MEDICATIONSSOURCEACTORID 2008-08-05 15:53:25 +00:00
cje 2900ce0eb8 fix infinite loop bug if more than one med 2008-07-30 19:11:28 +00:00
george 6595d3260c fixed crash in CCD processing 2008-07-30 18:56:15 +00:00
cje 17411a6e9b added processing for meds in GPLCCR.m
added <description><text></text></description> for meds in GPLCCR0.m
changed I variables in GPLCCR.m so that it would run
2008-07-30 14:00:08 +00:00
george e3cb27c3be improved handling of missing SSN and telephone values 2008-07-29 20:57:24 +00:00
george 55924aa0bf Variable assigned in Results section of CCR template 2008-07-28 21:09:22 +00:00
george 21364dd8fc Fixed CCD structure, added Narrative to Problems 2008-07-27 20:37:10 +00:00
george 45cb9f3225 second CCD commit 2008-07-26 19:16:58 +00:00
george b21dd6e6ec First commit for CCD 2008-07-26 02:01:34 +00:00
cje b34dd069a9 added SNOMED codes for vitals 2008-07-23 19:16:41 +00:00
george 08b8745c83 added Alerts section to template 2008-07-22 15:59:28 +00:00
george a2406ebd0f call $$SITE^VASITE for INSTITUTION NAME 2008-07-22 15:39:53 +00:00
cje cb206995de added placeholders in GPLMEDS.m for values
added comment in GPLCCR.m describing order of CCR Body
added processing of MEDS in GPLCCR.m (commented out)
2008-07-21 19:54:56 +00:00
george 89cbb25a0c added GPL license language 2008-07-17 19:55:07 +00:00
george 0da20e3a27 fixed Gender and ACTORTELEPHONETYPE 2008-07-17 15:47:01 +00:00
sam 2f98641ac6 Updated GPLACTORS to use CCRVA200 for provider data 2008-07-17 04:16:33 +00:00
sam 0a2a7d7a23 Updated to a working CCRVA200 file 2008-07-17 04:01:47 +00:00
cje c1c9ec5cf7 created skeleton for Meds 2008-07-16 18:42:13 +00:00
cje 6e63a3f052 added :00 to times that are missing seconds 2008-07-16 17:34:54 +00:00
george a28ef9edfd Changed template to point to ccr.xsl 2008-07-16 16:58:26 +00:00
sam 3fcc3308ab More work on the CCRVA200 2008-07-15 04:03:50 +00:00
george b2b9a94f39 Added GPL Copywrite notice 2008-07-14 14:54:50 +00:00
george 35f09a4e0b Added GPL Copywrite notice 2008-07-14 14:53:09 +00:00
cje a1fa299415 changed actor sourceID to ACTORSYSTEM_1
added more else statements to vitals to control vital type
2008-07-14 12:14:23 +00:00
sam ab67b0be4d Wrote initial part of Provider Extraction Routine; Added Source to Template for Provider ID. 2008-07-14 05:20:55 +00:00
george 1668056254 Added the Organization actor and fixed defaults 2008-07-11 23:08:09 +00:00
george 7ed92e118c Put ODIR in global to ease versioning and numbered lines in PARY 2008-07-08 19:32:50 +00:00
george a4665f9af5 less debugging output from Trim, normalize 2 template lines 2008-07-08 15:09:12 +00:00
sam a402629a9c Updated CCR Template for Providers 2008-07-08 03:18:50 +00:00
george 779e777a5c Changed comments to start in col 2 per SAC and Cache compatibility 2008-07-08 02:59:07 +00:00
george 92d871bf9d Added TRIM^GPLXPATH to delete empty elements from output 2008-07-07 17:12:04 +00:00
cje 3905fdb162 Added Providers to Vitals section
Fixed hanging : in CCRUTIL (thanks to Skip for more optimized code)
Fixed GPLCCR to write correct time
2008-07-07 13:51:27 +00:00
george 07dbe235b3 Added "GPLCCR" to ^TMP globals for SAC compliance 2008-07-07 05:30:04 +00:00
sam 541198530f Updated Information System Actor Section. 2008-07-06 21:00:17 +00:00
sam 972e3e7d3c Added entry points to GPLACTORS to get the patient information; changes in Template in GPLCCR0 2008-07-06 20:18:34 +00:00
sam 747942049f Tiny update. 2008-07-06 17:45:11 +00:00
george e3e39ff745 Actors unit test D ZTEST^GPLCCR("ACTORS") 2008-07-06 00:12:17 +00:00
george 967aa094e8 Actor processing shell is operational 2008-07-05 23:57:32 +00:00
george 9c9ddda93a More formatting changes 2008-07-05 16:34:56 +00:00
george 8abe8a52e1 Format changes for SAC compliance 2008-07-05 15:49:50 +00:00
george 1274bd8d14 Changes to template for types of actors 2008-07-05 01:49:05 +00:00
george eb910c53bc More work on the spacing of lines 2008-07-04 14:29:14 +00:00
cje a1e7ca5d0a fixed spacing issues 2008-07-04 01:02:47 +00:00
george 6eab22cb4e removed double spaces from test cases 2008-07-04 00:38:45 +00:00
george dde5622567 Cleaned up leading spaces 2008-07-04 00:26:40 +00:00
george 4e82b53cf9 Routine for processing the Actors section.. needs Sam's calls added 2008-07-03 23:34:12 +00:00
cje cd6dc2b91d switch proccessing of vitals and problems so CCR would validate
added date time for ccr
cleaned up template ccr (more to come)
more work done in vitals section
2008-07-03 20:54:25 +00:00
george e2223f14aa fixed CCR unit test cases - TEST^GPLCCR for all 2008-07-03 14:37:05 +00:00
cje f6fe8898bf Enabled Vitals processing in GPLCCR.m
Fixed bug where if you ran EXPORT^GPLCCR more than once body tags would still get added (added  K ^TMP($J,"CCRSTEP") before setting it 	by INITSTPS)
Added code to start processing Vitals for selected patient
Cleaned up some of the template CCR so information in CCR would be correct
2008-07-02 16:34:15 +00:00
george a26fb0b883 Took the call for actor processing out of the body loop 2008-07-02 15:19:41 +00:00
george 63f6f96c1c Added comments for actor routines 2008-07-01 23:01:27 +00:00
george 8e3cfacdb1 Created actor records P1=OBJID P2=TYPE P3=IEN 2008-07-01 21:20:10 +00:00
george 7f1b7be2fd Got rid of multiples in the ACTOR array 2008-07-01 17:38:34 +00:00
george cbee619c02 Derive Actor list ^TMP($J,DFN,"ACTORS",*) 2008-07-01 17:12:30 +00:00
george bc021d0a95 Added unit tests for GPLCCR 2008-07-01 15:26:13 +00:00
george 958a1040ec New TESTALL^GPLUNIT and fixes to GPLXPATH test cases 2008-06-30 18:21:04 +00:00
sam 58976179fd Updated the patient demographics extraction routine (CCRDPT), fixing bugs and improving documentation. Most bugs consisted of undefined errors; thus $Get was added to everything.
Run the unit tester by "D ^CCRDPTT".
2008-06-30 04:50:31 +00:00
george 97d6a8097c Added XSLT call to the CCR template 2008-06-28 15:48:12 +00:00
george fbb4ba6446 Fixed a unit testing bug 2008-06-27 22:29:18 +00:00
sam 8ed7272548 This update contains the completion of attempt 1 at extracting patient data from the patient file. It also contains a unit tester routine. 2008-06-27 03:23:21 +00:00
george c473eb8bf4 Minor code cleanup -- some test case bugs fixed 2008-06-26 17:51:24 +00:00
sam 555f3ac4f3 Updated CCRDPT. 2008-06-25 04:15:14 +00:00
george c770ea51cc Added variable names for header variables 2008-06-24 23:36:55 +00:00
sam 713b17cdd9 fixed tiny buy in CCRUTIL 2008-06-24 02:48:11 +00:00
sam 05e7911433 Updated UTIL to do UTC properly; worked on DPT 2008-06-23 00:04:01 +00:00
sam 7397dc915d removing blah.m 2008-06-22 04:31:31 +00:00
sam 5371324378 adding my changes to the repository 2008-06-22 04:29:13 +00:00
sam 2b655eeab0 testing 2008-06-22 04:20:02 +00:00
george d45ef5568c Deleting ZGPLCCR0.m because it is deprecated. 2008-06-21 23:40:43 +00:00
sam 79bdb2872d testing 2008-06-21 23:19:38 +00:00
george 6e246fc94f Inital release of GPL*.m files for creating a CCR from VistA. Usage EXPORT^GPLCCR 2008-06-21 21:55:44 +00:00