fix for meds
This commit is contained in:
parent
e7ffaf3c16
commit
5a6232a427
|
@ -54,6 +54,7 @@ EXTRACT(MEDXML,DFN,MEDOUTXML) ; EXTRACT MEDICATIONS INTO PROVIDED XML TEMPLATE
|
|||
. S MEDCNT=MEDCNT+@MEDTVMAP@(0) ; SAVE COUNT TO KNOW HOW TO ADD TO MAP
|
||||
. ; W MEDCNT,!
|
||||
. W "HAS OP PENDING MEDS",!
|
||||
Q
|
||||
N MEDRSLT,I,J,K,MEDPTMP,X,MEDVMAP,TBUF
|
||||
D ACTIVE^ORWPS(.MEDRSLT,DFN)
|
||||
I '$D(MEDRSLT(1)) D ; NO MEDS FOR THIS PATIENT, EXIT
|
||||
|
|
Loading…
Reference in New Issue