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

APCDCHP1.m

Go to the documentation of this file.
  1. APCDCHP1 ; IHS/CMI/LAB - CONT. PRINT LINK ;
  1. ;;2.0;IHS PCC SUITE;**11**;MAY 14, 2009;Build 58
  1. ;
  1. ;
  1. PROC ; ENTRY POINT;print deleted procedures
  1. S APCDT="PROC"
  1. Q:'$D(^TMP("ILINK",$J,"PROC ERROR"))
  1. D HEAD^APCDCHKP S APCDI="" F S APCDI=$O(^TMP("ILINK",$J,"PROC ERROR",APCDI)) Q:APCDI="" S APCDPDFN=^TMP("ILINK",$J,"PROC ERROR",APCDI) D:$Y>(IOSL-6) HEAD^APCDCHKP D PRNP
  1. Q
  1. PRNP ;
  1. S APCDIV=^AUPNVSIT($P(APCDPDFN,U,3),0) S:'$P(APCDIV,U,6) $P(APCDIV,U,6)=0
  1. S Y=+APCDIV X ^DD("DD") S APCDRD=Y
  1. W !,"IN-HOSP: DATE: [",APCDRD,"] NAME: [",$P(^DPT($P(APCDIV,U,5),0),U),"] TYPE: [",$P(APCDIV,U,3),"]"
  1. W !," LOCATION: [",$S($D(^DIC(4,$P(APCDIV,U,6),0)):$P(^(0),U),1:"UNKNOWN"),"] DEPENDENT ENTRY CNT: [",$P(APCDIV,U,9),"]"
  1. W !?10,"Procedure: ",$P($$ICDOP^ICDEX($P(APCDPDFN,U),$$VD^APCLV($P(APCDPDFN,U,3)),,"I"),U,2),?30,"Provider Narr: ",$P(^AUTNPOV($P(APCDPDFN,U,4),0),U)
  1. Q