VistA Analysis » VistA Reference » RPCs » ORQQPL INIT PT

ORQQPL INIT PT

returns death indicator, sc and exposures

Properties

Property Value
Label INITPT
MUMPS Implementation ORQQPL1
Return Type ARRAY

Input Parameters

Name Type Maximum Data Length Required Description
DFN        

MUMPS Method Description

Property Value
Method INITPT^ORQQPL1
Method Comment GET PATIENT PARAMETERS
Input Parameters DFN
Code
 Q:+$G(DFN)=0
N GMPSC,GMPAGTOR,GMPION,GMPGULF,GMPHNC,GMPMST,GMPCV,GMPSHD
S RETURN(0)=DUZ(2) ; facility #
D DEM^VADPT ; get death indicator
S RETURN(1)=$G(VADM(6)) ; death indicator
D VADPT^GMPLX1(DFN) ; get eligibilities
S RETURN(2)=$P(GMPSC,U) ; service connected
S RETURN(3)=$G(GMPAGTOR) ; agent orange exposure
S RETURN(4)=$G(GMPION) ; ionizing radiation exposure
S RETURN(5)=$G(GMPGULF) ; gulf war exposure
S RETURN(6)=VA("BID") ; need this to reconstitute GMPDFN on return
S RETURN(7)=$G(GMPHNC) ; head/neck cancer
S RETURN(8)=$G(GMPMST) ; MST
S RETURN(9)=$G(GMPCV) ; CV
S RETURN(10)=$G(GMPSHD) ; SHAD

CPRS

File Type Description
Pascal File rProbs.pas
Pascal File BA/UBAGlobals.pas


Document generated on August 31st 2022, 2:55:43 pm