source: WorldVistAEHR/trunk/r/AUTOMATED_MED_INFO_EXCHANGE-DVBA-DVBC/DVBAADM1.m@ 1279

Last change on this file since 1279 was 613, checked in by George Lilly, 15 years ago

initial load of WorldVistAEHR

File size: 340 bytes
Line 
1DVBAADM1 ;ALB ISC/THM-CHECK FOR ADMISSION TO HOSPITAL ;21 JUL 89
2 ;;2.7;AMIE;;Apr 10, 1995
3 S DVBAX=0,DVBAX=$O(^DGPM("APTT1",DFN,DVBAX)) G INP:DVBAX'>0 S ADM=1 Q
4 ;
5INP K DVBAX D STATUS I '$D(ADM) Q
6 Q
7STATUS ;PATIENT STATUS
8 S:'$D(DOCTYPE) DOCTYPE="A" I DOCTYPE="A",'$D(ADM) W *7,!!,"This patient has never been admitted.",!! K Z H 3 Q
9 Q
Note: See TracBrowser for help on using the repository browser.