This method sets the value of the current subcomponent.
blnSetSubComponentValue = objHL7SubComponent.SetValue("New Value")
Parameter |
Type |
Description |
---|---|---|
Value string |
String |
Replacement value for this subcomponent. |
Return Value |
Description |
---|---|
0 |
Returned if the subcomponent value could not be changed. |
1 |
Returned if the subcomponent 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. |