DESCRIPTION |
The purpose of this Remote Procedure Call is to improve patient safety by
RETURN PARAMETER DESCRIPTION for detailed information and format.
providing a methodology for the Computerized Patient Record System (CPRS)
to include additional information in the similar patient lookup process.
Specifically, this RPC is a wrapper that includes output from the DG CHK
B25 XREF ARRAY RPC, and portions of the output from three other RPCs. The
data from these RPCs is combined to build a list of patients meeting the
similar name criteria, as well as providing additional clarifying
information to assist providers in selecting the correct patient. See the
|
RETURN PARAMETER DESCRIPTION |
The return from this RPC will include, first, the return from DG CHK B25
Field 9 is piece 4 (Last Visit Date) from the ORWPT2 ID INFO RPC
Field 10 is piece 3 (Attending Physician) from the ORWPT1 PRCARE RPC
The data will be returned in an array. DG CHK B25 XREF ARRAY begins the
patient data at subscript 2 and the first piece of each line will be a 1.
A first piece of 0 indicates text to be displayed.
Sample output:
RETURN(1)=1
RETURN(2)="0^There is more than one patient whose last name is
XREF ARRAY.
CPRSPATIENT"
RETURN(3)="0^and whose social security number ends with 0018"
RETURN(4)="1^100033^CPRSPATIENT
,EIGHTEEN-PATIENT^2350407^666330018^WARD A^^WARD B^Jan 31, 2023
^CPRSATTENDING,THIRTYNINE"
RETURN(5)="1^100058^CPRSPATIENT
,FORTYTHREE-PATIENT^2350407^666010018^WARD 3S^^20 MINUTE^Jan 2 7,
2022^CPRSATTENDING,THIRTYNINE"
RETURN(6)="1^100103^CPRSPATIENT
,EIGHTYNINE-PATIENT^2350407^666980018^WARD 3N^^20 MINUTE^Jul 21,
2014^CPRSATTENDING,THIRTYNINE"
RETURN (7)="1^100788^CPRSPATIENT
,EIGHTYPATIENT^2450309^666850018^3ES^CPRSPROVIDER,EIGHTEEN^3ES^ Jun 09,
2014^CPRSPROVIDER,FIFTY"
RETURN(8)="1^100861^CPRSPATIENT,EIGHTYEIGHT^2901010^845110018^^^^^"
Appended to that information will be the following:
Fields 1-5 come from the DG CHK5 B25 XREF ARRAY
Field 6 is piece 6 (Inpatient Location) from the ORWPT ID INFO RPC
Field 7 is piece 2 (Primary Care Provider) from the ORWPT2 ID INFO RPC
Field 8 is piece 3 (Last Visit Location) from the ORWPT2 ID INFO RPC
|