source: WorldVistAEHR/trunk/r/IHS_ROUTINES-AUP/AUPNLKH.m@ 703

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

initial load of WorldVistAEHR

File size: 2.3 KB
RevLine 
[613]1AUPNLKH ; IHS/CMI/LAB - HELP PROMPTS ;17NOV2006
2 ;;1.0;PCE PATIENT CARE ENCOUNTER;**167**;Aug 12, 1996;Build 22
3 ; Copyright (C) 2007 WorldVistA
4 ;
5 ; This program is free software; you can redistribute it and/or modify
6 ; it under the terms of the GNU General Public License as published by
7 ; the Free Software Foundation; either version 2 of the License, or
8 ; (at your option) any later version.
9 ;
10 ; This program is distributed in the hope that it will be useful,
11 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 ; GNU General Public License for more details.
14 ;
15 ; You should have received a copy of the GNU General Public License
16 ; along with this program; if not, write to the Free Software
17 ; Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 ;'Modified' MAS Patient Look-up Check Cross-References June 1987
19HELP ;
20 I AUPX["??" S DZ="??",D="B",X=AUPX D DQ^DICQ S AUPQF=3 Q
21 D EN^DDIOL("Identify the Patient in one of the following ways:","","!!")
22 D EN^DDIOL("- Enter the Patient's NAME or a portion of the NAME in the following format: ","","!"),EN^DDIOL($$NAME_" DOE or "_$$NAME,"","!?10")
23 D EN^DDIOL("1...Use from 3 to 30 letters","","!!?5"),EN^DDIOL("2...a COMMA MUST FOLLOW THE LAST NAME","","!?5"),EN^DDIOL("3...If ""JR"" or ""II"", etc, is included, follow the form "_$$NAME_" DOE,JR.","","!?5")
24 D EN^DDIOL("4...NO SPACES after commas.","","!?5")
25 D ;I $G(VWVOEPAR("HRN")) D
26 .D EN^DDIOL("- Enter the Patient's "_$S($G(DUZ("AG"))="E":"Health Record",1:"IHS Chart")_" Number","","!!")
27 ;End new code DAOU/JLG 2/7/05
28 D ;I $G(VWVOEPAR("DOB")) D
29 .D EN^DDIOL("- Enter the Patient's DOB in one of the following forms: ","","!!"),EN^DDIOL("B01221966 or any valid date e.g. 01/22/66, 01-22-66, JAN 22,1966","","!?5")
30 D ;I $G(VWVOEPAR("SSN")) D
31 .D EN^DDIOL("- Enter the Patient's SSN or the last 4 digits of the SSN","","!!"),EN^DDIOL("or the last 4 digits preceded by the first letter of the last name","","!?5")
32 D ;I $G(VWVOEPAR("ROOM")) D
33 .D EN^DDIOL("- If the Patient is an Inpatient, enter the Ward or Room-Bed in the form:","","!!"),EN^DDIOL("66-2 PEDIATRICS","","!?5")
34 D ;I $G(VWVOEPAR("PHONE"))
35 .D EN^DDIOL("- Enter Patient's residence PHONE NUMBER")
36 Q
37 ;
38NAME() I $G(DUZ("AG"))="I" Q "HORSECHIEF,JOHN"
39 Q "SMITH,JOHN"
Note: See TracBrowser for help on using the repository browser.