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

Package: Imaging

Routine: MAGT7MA


Information

MAGT7MA ;WOIFO/MLH/PMK/DAC - Telepathology - create HL7 message to DPS ;02 Jan 2018 12:58 PM

Source Information

Source file <MAGT7MA.m>

Entry Points

Name Comments DBIA/ICR reference
EDIT ; main entry point to create HL7 order message for modification
  • ICR #5994
    • Status: Active
    • Usage: Private
    NEW ; entry point for to create HL7 order message for a new case
  • ICR #5994
    • Status: Active
    • Usage: Private
    BUILDHL7(STATE) ; build the segments
    ; Input variables from Lab Package
    ; LRDFN ----- lab file (#63) patient pointer
    ; LRI ------- inverse date in lab file (#63)
    ; LRSS ------ anatomic pathology section abbreviation in lab file (#63) - CY, EM, or SP
    GETFILE(LRSS) ; get FILE information
  • ICR #7497
    • Status: Active
    • Usage: Controlled Subscription
    REPORT ; main entry point - create HL7 order message for an electronically signed report
  • ICR #5994
    • Status: Active
    • Usage: Private
    CANCEL ; main entry point - create HL7 order message for a cancelled order
  • ICR #5994
    • Status: Active
    • Usage: Private
    NEWTIU(LRSS,PARENTFILE,LRDFN,LRI) ; check if this is a TIU note to be linked to an image group
    ; if so, create the cross-linkages now
    TIUXLINK ; create the cross-linkages to TIU EXTERNAL DATA LINK file
    TIUIEN(LRSS,LRDFN,LRI) ; lookup TIU reference
    ERROR(RETURN,TAG,VARS) ; log the error to the user's email
    SENDHL7() ; P166 DAC - Get value of SEND ANATOMIC PATHOLOGY HL7 switch

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^MAG(2006.1 - [#2006.1] GET1^DIQ
    ^LAB(60 - [#60] GET1^DIQ
    ^LR - [#63] GET1^DIQ
    ^HLD(779.4 - [#779.4] GET1^DIQ
    Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call