Name | Value |
---|---|
NAME | VPR LAB ORDER |
DEFAULT FILE NUMBER | 100 |
DATA MODEL | SDA |
DISPLAY NAME | LabOrder |
ITEM |
|
DESCRIPTION | This entity populates the LabOrder container in HealthShare from the ORDER (#100) file; it expects the record ien as its ID (DIEN). Result data is pulled from the LAB DATA (#63) file. This entity is supported by code in routines VPRSDAOR and VPRSDAB, which uses various LR7O* calls to extract lab data. Data in SDA is maintained by monitoring the OR EVSEND LR* and LR* EVSEND OR protocol events. |
GET ENTRY ACTION | S:'DFN&ID DFN=+$P($G(^OR(100,ID,0)),U,2) S LRDFN=+$G(^DPT(DFN,"LR")) |
GET EXIT ACTION | K LRDFN,LRSUB,ORDAD,ORIT,ORPK,VPRCDT,OR0,OR3,OR6,OR8,ORSIG |
GET ID ACTION | D OR1^VPRSDAOR(DIEN) |
GET QUERY ROUTINE | ORDERS^VPRSDAOR("LAB") |