Changeset 437


Ignore:
Timestamp:
Apr 28, 2009, 7:15:40 PM (12 years ago)
Author:
George Lilly
Message:

batch processing release

Location:
ccr/trunk/p
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • ccr/trunk/p/C0CRIMA.m

    r430 r437  
    4646    N RIMARY,RIMTMP,RIMI,RIMDFN,RATTR
    4747    N CCRGLO
     48    S C0CCHK=0 ; CHECKSUM FLAG
    4849    D ASETUP ; SET UP VARIABLES AND GLOBALS
    4950    D AINIT ; INITIALIZE ATTRIBUTE VALUE TABLE
     
    7576    . . W "FOUND RESULTS VARS",!
    7677    . . M @RIMBASE@("VARS",RIMDFN,"RESULTS")=^TMP("C0CCCR",$J,"RESULTS")
     78    . S C0CCHK=0
    7779    . I $$CHKSUM(RIMDFN) D  ; CHECKSUM HAS CHANGED
    7880    . . W "CHECKSUM IS NEW OR HAS CHANGED",!
    79     . . ZWR ^TMP("C0CRIM","CHKSUM",RIMDFN,*)
     81    . . ;ZWR ^TMP("C0CRIM","CHKSUM",RIMDFN,*)
     82    . . S C0CCHK=1
    8083    . K ^TMP("C0CCCR",$J) ; KILL WORK AREA FOR CCR BUILDING
    8184    . ;
  • ccr/trunk/p/CCR_1_0.txt

    r403 r437  
    1616OUFILE 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.
    1717
    18 CCRRPC(CCRGRTN,DFN,CCRPART,TIME1,TIME2,HDRARY)
     18CCRRPC(CCRGRTN,DFN,CCRPARMS,CCRPART)
    1919An RPC and program interface to return in return array CCRGRTN (passed by reference) a single patient's CCR.
    2020DFN is the patient's IEN
    2121CCRPART 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.
     22CCRPARMS ARE PARAMETERS THAT AFFECT THE EXTRACTION
     23IN THE FORM "PARM1:VALUE1^PARM2:VALUE2"
     24EXAMPLE: "LABLIMIT:T-60" TO LIMIT LAB EXTRACTION TO THE LAST 60 DAYS
     25SEE C0CPARMS FOR A COMPLETE LIST OF SUPPORTED PARAMETERS
    2426
    25 ANALYZE^C0CRIMA(BGNDFN,DFNCNT)
     27ANALYZE^C0CRIMA(BGNDFN,DFNCNT,CCRPARMS)
    2628A command line and program interface to analyze the data from multiple patients into categories that can be batch extracted.
    2729BGNDFN 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.