GMTSRAD ; SLC/JER,KER HIN/GJC - Radiology Request Status ; 08/27/2002
Source file <GMTSRAD.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| ENRAD | ; Entry Point for HS only
 | 
|
| GET | ; Extract radiology orders
 | 
 
  | 
| HDR | ; Write column header
 | 
|
| LOOP | ; Loops through ^TMP("GMTSRAD",$J,
 | 
|
| WRT | ; Write record
 | 
|
| REG(DA,GMP) | ; Registered Order Parent/Differs
 ; ; If the order has been registered, check to see if the ; procedure ordered is a parent or if the ordered procedure ; differs from the registered procedure. ; ; Input: DA -> ien of the order in file 75.1 ; : GMP -> ien of the ordered procedure  | 
|
| REG1(DA,GMDFN,GMDTI,GMCNI,GMP) | ; Registered Order Differs
 ; ; Check if the ordered procedure differs from ; the registered procedure. ; ; Input: DA -> Order (75.1) ien ; GMDFN -> ien of the patient ; GMDTI -> inv. date/time of exam ; GMCNI -> ien of each case ; GMP -> ien of the procedure for the order ; ; Sets: ^TMP("GMTSRAD",$J,inv Req Entered Date/Time, ; order ien,proc ien, ; ; 0)=1 if one of the following conditions exist: ; 1) the procedure ordered is not the procedure ; registered (exam not cancelled) ; 2) the ordered procedure is a parent and the ; descendent procedure(s) have been registered ; (exam not cancelled) ; ; Sets: ^TMP("GMTSRAD",$J,inv Req Entered Date/Time, ; order ien,proc ien,seq #)=Registered Procedure  | 
| Name | Line Occurrences | 
|---|---|
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| FileNo | Call Tags | 
|---|---|
| 70.03 | GETS^DIQ | 
| ^RA(72 - [#72] | GET1^DIQ | 
| ^RAO(75.1 - [#75.1] | Classic Fileman Calls |