Commit Graph

277 Commits

Author SHA1 Message Date
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