A22 (450)    BPS NCPDP FIELD DEFS (9002313.91)

Name Value
NCPDP FIELD NUMBER A22
NAME PATIENT ID STATE/PROVINCE
FORMAT ALPHA/NUMERIC
ID YR
LENGTH 2
D0 LENGTH 2
D0 FORMAT ALPHANUMERIC
VISTA FIELD NUMBER 1022
STANDARD NCPDP FIELD NAME PATIENT ID ASSOCIATED STATE/PROVINCE ADDRESS
GET CODE
S BPS("X")=""
REQUEST SEGMENT PATIENT
D0 FORMAT CODE
S BPS("X")=$$ANFF^BPSECFM($G(BPS("X")),2)
SET CODE
S $P(^BPSC(BPS(9002313.02),"A20"),U,2)=BPS("X")
FORMAT CODE
S BPS("X")=$$ANFF^BPSECFM($G(BPS("X")),2)