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

AGMSPI6.m

Go to the documentation of this file.
  1. AGMSPI6 ; IHS/SD/EFG - MSP INTERVIEW PART 6 ;
  1. ;;7.1;PATIENT REGISTRATION;**8**;AUG 25, 2005
  1. ;
  1. EN ;EP -
  1. W !,"PART VI - ESRD"
  1. W !
  1. QUES1 ;ASK QUESTION NUMBER 1
  1. S DR=".54 Do you have group health plan (GHP) coverage ? (Y/N) "
  1. D ^DIE
  1. K DIE("NO^")
  1. Q:$D(Y) ;AG*7.1*8
  1. S PARTVI1=X
  1. I X="Y" D Q:$D(Y)
  1. . S DR=".55 Name of GHP : "
  1. . D ^DIE
  1. . Q:$D(Y) ;AG*7.1*8
  1. . S DR=".56 Policy identification number : "
  1. . D ^DIE
  1. . Q:$D(Y) ;AG*7.1*8
  1. . S DR=".57 Group identification number : "
  1. . D ^DIE
  1. . Q:$D(Y) ;AG*7.1*8
  1. . S DR=".58 Name of policy holder : "
  1. . D ^DIE
  1. . Q:$D(Y) ;AG*7.1*8
  1. . S DR=".59 Relationship to patient : "
  1. . D ^DIE
  1. . Q:$D(Y) ;AG*7.1*8
  1. . S DR=".61 Name of employer, if any, from which you receive GHP coverage : "
  1. . D ^DIE
  1. . Q:$D(Y) ;AG*7.1*8
  1. E D Q ;AG*7.1*8
  1. . S DIR(0)="E"
  1. . S DIR("A")="STOP. Medicare is primary. Press any key to exit."
  1. . D ^DIR ;AG*7.1*8
  1. . K DIR
  1. . Q
  1. ;
  1. QUES2 ;ASK QUESTION NUMBER 2
  1. S DR=".62 Have you received a kidney transplant ? (Y/N) "
  1. D ^DIE
  1. K DIE("NO^")
  1. Q:$D(Y) ;AG*7.1*8
  1. S PARTVI2=X
  1. I X="Y" D Q:$D(Y) ;AG*7.1*8
  1. . S DR=".63 Date of transplant : "
  1. . D ^DIE
  1. QUES3 ;ASK QUESTION NUMBER 3
  1. S DR=".64 Have you received maintenance dialysis treatments ? (Y/N) "
  1. D ^DIE
  1. K DIE("NO^")
  1. Q:$D(Y) ;AG*7.1*8
  1. S PARTVI3=X
  1. I X="Y" D Q:$D(Y)
  1. . S DR=".65 Date dialysis began : "
  1. . D ^DIE
  1. . Q:$D(Y) ;AG*7.1*8
  1. . S DR=".66 If you participated in a self dialysis training program, provide date training started : "
  1. . D ^DIE
  1. QUES4 ;ASK QUESTION NUMBER 4
  1. S DR=".67 Are you within the 30 month coordination period ? (Y/N) "
  1. D ^DIE
  1. K DIE("NO^")
  1. Q:$D(Y) ;AG*7.1*8
  1. S PARTVI4=X
  1. I X="N" D Q ;AG*7.1*8
  1. . S DIR(0)="E"
  1. . S DIR("A")="STOP. Medicare is primary.ENTER <RETURN> TO CONTINUE"
  1. . D ^DIR
  1. . K DIR
  1. . Q
  1. ;
  1. QUES5 ;ASK QUESTION NUMBER 5
  1. S DR=".68 Are you entitled to Medicare on the basis of either ESRD and age or ESRD and disability ? (Y/N) "
  1. D ^DIE
  1. K DIE("NO^")
  1. Q:$D(Y) ;AG*7.1*8
  1. S PARTVI5=X
  1. I X="N" D Q ;AG*7.1*8
  1. . S DIR(0)="E"
  1. . S DIR("A")="STOP. The group health plan (GHP) is primary during the 30-month coordinator period. Press <ENTER> to continue."
  1. . D ^DIR
  1. . K DIR
  1. . Q
  1. ;
  1. QUES6 ;ASK QUESTION NUMBER 6
  1. S DR=".69 Was your initial entitlement to Medicare (insluding simultaneous entitlement) based on ESRD ? (Y/N) "
  1. D ^DIE
  1. K DIE("NO^")
  1. Q:$D(Y) ;AG*7.1*8
  1. S PARTVI6=X
  1. I X="Y" D Q ;AG*7.1*8
  1. . S DIR(0)="E"
  1. . S DIR("A")="STOP. The GHP continues to pay primary during the 30-month coordination period. ENTER <RETURN> TO CONTINUE"
  1. . D ^DIR
  1. . K DIR
  1. . Q
  1. W !,"Initial entitlement is based on age or disability."
  1. QUES7 ;ASK QUESTION NUMBER 7
  1. S DR=".71 Does the working aged or disability MSP provision apply (i.e., is the GHP primary based on age or disability entitlement ? (Y/N) "
  1. D ^DIE
  1. K DIE("NO^")
  1. Q:$D(Y) ;AG*7.1*8
  1. S PARTVI7=X
  1. I X="Y" W !,"The GHP continues to pay primary during the 30-month coordination period."
  1. E W !,"Medicare continues to pay primary."
  1. S DR=".05////^S X=DUZ"
  1. D ^DIE
  1. Q