Ignore:
Timestamp:
Dec 31, 2011, 12:08:05 AM (13 years ago)
Author:
George Lilly
Message:

latest ohum update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ccr/branches/ohum/p/C0CCCR.m

    r1206 r1325  
    11C0CCCR   ; CCDCCR/GPL - CCR MAIN PROCESSING; 6/6/08
    2  ;;1.0;C0C;;May 19, 2009;Build 38
     2 ;;1.0;C0C;;May 19, 2009;Build 39
    33 ;Copyright 2008,2009 George Lilly, University of Minnesota.
    44 ;Licensed under the terms of the GNU General Public License.
     
    2626 I Y<1 Q  ; EXIT
    2727 S DFN=$P(Y,U,1) ; SET THE PATIENT
     28 ;OHUM/RUT 3111222 To take inputs from user for date limits and notes
     29        D ^C0CVALID
     30        ;OHUM/RUT
    2831 D XPAT(DFN) ; EXPORT TO A FILE
    2932 Q
     
    103106 D REPLACE^C0CXPATH(CCRGLO,"","//ContinuityOfCareRecord/Actors")
    104107 D REPLACE^C0CXPATH(CCRGLO,"","//ContinuityOfCareRecord/Signatures")
    105  D REPLACE^C0CXPATH(CCRGLO,"","//ContinuityOfCareRecord/Comments")
    106108 I DEBUG F I=1:1:@CCRGLO@(0) W @CCRGLO@(I),!
    107109 ;
     
    135137 D INSINNER^C0CXPATH(CCRGLO,"ACTT2","//ContinuityOfCareRecord/Actors")
    136138 K ACTT,ACTT2
    137  ;D QUERY^C0CXPATH(TGLOBAL,"//ContinuityOfCareRecord/Comments","CMTT")
    138  ;D EXTRACT^C0CCMT("CMTT",DFN,"CMTT2")
    139  ;D INSINNER^C0CXPATH(CCRGLO,"CMTT2","//ContinuityOfCareRecord/Comments")
    140  ; gpl - turned off Comments for Certification
     139 D QUERY^C0CXPATH(TGLOBAL,"//ContinuityOfCareRecord/Comments","CMTT")
     140 D EXTRACT^C0CCMT("CMTT",DFN,"CMTT2")
     141 D INSINNER^C0CXPATH(CCRGLO,"CMTT2","//ContinuityOfCareRecord/Comments")
    141142 K CMTT,CMTT2
    142143 N TRIMI,J,DONE S DONE=0
     
    166167 D PUSH^C0CXPATH(TAB,"MAP;C0CLABS;//ContinuityOfCareRecord/Body/Results;^TMP(""C0CCCR"",$J,DFN,""RESULTS"")")
    167168 D PUSH^C0CXPATH(TAB,"EXTRACT;C0CPROC;//ContinuityOfCareRecord/Body/Procedures;^TMP(""C0CCCR"",$J,DFN,""PROCEDURES"")")
     169 ;OHUM/RUT 3111228 Condition for Notes ; It should be included or not
    168170 ;D PUSH^C0CXPATH(TAB,"EXTRACT;C0CENC;//ContinuityOfCareRecord/Body/Encounters;^TMP(""C0CCCR"",$J,DFN,""ENCOUNTERS"")")
    169  ; gpl - turned off Encounters for Certification
     171 I ^TMP("C0CCCR","TIULIMIT")'="" D PUSH^C0CXPATH(TAB,"EXTRACT;C0CENC;//ContinuityOfCareRecord/Body/Encounters;^TMP(""C0CCCR"",$J,DFN,""ENCOUNTERS"")")
     172 ;OHUM/RUT
    170173 Q
    171174 ;
Note: See TracChangeset for help on using the changeset viewer.