| WVDATA |
Input |
Reference to an array that contains the pertinent
data to create a new entry. The array is formatted as follows:
WVDATA("ID")=Caret-delimited string
Caret-delimited string - identifying data
PIECE VALUE
==========================
1 The patient's internal entry
number (IEN) in the WV PATIENT
file (#790)
2 Type of status data that is
conflicting; 'P' for pregnancy
or 'L' for lactation
WVDATA("LAB")=Pipe-delimited string
Pipe-delimited string - laboratory test data
that is in conflict
PIECE VALUE
==========================
1 Observation D/T
2 Observation ID
3 Observation Sub-ID
4 Observation Value
5 Units
6 Reference Range
Refer to the OBX portion of the HL7 Fields sub-section of the Laboratory
section within the OE/RR Version 3 Package Interface Specifications document
for details and formatting of each piece.
WVDATA("CODE")=Pipe-delimited string
Pipe-delimited string - diagnosis code data
that is in conflict
PIECE VALUE
==========================
1 SAB
2 CODE
Refer to the Input variables for the $$EXP component in integration agreement
#5680 for a description of each piece value.
When calling this component, the "ID" subscript is required. In addition,
either the "LAB" or the "CODE" subscript must be defined (the caller may
define both of these subscripts in the same call).
|
$$SAVESRND |
Output |
Caret-delimited string indicating the call's status:
PIECE VALUE
==========================
1 1 for successfully created new entry
-1 for an error
2 Error message
"" when the call is successful
|