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

ABMDE1A.m

Go to the documentation of this file.
  1. ABMDE1A ; IHS/ASDST/DMJ - PAGE 1 - VIEW INFO ;
  1. ;;2.6;IHS Third Party Billing;**1,8**;NOV 12, 2009
  1. ;
  1. ; IHS/SD/SDR - abm*2.6*1 - HEAT4158 - added mammograpy cert#
  1. ;
  1. ; *********************************************************************
  1. ;
  1. V1 ; view
  1. S ABMZ("TITL")="IDENTIFIER - VIEW OPTION"
  1. S ABMZ("PG")=1
  1. D SUM^ABMDE1
  1. S ABMV=""
  1. S $P(ABMV,"-",80)=""
  1. W !,"Patient.: ",$P($P(ABMV("X2"),U),";",2)
  1. W ?48,"Sex.: ",$P(ABMV("X2"),U,2),?59,"DOB..: ",$P(ABMV("X2"),U,6)
  1. W !?10,$P(ABMV("X2"),U,3),?48,"Home Phone......: ",$P(ABMV("X2"),U,5)
  1. W !?10,$P(ABMV("X2"),U,4),?48,"Marital Status..: ",$P($P(ABMV("X2"),U,7),";",2)
  1. I $P(ABMV("X3"),U)="" G LOC
  1. W !!?3,"Employer...: ",$P(ABMV("X3"),U)
  1. W ?48,"Empl. Status..: ",$P($P(ABMV("X3"),U,5),";",2)
  1. W !?16,$P(ABMV("X3"),U,2)
  1. W ?48,"Work Phone....: ",$P(ABMV("X3"),U,4)
  1. W !?16,$P(ABMV("X3"),U,3)
  1. ;
  1. LOC ;
  1. W !,ABMV
  1. W !,"Facility: ",$P($P(ABMV("X1"),U),";",2)
  1. W ?48,"Tax Number..: ",$P(ABMV("X1"),U,6)
  1. W !?10,$P(ABMV("X1"),U,2)
  1. W ?48,"Phone.......: ",$P(ABMV("X1"),U,5)
  1. W !?10,$P(ABMV("X1"),U,3)
  1. W ?48,"NPI.........: "
  1. ;start old code abm*2.6*8
  1. ;S ABMLNPI=$S($P($G(^ABMNINS(ABMP("LDFN"),ABMP("INS"),1,ABMP("VTYP"),1)),U,8)'="":$P(^ABMNINS(ABMP("LDFN"),ABMP("INS"),1,ABMP("VTYP"),1),U,8),$P($G(^ABMDPARM(ABMP("LDFN"),1,2)),U,12)'="":$P(^ABMDPARM(ABMP("LDFN"),1,2),U,12),1:ABMP("LDFN"))
  1. ;W $S($P($$NPI^XUSNPI("Organization_ID",+ABMLNPI),U)>0:$P($$NPI^XUSNPI("Organization_ID",+ABMLNPI),U),1:"")
  1. ;end old start new code
  1. I $G(ABMP("INS"))'="" D
  1. .S ABMLNPI=$S($P($G(^ABMNINS(ABMP("LDFN"),ABMP("INS"),1,ABMP("VTYP"),1)),U,8)'="":$P(^ABMNINS(ABMP("LDFN"),ABMP("INS"),1,ABMP("VTYP"),1),U,8),$P($G(^ABMDPARM(ABMP("LDFN"),1,2)),U,12)'="":$P(^ABMDPARM(ABMP("LDFN"),1,2),U,12),1:ABMP("LDFN"))
  1. .W $S($P($$NPI^XUSNPI("Organization_ID",+ABMLNPI),U)>0:$P($$NPI^XUSNPI("Organization_ID",+ABMLNPI),U),1:"")
  1. ;end new code abm*2.6*8
  1. W !?10,$P(ABMV("X1"),U,4)
  1. W ?48,"ASUFAC......: ",$$ASUFAC^ABMUCUTL($P(ABMV("X1"),";"),ABMP("VDT"))
  1. W !?48,"Mammo Cert#.: ",$P($G(^ABMDPARM(ABMP("LDFN"),1,5)),U,4) ;abm*2.6*1 HEAT4158
  1. D ^ABMDERR
  1. W !
  1. S ABM("Y")=+Y
  1. ;
  1. XIT ;
  1. Q