Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: DGREGTZL

Package: Registration

Routine: DGREGTZL


Information

DGREGTZL ;ALB/BDB - Temporary & Confidential Address Edits API ; 11/30/11 10:00am

Source Information

Source file <DGREGTZL.m>

Entry Points

Name Comments DBIA/ICR reference
EN(RESULT,DFN) ;Let user edit zip+4, city, state, county based on zip-linking
; Output: RESULT(field#) = User Input External ^ Internal
ZIP(DFN) ;Let user input zip+4
ZAGN
CITY(RESULT,ZIP,DFN) ;Base on zip, let user input city(#FCITY)
; Input:
; ZIP - user input zip for the patient primary address
; DFN - Interal entry number of Patient File (#2)
; Output:RESULT=-1 (input error or timed or ^ out)
; or =user input city
; Array index # of selected city.
CAGN1
CAGN2
LINK(RESULT,ZIP,DGN) ;From zip, get the linked state,county
STCNTY(RESULT,ZIP,DFN,DGNUM) ;Based on zip,input state (#FSTATE) and county (#FCOUNTY)
SCAGN
CNTY(DGST,DGCIEN) ;Return county name and code
FOREIGN() ;Manila (Philippines) doesn't need zip linking.
FRGNEDT(DGINPUT,DFN) ;Edit zip+4, city, state, county for no zip-linking area
FAGN
ALWEDTTC(DUZ,ZIP) ; determine if a security key is necessary for editing
; Input: zip code
; Output: 1: allow edit state and county
; 0: don't allow edit state and county

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: $C(7)," ??"
  • Line Location: ZAGN+14
Function Call: WRITE
  • Prompt: !,$S(TYPE="TEMP":"TEMPORARY ",TYPE="CONF":"CONFIDENTIAL ",1:"")_"STATE: ",$G(EASDATA("STATE"))
  • Line Location: ALWEDTTC+14
Function Call: WRITE
  • Prompt: !,$S(TYPE="TEMP":"TEMPORARY ",TYPE="CONF":"CONFIDENTIAL ",1:"")_"COUNTY: ",$G(EASDATA("COUNTY"))
  • Line Location: ALWEDTTC+15

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] FIELD^DID,  GET1^DIQ
5.01 FIND1^DIC
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call