| SAVEHL7 | 
Usage: $$SAVEHL7(TYPE)
To add a new record to the EHRM HL7 Message file (#1609).
Arguments:      TYPE - HL7 message type ("IFC","PRF" or "PSAS")
The HL7 message is extracted from the standard HL7 array.
Returns: IEN in file #1609 if successful or 0^error message if not.
Example: $$SAVEHL7^EHMHL7("IFC")
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
TYPE | 
Input | 
Specifies the type of HL7 message.  Valid values are
"IFC","PRF" or "PSAS".
 
 | 
 
 | 
SAVEHL7X | 
Usage: $$SAVEHL7X(NODE,TYPE)
To add a new record to the EHRM HL7 Message file (#1609)
Arguments:      NODE - ^TMP node where the HL7 message is stored, i.e.,
^TMP(NODE,$J,i)=HL7 segment
TYPE - HL7 message type ("IFC","PRF" or "PSAS")
Returns: IEN in file #1609 if successful or 0^error message if not.
Example: $$SAVEHL7X^EHMHL7("HLS","IFC")
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
NODE | 
Input | 
Specifies the ^TMP node where the HL7 message is
stored, i.e., ^TMP(NODE,$J,i)=HL7 segment.
 
 | 
TYPE | 
Input | 
Specifies the type of HL7 message "IFC","PRF" or
"PSAS".
 
 | 
 
 |