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

BCHPEDIT.m

Go to the documentation of this file.
  1. BCHPEDIT ; IHS/CMI/LAB - INPUT TX ON PATIENT FIELD OF CHR RECORD ;
  1. ;;2.0;IHS RPMS CHR SYSTEM;;OCT 23, 2012;Build 27
  1. ;
  1. ;
  1. PAT04 ;EP called from input transform on #.04 (Patient)
  1. Q:'$D(BCHDATE)
  1. I AUPNDOD,$P(BCHDATE,".")>AUPNDOD W !," <Patient died before the visit date>" K X Q
  1. I $P(BCHDATE,".",1)<AUPNDOB W !," <Patient born after the visit date>" K X Q
  1. Q
  1. ;
  1. ;
  1. DOB1102 ;EP called from input transform on #1102
  1. Q:'$D(BCHDATE)
  1. I $P(BCHDATE,".")<X W !," <DOB is after the visit date>" K X Q
  1. Q