RMPR TECH PAT (543)    SORT TEMPLATE (.401)

Name Value
NAME RMPR TECH PAT
SORT FIELD DATA
  • FILE OR SUBFILE NO.:   664.1
    GET CODE:   X DPP(1,"OVF0",9.2) S X=$S('$D(^DPT(+$P(Y(101),U,1),0)):"",1:$P(^(0),U,1)) S D0=I(0,0) I D0>0 S DISX(1)=X
    QUERY CONDITION:   I DISX(1)'=""
    DESCRIPTION OF SORT:   PATIENT not null
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   X DPP(1,"OVF0",9.2) S X=$S('$D(^DPT(+$P(Y(101),U,1),0)):"",1:$P(^(0),U,1)) S D0=I(0,0) I D0>0 S DISX(1)=X
    OVERFLOW DATA:
    • FIRST SUBSCRIPT FOR OVERFLOW:   OVF0
      SECOND SUBSCRIPT FOR OVERFLOW:   9.2
      OVERFLOW CODE:   S I(0,0)=$S($D(D0):D0,1:""),Y(1)=$S($D(^RMPR(664.1,D0,0)):^(0),1:""),D0=$P(Y(1),U,2) S:'$D(^RMPR(665,+D0,0)) D0=-1 S Y(101)=$S($D(^RMPR(665,D0,0)):^(0),1:"")
    FIELD NAME:   PATIENT
    SORT QUALIFIERS BEFORE FIELD:   ".02
  • FILE OR SUBFILE NO.:   664.1
    GET CODE:   S Y(1)=$S($D(^RMPR(664.1,D0,0)):^(0),1:"") S X=$S('$D(^VA(200,+$P(Y(1),U,16),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(2)=X
    QUERY CONDITION:   I DISX(2)'=""
    DESCRIPTION OF SORT:   TECHNICIAN not null
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   S Y(1)=$S($D(^RMPR(664.1,D0,0)):^(0),1:"") S X=$S('$D(^VA(200,+$P(Y(1),U,16),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(2)=X
    FIELD NAME:   TECHNICIAN
    SORT QUALIFIERS BEFORE FIELD:   "15
DATE CREATED 1995-02-27 16:14:00
FILE PROSTHETIC 2529-3