The code/version field in output IDSs is deallocated and replaced with an empty string by iWrap.
You can see the code responsible here:
https://github.com/iterorganization/iWrap/blob/c36b206e/iwrap/generators/wrapper_generators/fortran_wrapper/resources/macros/legacy_ids.jinja2#L28
Is this intentional? If so, how can I specify the version?