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
Print Page as PDF
Routine: HLEMU

Package: Health Level Seven

Routine: HLEMU


Information

HLEMU ;ALB/CJM Utility Routines ;02/04/2004 14:42

Source Information

Source file <HLEMU.m>

Entry Points

Name Comments DBIA/ICR reference
STATNUM(IEN) ;
INSTIEN(STATION) ;
UPD(FILE,HLDA,DATA,ERROR) ;File data into an existing record.
; Input:
; FILE - File or sub-file number
; HLDA - New name for traditional DA array, with same meaning.
; Pass by reference.
; DATA - Data array to file (pass by reference)
; Format: DATA(<field #>)=<value>
GETFIELD(FILE,FIELD,HLDA,ERROR,EXT) ;Get field value from an existing record.
; Input:
; FILE - File or sub-file number
; HLDA - New name for traditional DA array, with same meaning.
; Pass by reference.
; FIELD - Field for which value is needed
; EXT - (optional) If $G(EXT) then returns the external display form of the value
; Output:
; Function Value - field value in internal format,"" if an error was encountered
; ERROR - optional error message - if needed, pass by reference
DELETE(FILE,DA,ERROR) ;Delete an existing record.
; Input:
; FILE - File or sub-file number
; DA - Traditional DA array, with same meaning.
; ** Pass by reference**
ADD(FILE,HLDA,DATA,ERROR,IEN) ;
TESTVAL(FILE,FIELD,VALUE) ;
GETLINK(INSTIEN) ;
ASKYESNO(PROMPT,DEFAULT) ;
MSGIEN(MSGID) ;
  • ICR #5732
    • Status: Active
    • Usage: Controlled Subscription
    LINK(MSGIEN) ;
    HL7EVENT(MSGIEN) ;
    MSGTYPE(MSGIEN) ;
    APP(MSGIEN) ;
    APPNAME(APPIEN) ;
    PROMPT(FILE,FIELD,DEFAULT,RESPONSE,REQUIRE) ;
    I(VAR,N) ;This funtion increments the local or global variable by the amount N
    INC(VAR,N) ;This funtion increments the local variable by the amount N

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: !,"DONE"
    • Line Location: UPD+14
    Function Call: WRITE
    • Prompt: !,"DONE"
    • Line Location: DELETE+12
    Function Call: WRITE
    • Prompt: !,"DONE"
    • Line Location: ADD+18
    Function Call: WRITE
    • Prompt: !,"DONE"
    • Line Location: ADD+21
    Function Call: WRITE
    • Prompt: !,"This is a required response. Enter '^' to exit"
    • Line Location: PROMPT+32
    Info |  Source |  Entry Points |  Interaction Calls