MHV7B1R2 ;MHV/JBM - HL7 message builder RTB^K13 Medications Profile ; 02/07/22
Source file <MHV7B1R2.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| RDF(MSGROOT,CNT,LEN,HL) | ;  Build RDF segment for Rx Profile data
 | 
|
| RDT(MSGROOT,DATAROOT,CNT,LEN,HL) | ;  Build RDT segments for Rx Profile data
 | 
|
| RQUEUE | ;Get last record from refill queue file 52.43
 | 
|
| RMK(TYP) | ; build Remark field
 | 
|
| SPACES(WPN) | ; Remove extra spaces from line of text
 | 
|
| GETIND | ;Get indication fields
 | 
|
| STRIP(HL7STR) | ; Remove bad ascii characters from HL7 line
 | 
|
| ESCAPE(VAL,HL) | ;Escape any special characters
 | 
| FileNo | Call Tags | 
|---|---|
| ^PS(52.43 - [#52.43] | GETS^DIQ |