Changeset 26 for ccr/trunk/p/CCRDPTT.m


Ignore:
Timestamp:
Jun 30, 2008, 12:50:31 AM (16 years ago)
Author:
Sam Habiel
Message:

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".

File:
1 edited

Legend:

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

    r23 r26  
    1313       
    1414        ; Load Routine Entry points; We get a sweeeeeet array
    15         N OUT
    1615        D ANALYZE^ARJTXRD("CCRDPT",.OUT) ; Analyze a routine in the directory
    17         ZWR OUT(,0)
    18        
    1916        N X,Y
    2017        ; Select Patient
     
    2421        D INIT^CCRDPT($P(Y,"^"))
    2522        ZWR PT
    26         N I S I=160 F  S I=$O(OUT(I)) Q:I=""  D
     23        N I S I=165 F  S I=$O(OUT(I)) Q:I=""  D
    2724        . W "OUT("_I_",0)"_" is "_$P(OUT(I,0)," ")_" "
    2825        . W "valued at "
Note: See TracChangeset for help on using the changeset viewer.