GENERAL DESCRIPTION |
Imaging is requesting an RPC or API to get a list of
Lab data from selected VistA patient (DFN) So the image will be captured can
be linked to the LAB study. (Anatomic Pathology only - VI Capture)
.
Input: DFN (VistA patient ID) Output: OUT <array>
OUT(0) = total number of patient LAB study
OUT(no) = Patient name^
patient SSN^
Date - 1st piece of LR(lrdfn,sect,lri,0)^
Accession Number^
Pathologist Name^
Specimen^
Patient ID(DFN)^
Section^
LRDFN^
LRI^ If there is no Lab study, the OUT(0)=0 or -1 (patient
no found) For example: (DFN=1066)
D DFN^LRJMAG(.OUT,1066)
OUT(0)="3^DATA FOUND" OUT(1)="PATIENT,ONEZEROSIXSIX^000001066^08/21/2001^CY 01
1^UNKNOWN^LUNG^CY^1066^51^6989178^"
OUT(2)="PATIENT,ONEZEROSIXSIX^000001066^08/21/2001^EM 01
1^IMAGPROVIDERTHREEONE,THREEONE^SKIN^EM^1066^51^6989178^"
OUT(3)="PATIENT,ONEZEROSIXSIX^000001066^08/21/2001^SP 01
1^UNKNOWN^LUNG^SP^1066^51^6989178^"
(LSRP MAG*3.0*113)
|