This method sets the value of the current component.
blnSetComponentValue = objHL7FieldComponent.SetValue("New Value")
Parameter |
Type |
Description |
---|---|---|
Value string |
String |
Replacement value for this component. |
Return Value |
Description |
---|---|
0 |
Returned if the component value could not be changed. |
1 |
Returned if the component exists and can be changed. If the original value and the new value exactly match (meaning the data did not change), then the return value will still be 1. |