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

Package: Consult Request Tracking

Routine: GMRCMED


Information

GMRCMED ;SLC/JFR - MEDICINE INTERFACE ROUTINES; 2/20/01 13:32

Source Information

Source file <GMRCMED.m>

Entry Points

Name Comments DBIA/ICR reference
SET(NUM) ; set selected med result into GMRCMEDR
RESETIT(NUM) ;return prev. selected number to normal video
RESULTS(ROOT,GMRCDFN) ;get list of results from Medicine
; ROOT = "MCAR(691","MCAR(691.5" etc. (global root w/o comma)
; return list formatted in ^TMP("GMRCMC",$J
PHDR ;set protocols into actions
SELECT(CNT) ;grab an item from list
DISPRES(ITEM) ;
AR(ITEM) ;associate specific result and complete consult
MEDCOMP(GMRCDA,GMRCRSLT,GMRCAD,GMRCORNP,GMRCALRT) ;add medicine result
; update status and send alerts
; Input:
; GMRCDA - ien from file 123
; GMRCRSLT - medicine result in var ptr form (e.g. "19;MCAR(691.5,")
; GMRCAD - FM date/time of action (optional)
; GMRCORNP - DUZ of person taking action
; GMRCALRT - array of users to receive alert (optional)
REFRESH(GMRCIEN) ;update list of available results
SCRNDRFT(GMRCMCDA,GMRCMCFL) ;screen out draft or marked for del med results
; Input:
; GMRCDA - ien from a MEDICINE file
; GMRCMCFL - file # from MEDICINE (e.g. 691, 691.5, 699 etc.)
; Output: Boolean 1=screen it out 0=include it

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,$C(7),NUM_" is not a valid selection. "
  • Line Location: SET+2
Function Call: WRITE
  • Prompt: !,"Choose a number between 1 and "_VALMCNT
  • Line Location: SET+3

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^MCAR(697.2 - [#697.2] GET1^DIQ
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call