- Timestamp:
- Aug 5, 2008, 11:42:46 PM (16 years ago)
- Location:
- ccr/trunk/p
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/GPLCCR.m
r79 r84 86 86 . X CALL 87 87 . ; NOW INSERT THE RESULTS IN THE CCR BUFFER 88 . D INSERT^GPLXPATH(CCRGLO,OXML,"//ContinuityOfCareRecord/Body") 89 . I DEBUG F GPLI=1:1:@OXML@(0) W @OXML@(GPLI),! 88 . I @OXML@(0)'=0 D ; THERE IS A RESULT 89 . . D INSERT^GPLXPATH(CCRGLO,OXML,"//ContinuityOfCareRecord/Body") 90 . . I DEBUG F GPLI=1:1:@OXML@(0) W @OXML@(GPLI),! 90 91 D ACTLST^GPLCCR(CCRGLO,ACTGLO) ; GEN THE ACTOR LIST 91 92 D QUERY^GPLXPATH(TGLOBAL,"//ContinuityOfCareRecord/Actors","ACTT") -
ccr/trunk/p/GPLMEDS.m
r83 r84 28 28 N MEDRSLT,J,K,MEDPTMP,X,MEDVMAP,TBUF 29 29 D ACTIVE^ORWPS(.MEDRSLT,DFN) 30 I '$D(MEDRSLT(1)) W "ERROR RUNNINIG MEDICATIONS RPC",! Q 30 I '$D(MEDRSLT(1)) D ; NO MEDS FOR THIS PATIENT, EXIT 31 . W "ERROR RUNNINIG MEDICATIONS RPC",! 32 . S @MEDOUTXML@(0)=0 33 . Q 31 34 IF DEBUG ZWR MEDRSLT 32 35 S MEDTVMAP=$NA(^TMP("GPLCCR",$J,"MEDICATIONS")) … … 38 41 . I DEBUG W "VMAP= ",VMAP,! 39 42 . S MEDPTMP=MEDRSLT(J) ; PULL OUT MEDICATION FROM RPC RETURN ARRAY 40 . S @MEDVMAP@("MEDICATIONOBJECTID")="MED"_J ; UNIQUE OBJID FOR MED ICATION43 . S @MEDVMAP@("MEDICATIONOBJECTID")="MED"_J ; UNIQUE OBJID FOR MEDS 41 44 . ; PROCESSING FOR MEDS GOES HERE 42 45 . S @MEDVMAP@("MEDICATIONDATETIMETEXT")=$$FMDTOUTC^CCRUTIL($P(MEDPTMP,"^",11),"DT") ; GETS LAST FILL DATE
Note:
See TracChangeset
for help on using the changeset viewer.