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 |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: DGEN

Package: Registration

Routine: DGEN


Information

DGEN ;ALB/RMO/CJM,JAM,RN - Patient Enrollment Option; 11/17/00 12:12pm ; 12/6/00 5:32pm

Source Information

Source file <DGEN.m>

Entry Points

Name Comments DBIA/ICR reference
EN ;Entry point for stand-alone enrollment option
; Input -- None
; Output -- None
ENQ
EN1(DFN) ;Entry point for enrollment from registration and disposition
; Input -- DFN Patient IEN
; Output -- None
EN1Q
CHK(DFN) ;Check if patient should be asked to enroll
; Input -- DFN Patient IEN
; Output -- 1=Yes and 0=No
CHK3(DFN) ;Check to restrict Register Only Patients to enroll from Patient Enrollment EP protocol
; Input -- DFN Patient IEN
; Output -- 1=Yes and 0=No
ENRPAT(DFN,DGENOUT,DGENRYN) ;Enroll patient DG*5.3*993 Added third parameter
; Input -- DFN Patient IEN
; -- DGENRYN (Optional) ENROLL Y/N question for registration 0=NO 1=YES
; Output -- 1=Successful and 0=Failure
; DGENOUT 1=Timeout or up-arrow
ENRPATQ
ASK(ACTION,DGENOUT) ;Ask patient if s/he would like to enroll or cease enrollment
; Input -- ACTION Action description
; Output -- 1=Yes and 0=No
; DGENOUT 1=Timeout or up-arrow
ENROLL(DFN,DGENRYN) ;Create new local unverified enrollment DG*5.3*993 Added 2nd parameter DGENRYN
; Input -- DFN Patient IEN
; -- DGENRYN (Optional) ENROLL Y/N question for registration 0=NO 1=YES
; Output -- 1=Successful and 0=Failure
ENROLLQ
CANCEL(DFN,DGENR,EFFDATE) ;Cancel current enrollment
; Input
; DFN Patient IEN
; DGENR Array containing current enrollment (pass by reference)
; EFFDATE Enrollment Effective Date Of Change (optional)
; Output
; Function Return Value is 1 if Successful and 0 on Failure
ASKDATE
CANCELQ
DECLINE(DFN,APPDATE) ;Create Declined enrollment
; Input -- DFN Patient IEN
; APPDATE Application date (optional)
; Output -- 1=Successful and 0=Failure
DECLINEQ ;
MTBULL(DFN,DGENR) ;Create/Send means test 'REQUIRED' bulletin for PATIENT ENROLLMENT
MTBULLQ
LINE(DGTEXT,DGLINE) ;Add lines of text to mail message
MTREQ(DFN) ; --
MTREQQ
VIEWDATE(FMDATE) ;
REGONLY(DFN) ;
; DG*5.3*1045 - capture ineligible reason DGINELREA

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: ASK+7
Function Call: WRITE
  • Prompt: !,">>> Another user is editing, try later ..."
  • Line Location: ENROLL+13
Function Call: WRITE
  • Prompt: !
  • Line Location: ENROLL+32
Function Call: WRITE
  • Prompt: !
  • Line Location: CANCEL+13
Function Call: WRITE
  • Prompt: !,"and no later than "_$$VIEWDATE(END)_"."
  • Line Location: ASKDATE+1
Function Call: WRITE
  • Prompt: !,">>> Another user is editing, try later ..."
  • Line Location: DECLINE+7
Function Call: WRITE
  • Prompt: !
  • Line Location: DECLINE+10
Function Call: WRITE
  • Prompt: !,">>> Another user is editing, try later ..."
  • Line Location: REGONLY+6

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] GET1^DIQ
^DGEN(27.11 - [#27.11] GET1^DIQ
^DG(408.43 - [#408.43] FIND1^DIC
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call