write_component_string Method
Sets the value of the next class within the current element in the current segment.
Syntax
def write_component_string(value: str) -> None: ...
Remarks
Use the on_write_component_string method to specify a value for an individual component within a composite data element.
To write an entire composite data element, first call the start_element method, then do one or more calls to on_write_component_string. Finish the composite element by calling the end_element method.