Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls
Print Page as PDF
Routine: RAUTL18

Package: Radiology Nuclear Medicine

Routine: RAUTL18


Information

RAUTL18 ;HISC/DAD,GJC - PROCEDURE FILE UTILITIES ; Mar 11, 2024@08:19:32

Source Information

Source file <RAUTL18.m>

Entry Points

Name Comments DBIA/ICR reference
EN(RAPROCD0,PROCTYPE) ;
; Check/delete DESCENDENT multiple when the TYPE OF PROCEDURE changes
; Input: PROCEDURE file (#71) IEN (RAPROCD0)
; New TYPE OF PROCEDURE value in internal format (PROCTYPE)
EN1 ; TYPE OF PROCEDURE: Non-parent ==> Parent
; Is PROCEDURE a DESCENDENT? If it is KILL X
; Input: PROCEDURE file (#71) IEN (RAPROCD0)
EN2 ; TYPE OF PROCEDURE: Parent ==> Non-parent, delete DESCENDENTS
; Input: PROCEDURE file (#71) IEN (RAPROCD0)
EN3(RADA) ; Displays the available sequence numbers for the current
BCDE(X) ; Output data in a barcode format. 'X' is the data to be converted.
; RAIND1 & RAIND2 are newed in PRT^RAFLH. Used for indirection.
ILOC(X) ; Determines based on procedure I-Type if only one I-Loc is available
; for this user.
; To be called from: [RA OERR EDIT], [RA ORDER EXAM] and
; [RA QUICK EXAM ORDER] input templates. (File: 75.1)
; Input Variable: 'X'-> IEN of the procedure
; Output Variable: 'Y'-> $S(one I-Loc of proc. I-Type: IEN of I-Loc,1:0)
ADDRESS(RADA,DFN) ; Pass back the address of the patient for Print Label
; Fields.
; Input: RADA-ien of the print label field, DFN-patient ien
; Output: The street address of the patient.
; It can be the street address(123 Main Street), possibly followed by
; additional street address information such as 'P.O. Box' data, and
; finally the city, state, and zip code.

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !?3,"Available Sequence Numbers for "_RAIMGTYJ_":"
  • Line Location: EN3+10
Function Call: WRITE
  • Prompt: !!?5,"The only valid sequence number for an Imaging Type of"
  • Line Location: EN3+23
Function Call: WRITE
  • Prompt: !?5,"'"_RAIMGTYJ_"' is: ",$P(RA0,"^",4)_".",!
  • Line Location: EN3+24
Function Call: WRITE
  • Prompt: !!?5,"There are no available sequence numbers.",!
  • Line Location: EN3+26
Function Call: WRITE
  • Prompt: !,$G(RA(RACNT))
  • Line Location: EN3+28
Function Call: WRITE
  • Prompt: !
  • Line Location: EN3+29
Function Call: WRITE
  • Prompt: !?5,"The current sequence number is: "_$P(RA0,"^",4)_"."
  • Line Location: EN3+30
Function Call: WRITE
  • Prompt: !?5,"The"_$S(+$P(RA0,"^",4)&(+$P(RA0,"^",4)<RAHIT):" next",1:"")
  • Line Location: EN3+32
Function Call: WRITE
  • Prompt: " lowest available sequence number is: ",RAHIT,!
  • Line Location: EN3+33
Info |  Source |  Entry Points |  Interaction Calls