| PAT |
Input |
This is a variable pointer to the patient in the
format "DFN;DPT("
|
GROUP |
Input |
This is the Display Group (file 100.98), allowing
orders to be clustered into groups other than by package.
|
FLG |
Input |
Indicates orders to display:
1. All => 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
2. Active/Current => 3,4,5,6, 8,9, 11, 15
Includes CONTEXT HRS 1,2,7,13 & Action Status=13
Orders in ^OR(100,"AC",PAT,TM,IFN,ACTION)
3. Discontinued => 1 12,13
4. Completed/Expired => 2, 7
5. Expiring => 3,4,5,6, 8,9
6. Recent Activity => 1,2,3,4,5,6,7,8,9, 12, 15
Orders in ^OR(100,"AR",PAT,TM,IFN,ACTION)
7. Pending => 5
8. Unverified => 1, 3,4,5,6, 8,9, 15
9. Unverified/Nurse => 1, 3,4,5,6, 8,9, 15
10. Unverified/Clerk => 1, 3,4,5,6, 8,9, 15
11. Unsigned => 1,2,3,4,5,6,7,8,9,10,11, 13,14,15
Orders in ^OR(100,"AS",PAT,TM,IFN)
12. Flagged => 1,2,3,4,5,6,7,8,9, 12,13,14,15
13. Verbal/Phoned => 1,2,3,4,5,6,7,8,9, 13,14,15
Nature of order of verbal or phoned
14. Verb/Phn unsigned => 1,2,3,4,5,6,7,8,9, 13,14,15
Nature of order V or P & unsigned
15. Admission => 10
16. Discharge => 10
17. Transfer => 10
Orders in ^OR(100,"AEVNT",PAT,<A,D or T>,IFN)
18. On Hold => 3
19. New Orders => 10,11
Orders in ^TMP("ORNEW",$J,ORIFN)
20. Chart Review => 1, 3,4,5,6, 8,9, 15
21. Chart Copy Summary=> same as All w/screen on Nature of order
22. Lapsed => 14
23. Active status => 6
|
EXPAND |
Input |
Internal entry number of parent order, used to expand
child orders.
|
SDATE |
Input |
Start date (FM format).
|
EDATE |
Input |
End date (FM format).
|
DETAIL |
Input |
Level of detail to be returned (optional, default=0)
0 => ^TMP("ORR",$J,ORLIST,i) = order #
1 => ^TMP("ORR",$J,ORLIST,i) = order #^display group^when entered^
start d/t^stop d/t^status^sts abbrv
^TMP("ORR",$J,ORLIST,i,"TX",j) = order text
|
MULTI |
Input |
Multiple order flag:
0 = Don't allow multiple occurances of order
1 = Allow multiple occurances
|
TMP('ORR',$J,ORLIST,i) |
Output |
Returns data about current orders depending on the
value of the input variable DETAIL:
DETAIL=0 ^TMP("ORR",$J,ORLIST,i) = order #
DETAIL=1 ^TMP("ORR",$J,ORLIST,i) = order #^display group^when entered^
start d/t^stop d/t^status^sts abbrv
^TMP("ORR",$J,ORLIST,i,"TX",j) = order text
|