MAGDHOW2 ;WOIFO/PMK,DAC,JSL - Capture Consult/GMRC data ;22 Jul 2021 10:13 AM
Source file <MAGDHOW2.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| MESSAGE(SERVICE) | ; invoked from ^MAGDHOW1
 | 
|
| INIT(MSGTYPE,EVENT) | ; start building a new HL7 message
 | 
|
| PIDPV1(HLMSTATE,DFN) | ; build the PID and PV1 segments
 ; Also invoked by ^MAGT7S to build these segments for Anatomic Pathology - P183 PMK 3/7/17  | 
|
| OUTPUT | ; output the messages to ^MAGDHL7
 | 
|
| MOVESEG(HLMSTATE,SEG,ERROR) | ;Adds a segment built in the 'traditional' way as an array of lines into the message.
 | 
| FileNo | Call Tags | 
|---|---|
| ^HLD(779.4 - [#779.4] | GET1^DIQ |