DGRP61 ;ALB/PJH,LBD,DJS,JAM,JAM,ARF - Patient MSDS History - List Manager Screen ;16 Oct 2017 16:04:16
Source file <DGRP61.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| EN(DFN) | ;Main entry point to invoke the DGEN MSDS PATIENT list
 ; Input -- DFN Patient IEN  | 
|
| HDR | ;Header code
 | 
|
| INIT | ;Build patient MSDS screen
 | 
|
| GETMSE(DFN,GLBL,NUM) | ;Load service episodes from .3216 array
 ; INPUT: DFN = Patient IEN ; GLBL = ^TMP global ref ; NUM = 1 - display line numbers  | 
|
| EPISODE(DGDATA,GLBL,NUM) | ;Format individual service episode
 | 
|
| HELP | ;Help code
 | 
|
| EXIT | ;Exit code
 | 
|
| PEXIT | ;DGEN MSDS MENU protocol exit code
 | 
|
| ACT(DGACT) | ; Entry point for menu action selection
 ; INPUT: DGACT = "A" - Add - DGEN MSDS ADD protocol ; = "E" - Edit - DGEN MSDS EDIT protocol ; = "D" - Delete - DGEN MSDS DELETE protocol  | 
|
| ACTQ | ; menu action exit point 
 | 
|
| ADD | ; Add new MSE to #2.3216 sub-file
 | 
|
| SEL(ACT) | ; function, prompt for episode to edit/delete
 | 
|
| SELHLP(ACT) | ; Help message for episode prompt
 | 
|
| HECHLP | ; Help message for episodes that can only be changed by HEC
 | 
|
| ZNODE(VAL) | ; Update zero node of MSE multiple .3216
 | 
|
| SETDR1 | ; Set DR array to edit MSE fields
 | 
|
| SETDR2 | ; Set DR array to add MSE fields
 | 
|
| FVP() | ; Prompt for FILIPINO VET PROOF
 | 
|
| SET0(DA,DIPA) | ; Set DIPA(0) to values of Service Branch and Service Component
 | 
|
| WARN(DIPA,Y) | ;Warns that the Service Branch was changed so the
 ; Service Component was deleted ; Returns Y to skip component if the component should not be asked ; for this branch of service  | 
|
| CMP(X) | ; Function to determine if service component is valid for
 ; branch of service ien in X 0 = invalid 1 = valid ; Component only valid for ARMY/AIR FORCE/MARINES/COAST GUARD/NOAA/USPHS/SPACE FORCE  | 
|
| RUSURE() | ; Confirmation prompt for deleting episode
 | 
| Name | Line Occurrences | 
|---|---|
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| FileNo | Call Tags | 
|---|---|
| ^DPT - [#2] | Classic Fileman Calls | 
| ^DIC(26 - [#26] | GET1^DIQ |