VistA Analysis » VistA Reference » RPCs » MAGV GET PAT ORDERS

MAGV GET PAT ORDERS

Returns an array of CONsult or RADiology orders for an inputENTERPRISE PATIENT IDENTIFIER.

Properties

Property Value
Label GETORD
MUMPS Implementation MAGVIM02
Return Type ARRAY

Input Parameters

Name Type Maximum Data Length Required Description
ENTERPRISE PATIENT ID LITERAL 999 true ENTERPRISE PATIENT ID.
PATIENT ID TYPE LITERAL 1 true Single character per ID TYPE field (#.03) of theIMAGING PATIENT REFERENCE file (#2005.6).
PATIENT ID ASSIGNING AUTHORITY LITERAL 1 true Single character per ASSIGNING AUTHORITY field (#.02) of theIMAGING PATIENT REFERENCE file (#2005.6).
PATIENT ID CREATING ENTITY LITERAL 30 true Free text per CREATING ENTITY field (#.04) of the IMAGING PATIENT REFERENCE file (#2005.6).
ORDER TYPE LITERAL 3 true Free text as "CON" for Consult Orders, "RAD" for Radiology Orders.
ORDER DATE FILTER START LITERAL 8 true A date formatted as MMDDYYYY.
ORDER DATE FILTER END LITERAL 8 true A date formatted as MMDDYYYY.


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