VistA Analysis » VistA Reference » RPCs » ORWPT FULLSSN

ORWPT FULLSSN

Given an SSN in the format 999999999(P), return a list of matchingpatients.

Properties

Property Value
Label FULLSSN
MUMPS Implementation ORWPT
Return Type ARRAY

Input Parameters

Name Type Maximum Data Length Required Description
IEN LITERAL 15 true SSN in the format '999999999(P)'.

MUMPS Method Description

Property Value
Method FULLSSN^ORWPT
Method Comment Return a list of patients matching full SSN entered
Input Parameters ID
Code
 N I,IEN
S (I,IEN)=0
F S IEN=$O(^DPT("SSN",ID,IEN)) Q:'IEN D
. S I=I+1,LST(I)=IEN_U_$P(^DPT(IEN,0),U)_U_$$DOB^DPTLK1(IEN,2)_U_$$SSN^DPTLK1(IEN) ; DG249

CPRS

File Type Description
Pascal File rCore.pas


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