VistA Analysis » VistA Reference » RPCs » ORWDPS5 LESAPI

ORWDPS5 LESAPI

Properties

Property Value
Label LESAPI
MUMPS Implementation ORWDPS5
Return Type ARRAY

MUMPS Method Description

Property Value
Method LESAPI^ORWDPS5
Method Comment Call LES Api from inside CPRS for validating changed lab order
Input Parameters FLDS
First Comment
 FLDS = DFN^TEST^ORL^ORNP^ORDT
DFN: Patient DFN (pointer to #2)
TEST: Lab Test IFN (pointer to #101.43)
ORL: Patient Location (pointer to #44)
ORNP: Provider IEN (pointer to #200)
ORDT: Collection date/time (fileman format)
Code
 N DFNL,TESTL,ORLOCL,ORNPL,ORDTL,HAVELES
S (DFNL,TESTL,ORLOCL,ORNPL,ORDTL,HAVELES)=""
S DFNL=$P(FLDS,U,1)
S TESTL=$P(FLDS,U,2)
S ORLOCL=$P(FLDS,U,3)
S ORNPL=$P(FLDS,U,4)
S ORDTL=$P(FLDS,U,5)
S HAVELES=$TEXT(COM^AVJLES)
I $L(HAVELES) D COM^AVJLES(.ORY,DFNL,TESTL,ORLOCL,ORNPL,ORDTL)
S ORY(1)=""

CPRS

File Type Description
Pascal File Orders/rOrders.pas


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