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: MPIFSAQ

Package: Master Patient Index VistA

Routine: MPIFSAQ


Information

MPIFSAQ ;SF/CMC-STAND ALONE QUERY ; 10/7/08 12:41pm

Source Information

Source file <MPIFSAQ.m>

Entry Points

Name Comments DBIA/ICR reference
VTQ(MPIVAR) ;
  • ICR #2941
    • Status: Active
    • Usage: Controlled Subscription
    INTACTV ;Interactive standalone query - Display Only patient doesn't have to be in Patient file
    END
    CLEAN(NAM) ;NAM is the name to be cleaned up, Returned from this function is a clean name
    PAT(MPIVAR) ;patient is in local Patient file
    PATA
    NOPAT(MPIVAR) ; patient is not in the local Patient file
    ; Story 603957 (elz) change Gender to Birth Sex
    NAME
    DOB
    SSN ; ssn is optional
    GENDER ; Gender is optional
    ; Story 603957 (elz) Change Gender to Birth Sex
    PHONE ; Phone is optional
    ADDR1 ;Address line 1 is optional
    ADDR2 ;Address line 2 is optional
    ADDR3 ;Address line 3 is optional
    CITY ;City is optional
    SEG(SEGMENT,PIECE,CODE) ;Return segment from MPIDC array and kill node

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: !,"DOB is missing - Required field"
    • Line Location: INTACTV+6
    Function Call: WRITE
    • Prompt: !,"Patient not found. Try Again"
    • Line Location: PATA+3
    Function Call: WRITE
    • Prompt: !!,"When the patient is NOT in the local PATIENT file, you will be asked",!,"to provide as much information as possible to facilitate the query."
    • Line Location: NOPAT+2
    Function Call: WRITE
    • Prompt: !,"You will be asked for patient name, date of birth, Social Security Number,",!,"birth sex, phone number, and address. Minimally, you must enter patient name",!,"and date of birth.",!!
    • Line Location: NOPAT+3
    Function Call: WRITE
    • Prompt: !,"Name must be 3 to 30 characters, entered as: last<comma>first<space>middle"
    • Line Location: NAME+4
    Function Call: WRITE
    • Prompt: !,"Name must be 3 to 30 characters, entered as: last<comma>first<space>middle"
    • Line Location: NAME+5
    Function Call: WRITE
    • Prompt: !,"SSN should be 9 numbers"
    • Line Location: SSN+3

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^DPT - [#2] Classic Fileman Calls
    Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call