Ignore:
Timestamp:
Dec 4, 2009, 8:26:01 PM (14 years ago)
Author:
George Lilly
Message:

WorldVistAEHR overlayed on FOIAVistA

Location:
FOIAVistA/tag/r
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • FOIAVistA/tag/r/INPATIENT_MEDICATIONS-PSJ-PSIV-PSG--PSGW/PSJLMPRU.m

    r628 r636  
    11PSJLMPRU ;BIR/MLM-INPATIENT LISTMAN UD PROFILE UTILITIES ;27 Aug 98 / 8:45 AM
    2  ;;5.0; INPATIENT MEDICATIONS ;**16,58,85,110,185**;16 DEC 97;Build 6
     2 ;;5.0; INPATIENT MEDICATIONS ;**16,58,85,110**;16 DEC 97
    33 ;
    44 ; Reference to ^PSDRUG is supported by DBIA 2192.
     
    4444 ;                       LM  = Begin display of text after LM spaces.
    4545 ;                       RM  = Length of display text.
    46  ;
    47  ;BHW;PSJ*5*185;Extra spaces causes display to "skip" part of the field.                     
    48  ;S PSJL="",$P(PSJL," ",LM)="" F X=1:1 S WRD=$P(TXT," ",X) Q:WRD=""  D
    49  S PSJL="",$P(PSJL," ",LM)=""
    50  F X=1:1:$L(TXT," ") S WRD=$P(TXT," ",X) D
    51  .;BHW;PSJ*5*185;check if end of string or just extra space.
    52  .I WRD="" S PSJL=PSJL_" " Q
     46 ;                       
     47 S PSJL="",$P(PSJL," ",LM)="" F X=1:1 S WRD=$P(TXT," ",X) Q:WRD=""  D
    5348 .I $L(PSJL_" "_WRD)'<RM D SETTMP(SUB,PSJL) S PSJL="",$P(PSJL," ",10)=""
    5449 .I $L(PSJL_" "_WRD)'<RM S PSJL=PSJL_" "_$E(WRD,1,(RM-10)) D SETTMP(SUB,PSJL) S PSJL="",$P(PSJL," ",10)="",WRD=$E(WRD,(RM-9),$L(WRD))
Note: See TracChangeset for help on using the changeset viewer.