VistA Analysis » VistA Reference » RPCs » ORWDPS33 COMPLOC

ORWDPS33 COMPLOC

This RPC will return a 0 if the patient location is the same location as the original order. It will return a 1 if the location is different.

Properties

Property Value
Label COMPLOC
MUMPS Implementation ORWDPS33
Return Type SINGLE VALUE

Input Parameters

Name Type Maximum Data Length Required Description
ORID LITERAL   true This is the IEN of the original order from file 100
LOC LITERAL   true This is the encounter location the order is being written for.

MUMPS Method Description

Property Value
Method COMPLOC^ORWDPS33
Input Parameters ORID, LOC
Code
 S ORY=0
I LOC'=+$P($G(^OR(100,+ORID,0)),U,10) S ORY=1

CPRS

File Type Description
Pascal File Orders/rODMeds.pas


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