PSBSVHL7 ;BIRMINGHAM/TEJ - BCMA HL7 SERVER ;5/28/10 1:48pm
Source file <PSBSVHL7.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| EN(PSBIEN,PSBHL7X) | ; This is the entry point for all HL7 processing
 | 
|
| 1 | ; set up environment for message
 | 
|
| 2 | ; Add appropriate message txt to HLA array
 | 
|
| MEDSTAT | ;MEDPASS and UPDATE trigger events 
 | 
|
| COMMENT | ;ADD COMNMENT trigger event
 | 
|
| PRNEFFE | ;PRN EFFECTIVENESS trigger event
 | 
|
| PID | ; PID segment -- use segment generator
 | 
|
| PV1 | ; PV1 segment
 | 
|
| ORC | ; ORC segment
 | 
|
| RXO | ; RXO segment
 | 
|
| NTE | ; NTE segment(s) - notes and comments
 | 
|
| RXR | ; RXR segment
 | 
|
| RXC | ; RXC segment
 ; loop through .5,.6,and .7 send segments for each "component"  | 
|
| RXA | ; RXA segment
 | 
|
| ESC(PSBINF) | ; Escape message data
 | 
|
| TRANS | ; CALL HL7 TO Transmit Message
 | 
| Name | Line Occurrences | 
|---|---|
| Function Call: WRITE | 
  | 
| FileNo | Call Tags | 
|---|---|
| ^VA(200 - [#200] | GET1^DIQ | 
| ^PS(50.7 - [#50.7] | GET1^DIQ |