DFN |
Input |
Patient IEN.
|
ORITEM |
Input |
Package reference number from ORDER file (#100).
|
ORIEN |
Input |
IEN From Order file (#100)
|
ORDX |
Input |
Array of pointers to Diagnosis file (#80). Up to 8
pointers are accepted and the first is always the primary diagnosis. ICD.
Example: ORDX(1)=80
|
ORSCEI |
Input |
Contains: AO^IR^SC^EC^MST^HNC^CV^SHAD
|
$$EN |
Output |
1 = success, package information has been updated.
0^error message = indicates function call did not succeed.
Where error message can contain:
1 = Prescription IEN cannot be found.
2 = ORSCEI contains "?".
3 = Patient IEN is different than the entry
in Prescription file (#52).
4 = Orderable item is different than the entry
in Prescription file (#52).
5 = ORIEN does not equal PLACER ORDER # in
Prescription file (#52).
6 = Discontinued order;NO COPAY RESETS
|