Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: AGMSPI1

AGMSPI1.m

Go to the documentation of this file.
  1. AGMSPI1 ; IHS/SD/EFG - MSP INTERVIEW PART 1 ;
  1. ;;7.1;PATIENT REGISTRATION;**8**;AUG 25, 2005
  1. ;
  1. EN ;EP -
  1. W !,"PART I"
  1. W !
  1. K DIC,DIE,DA,DR
  1. S DIE="^AUPNMSP("
  1. S DA=AG("DA")
  1. S DR=".02////^S X=DFN"
  1. D ^DIE
  1. QUES1 ;ASK QUESTION NUMBER 1
  1. S DR=".06 Are you receiving Black Lung (BL) Benefits ? (Y/N) "
  1. D ^DIE K DIE("NO^")
  1. Q:$D(Y) ;AG*7.1*8
  1. S PARTI1=X
  1. I X="Y" D
  1. . K AG("MCRCHK")
  1. . S DIE="^AUPNMSP("
  1. . S DR=".07 Date primary benefits begin ? "
  1. . D ^DIE
  1. . W !?5,"BL is primary only for claims related to BL"
  1. . W !
  1. QUES2 ;ASK QUESTION NUMBER 2
  1. S DR=".08 Are the services to be paid by a government program such as a research grant ? (Y/N) "
  1. D ^DIE K DIE("NO^")
  1. Q:$D(Y) ;AG*7.1*8
  1. S PARTI2=X
  1. I X="Y" K AG("MCRCHK")
  1. QUES3 ;ASK QUESTION NUMBER 3
  1. S DR=".09 Has the Department of Veteran Affairs (DVA) authorized and agreed to pay for care at this facility ? (Y/N) "
  1. D ^DIE K DIE("NO^")
  1. Q:$D(Y) ;AG*7.1*8
  1. S PARTI3=X
  1. I X="Y" K AG("MCRCHK") W !?5,"VA is primary for these services."
  1. QUES4 ;ASK QUESTION NUMBER 4
  1. S DR=".11 Was the illness/injury due to a work-related accident/condition ? (Y/N) "
  1. D ^DIE K DIE("NO^")
  1. Q:$D(Y) ;AG*7.1*8
  1. S PARTI4=X
  1. I X="Y" D Q:$D(Y)
  1. . K AG("MCRCHK")
  1. . S DR=".12 Date of injury/illness : "
  1. . D ^DIE
  1. . Q:$D(Y) ;AG*7.1*8
  1. . S DR=".13 Name of Workman's Comp (WC) plan: "
  1. . D ^DIE
  1. . Q:$D(Y) ;AG*7.1*8
  1. . S DR=".14 Patient's policy or identification number : "
  1. . D ^DIE
  1. . Q:$D(Y) ;AG*7.1*8
  1. . S DR=".15 Name of your employer : "
  1. . D ^DIE
  1. . Q:$D(Y) ;AG*7.1*8
  1. . W !,"WC is primary payer only form those claims related to work-related"
  1. . W !,"injuries or illness. GO TO PART III"
  1. E W " GO TO PART II." D EN^AGMSPI2 Q
  1. D EN^AGMSPI3
  1. Q