Changeset 359
- Timestamp:
- Feb 8, 2009, 12:26:20 AM (16 years ago)
- Location:
- ccr/trunk/p
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/CCRMEDS.m
r342 r359 39 39 K @MEDTARYTMP ; KILL XML ARRAY 40 40 I $G(DUZ("AG"))="I" D Q ; 41 . I '$D(C0CTESTMEDS) G USERPC ; DELETE THIS LINE AFTER TESTING IS DONE41 . ; I '$D(C0CTESTMEDS) G USERPC ; DELETE THIS LINE AFTER TESTING IS DONE 42 42 . D EXTRACT^CCRMEDS6(MEDXML,DFN,MEDOUTXML) 43 . I @MEDOUTXML@(0)=0 D USERPC ; FOR RPMS, USE THE RPC FOR MEDS43 . ; I @MEDOUTXML@(0)=0 D USERPC ; FOR RPMS, USE THE RPC FOR MEDS 44 44 D EXTRACT^CCRMEDS1(MEDXML,DFN,MEDOUTXML) ; FIRST EXTRACT OUTPATIENT MEDS 45 45 I @MEDOUTXML@(0)>0 D ; CCRMEDS FOUND ACTIVE OP MEDS -
ccr/trunk/p/CCRMEDS6.m
r352 r359 190 190 . . S @MAP@("M","DIRECTIONS",DIRCNT,"MEDDIRECTIONDESCRIPTIONTEXT")="" ; This is reserved for systems not able to generate the sig in components. 191 191 . . S @MAP@("M","DIRECTIONS",DIRCNT,"MEDDOSEINDICATOR")="1" ; means that we are specifying it. See E2369-05. 192 . . S @MAP@("M","DIRECTIONS",DIRCNT,"MEDDELIVERYMETHOD")= $G(SIGDATA(8))193 . . S @MAP@("M","DIRECTIONS",DIRCNT,"MEDDOSEVALUE")= $G(SIGDATA(.01))194 . . S @MAP@("M","DIRECTIONS",DIRCNT,"MEDDOSEUNIT")= $G(SIGDATA(2))192 . . S @MAP@("M","DIRECTIONS",DIRCNT,"MEDDELIVERYMETHOD")=SIGDATA(8) 193 . . S @MAP@("M","DIRECTIONS",DIRCNT,"MEDDOSEVALUE")=SIGDATA(.01) 194 . . S @MAP@("M","DIRECTIONS",DIRCNT,"MEDDOSEUNIT")=SIGDATA(2) 195 195 . . S @MAP@("M","DIRECTIONS",DIRCNT,"MEDRATEVALUE")="" ; For inpatient 196 196 . . S @MAP@("M","DIRECTIONS",DIRCNT,"MEDRATEUNIT")="" ; For inpatient 197 197 . . S @MAP@("M","DIRECTIONS",DIRCNT,"MEDVEHICLETEXT")="" ; For inpatient 198 198 . . S @MAP@("M","DIRECTIONS",DIRCNT,"MEDDIRECTIONROUTETEXT")=$G(SIGDATA(6)) 199 . . S @MAP@("M","DIRECTIONS",DIRCNT,"MEDFREQUENCYVALUE")= $G(SIGDATA(7))199 . . S @MAP@("M","DIRECTIONS",DIRCNT,"MEDFREQUENCYVALUE")=SIGDATA(7) 200 200 . . ; Invervals... again another call. 201 201 . . ; In the wisdom of the original programmers, the schedule is a free text field
Note:
See TracChangeset
for help on using the changeset viewer.