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

Package: Lab Service

Routine: LRSCTF


Information

LRSCTF ;DAL01/JMC - STORE STS MAPPING IN PARENT FILE ;02/08/12 15:25

Source Information

Source file <LRSCTF.m>

Entry Points

Name Comments DBIA/ICR reference
LD(LRINST,LROVER) ; Load STS mapping into SCT encoded files
; Call with LRINST = #4 IEN
; LROVER<opt> Its a do-over
GET954 ; Search cross reference of institution entries
LDPARS ;
; Parse the data
LEX ; Validate SCT code, get concept and term
; Only check those SCT codes if STS has mapped the term to SCT
LDCK ; Check target file to determine if mapping is correct
LDERR(LRERR) ;
; Populate error message text file ^XTMP("LRSCT-ERR"
; Send STS alert if needed.
BMES(MSG) ; Display message on screen and if during KIDS install store with install
LDFILE ; Update target file
RETRIEVE ; Retrieve mapping data from file #95.4
LD954 ;
; Update transport file with status
SCTUPD ; Update SCT STATUS DATE multiple

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: LD+26
Function Call: WRITE
  • Prompt: !,MSG
  • Line Location: BMES+5

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^LAB(64.061 - [#64.061] FIND1^DIC
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call