Changeset 437
- Timestamp:
- Apr 28, 2009, 7:15:40 PM (16 years ago)
- Location:
- ccr/trunk/p
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/C0CRIMA.m
r430 r437 46 46 N RIMARY,RIMTMP,RIMI,RIMDFN,RATTR 47 47 N CCRGLO 48 S C0CCHK=0 ; CHECKSUM FLAG 48 49 D ASETUP ; SET UP VARIABLES AND GLOBALS 49 50 D AINIT ; INITIALIZE ATTRIBUTE VALUE TABLE … … 75 76 . . W "FOUND RESULTS VARS",! 76 77 . . M @RIMBASE@("VARS",RIMDFN,"RESULTS")=^TMP("C0CCCR",$J,"RESULTS") 78 . S C0CCHK=0 77 79 . I $$CHKSUM(RIMDFN) D ; CHECKSUM HAS CHANGED 78 80 . . W "CHECKSUM IS NEW OR HAS CHANGED",! 79 . . ZWR ^TMP("C0CRIM","CHKSUM",RIMDFN,*) 81 . . ;ZWR ^TMP("C0CRIM","CHKSUM",RIMDFN,*) 82 . . S C0CCHK=1 80 83 . K ^TMP("C0CCCR",$J) ; KILL WORK AREA FOR CCR BUILDING 81 84 . ; -
ccr/trunk/p/CCR_1_0.txt
r403 r437 16 16 OUFILE specifies the host file name of the CCR XML document that will be written for this patient. If OUTFILE is null ("") the document name will default to PAT_x_CCR_V1.xml where x is the DFN of the patient. 17 17 18 CCRRPC(CCRGRTN,DFN,CCRPAR T,TIME1,TIME2,HDRARY)18 CCRRPC(CCRGRTN,DFN,CCRPARMS,CCRPART) 19 19 An RPC and program interface to return in return array CCRGRTN (passed by reference) a single patient's CCR. 20 20 DFN is the patient's IEN 21 21 CCRPART is what portion of the CCR should be returned. If "CCR" is specified, the entire CCR will be returned. If "PROBLEMS", "VITALS", or "MEDICATIONS" is specified, only that section of the CCR will be returned. 22 TIME1,TIME2 specify a beginning and end timeframe for the data to be included in the CCR. These parameters are not implemented in this release. 23 HDRARY will specify the values of certain header variables for the CCR. This parameter is not implemented in this release. 22 CCRPARMS ARE PARAMETERS THAT AFFECT THE EXTRACTION 23 IN THE FORM "PARM1:VALUE1^PARM2:VALUE2" 24 EXAMPLE: "LABLIMIT:T-60" TO LIMIT LAB EXTRACTION TO THE LAST 60 DAYS 25 SEE C0CPARMS FOR A COMPLETE LIST OF SUPPORTED PARAMETERS 24 26 25 ANALYZE^C0CRIMA(BGNDFN,DFNCNT )27 ANALYZE^C0CRIMA(BGNDFN,DFNCNT,CCRPARMS) 26 28 A command line and program interface to analyze the data from multiple patients into categories that can be batch extracted. 27 29 BGNDFN is the beginning DFN to be analyzed. If BGNDFN is null ("") its value will be taken from ^TMP("C0CRIM","RESUME"). If this variable does not exist, the routine will start with the first IEN in the patient file ^DPT. ^TMP("C0CRIM","RESUME") is updated to the "next" patient to be analyzed on successful completion.
Note:
See TracChangeset
for help on using the changeset viewer.