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 |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: GMRCDIS

Package: Consult Request Tracking

Routine: GMRCDIS


Information

GMRCDIS ;SLC/JFR - LM ROUTINE TO DISASSOCIATE MED RESULTS; 11/5/01 11:20

Source Information

Source file <GMRCDIS.m>

Entry Points

Name Comments DBIA/ICR reference
EN ;invoke list template
HDR ;format list template header
PHDR
INIT ; set up array into ^TMP("GMRCR",$J,"DT"...
; should already have it
GETRES(GMRCO) ; get associated MEDICINE results and format
DIS(GMRCO) ;select consult and start disassoc process
EXIT ;
EN1(GMRCRSLT) ; select result and verify remove action
REMOVE(GMRCO,RSLT,GMRCAD,GMRCORNP) ;disassociate result
; remove rslt, log actv, update sts, send alerts
; Input:
; GMRCO - ien from file 123
; RSLT - medicine result in var ptr form (e.g. "19;MCAR(691.5,")
; GMRCAD - FM date/time of action (optional)
; GMRCORNP - DUZ of person performing action (optional)
STSCHG(GMRCIEN) ;completed before or go back
REFRESH(GMRCIEN) ;re-build list of associated results
REMUSR(GMRCIEN,USER) ; check to see if user is authorized to remove results

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^GMR(123 - [#123] Classic Fileman Calls
Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call