| FILE |
Creates new order and sets fields in the ORDER file
(100). This entry point includes a 'D ST^ORX' to update the status.
REQUIRED VARIABLES; ORL,ORPCL,ORNP or ORPV, ORVP OPTIONAL VARIABLES:
ORCOST,OREVENT,ORIT,ORLOG,ORPK,ORPURG,ORSTOP,ORSTRT,ORSTS,ORTO, ORTS,ORTX(i).
RETURNED VARIABLES: ORIFN
NOTE: a) ORSTRT updates both the CURRENT and ORIGINAL Start Date fields. b)
ORNP/ORPV updates both the CURRENT and ORIGINAL Agent/ Provider fields.
|
RETURN |
Updates order information such as the start
date/time, stop date/time, display text, or order status. Call RETURN^ORX
with ORIFN to update order information. This entry point includes a 'D
ST^ORX' to update the status, if the variable ORETURN ("ORSTS") is defined.
The array ORETURN with the appropriate subscripts for updating the order must
be defined prior to calling this entry point. For example, if you want to
update the cost of the order to $10, then you would call RETURN^ORX with the
variable ORETURN ("ORCOST")=10.
REQUIRED VARIABLES: ORIFN OPTIONAL VARIABLES: ORETURN
ORETURN subscripts:
ORCOST,OREVENT,ORIT,ORPK,ORPURG,ORNP/ORPV,ORSTOP,ORSTRT,ORSTS, ORETURN(ORTX,i)
RETURNED VARIABLES: NONE NOTE: ORETURN(ORSTRT) updates the CURRENT
Start Date. ORETURN (ORPV) updates the CURRENT agent/Provider.
|
ST |
Updates status. Call ST^ORX where ORIFN is defined
and ORSTS is the internal entry number of the status in the ORDER STATUS file
(100.1). This will replace the status for this ORIFN with the status in
ORSTS.
REQUIRED VARIABLES: ORIFN,ORSTS RETURNED VARIABLES: NONE
|