311 (17)    BPS NCPDP FIELD DEFS (9002313.91)

Name Value
NCPDP FIELD NUMBER 311
NAME PATIENT LAST NAME
FORMAT ALPHA/NUMERIC
ID CB
LENGTH 15
D0 LENGTH 15
D0 FORMAT ALPHANUMERIC
GET CODE
S BPS("X")=$G(BPS("Patient","Last Name"))
REQUEST SEGMENT PATIENT
D0 FORMAT CODE
S BPS("X")=$$ANFF^BPSECFM($G(BPS("X")),15)
RESPONSE SEGMENT RESPONSE PATIENT
SET CODE
S $P(^BPSC(BPS(9002313.02),300),U,11)=$G(BPS("X"))
FORMAT CODE
S BPS("X")=$$ANFF^BPSECFM($G(BPS("X")),15)