ORWDPS5 ;SLC/JLI - CPRS Orders Utility ; 8/15/2002 11AM
Source file <ORWDPS5.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| LESGRP(ORY,ORLES) | ;Return all of the orders' display groups LES checked | |
| LESAPI(ORY,FLDS) | ;Call LES Api from inside CPRS for validating changed lab order ; FLDS = DFN^TEST^ORL^ORNP^ORDT ; DFN: Patient DFN (pointer to #2) ; TEST: Lab Test IFN (pointer to #101.43) ; ORL: Patient Location (pointer to #44) ; ORNP: Provider IEN (pointer to #200) ; ORDT: Collection date/time (fileman format) | |
| ISVTP(ORY,ODIEN) | ;True: is verbal or telephoned or policy order | 
| Name | Field # of Occurrence | 
|---|---|
| COM^AVJLES | LESAPI+14, LESAPI+15 | 
| RPC Name | Call Tags | 
|---|---|
| ORWDPS5 LESGRP | LESGRP | 
| ORWDPS5 LESAPI | LESAPI | 
| ORWDPS5 ISVTP | ISVTP | 
| Name | Line Occurrences (* Changed, ! Killed) | 
|---|---|
| ^OR(100 - [#100] | ISVTP+2, ISVTP+8, ISVTP+9 | 
| ^ORD(100.02 - [#100.02] | ISVTP+5, ISVTP+6, ISVTP+7 | 
| ^ORD(100.98 - [#100.98] | LESGRP+7, LESGRP+8, LESGRP+9, LESGRP+10 | 
| >> | Not killed explicitly | 
| * | Changed | 
| ! | Killed | 
| ~ | Newed | 
| Name | Field # of Occurrence | 
|---|---|
| BLDBKID | LESGRP+5~, LESGRP+6*, LESGRP+9*, LESGRP+11, LESGRP+12 | 
| CHMID | LESGRP+5~, LESGRP+6*, LESGRP+10*, LESGRP+11, LESGRP+12 | 
| DFNL | LESAPI+7~, LESAPI+8*, LESAPI+9*, LESAPI+15 | 
| FLDS | LESAPI~, LESAPI+9, LESAPI+10, LESAPI+11, LESAPI+12, LESAPI+13 | 
| HAVELES | LESAPI+7~, LESAPI+8*, LESAPI+14*, LESAPI+15 | 
| LABID | LESGRP+5~, LESGRP+6*, LESGRP+7*, LESGRP+8*, LESGRP+11, LESGRP+12 | 
| LSTACT | ISVTP+3~, ISVTP+4*, ISVTP+8*, ISVTP+9 | 
| NATR | ISVTP+3~, ISVTP+4*, ISVTP+9*, ISVTP+10 | 
| ODIEN | ISVTP~, ISVTP+2, ISVTP+8, ISVTP+9 | 
| ORDTL | LESAPI+7~, LESAPI+8*, LESAPI+13*, LESAPI+15 | 
| ORLES | LESGRP~ | 
| ORLOCL | LESAPI+7~, LESAPI+8*, LESAPI+11*, LESAPI+15 | 
| ORNPL | LESAPI+7~, LESAPI+8*, LESAPI+12*, LESAPI+15 | 
| ORY | LESGRP~, LESGRP+6*, LESGRP+12*, LESAPI~, LESAPI+15, ISVTP~, ISVTP+1*, ISVTP+10* | 
| ORY(1 | LESAPI+16* | 
| POL | ISVTP+3~, ISVTP+4*, ISVTP+7*, ISVTP+10 | 
| TEL | ISVTP+3~, ISVTP+4*, ISVTP+6*, ISVTP+10 | 
| TESTL | LESAPI+7~, LESAPI+8*, LESAPI+10*, LESAPI+15 | 
| U | LESGRP+12, LESAPI+9, LESAPI+10, LESAPI+11, LESAPI+12, LESAPI+13, ISVTP+9 | 
| VERB | ISVTP+3~, ISVTP+4*, ISVTP+5*, ISVTP+10 | 
| Name | Field # of Occurrence | 
|---|---|
| $T(COM^AVJLES | LESAPI+14 |