305 (10)    BPS NCPDP FIELD DEFS (9002313.91)

Name Value
NCPDP FIELD NUMBER 305
NAME PATIENT GENDER CODE
FORMAT NUMERIC
ID C5
LENGTH 1
D0 LENGTH 1
D0 FORMAT NUMERIC
GET CODE
S BPS("X")=$G(BPS("Patient","Gender Code"))
REQUEST SEGMENT PATIENT
D0 FORMAT CODE
S BPS("X")=$$NFF^BPSECFM($G(BPS("X")),1)
SET CODE
S $P(^BPSC(BPS(9002313.02),300),U,5)=BPS("X")
FORMAT CODE
S BPS("X")=$$NFF^BPSECFM($G(BPS("X")),1)