Adjust the LookupUserResponse.inc template, and add text to POD
in NCIP::User explaining the fields.
Signed-off-by: Jason Stephenson <jason@sigio.com>
=head2 UserId
+An array ref of NCIP::User::Id objects.
+
=head2 UserOptionalFields
+A single NCIP::User::OptionalFields object.
+
=cut
+[% FOREACH id IN data.UserId -%]
<UserId>
<UserIdentifierValue>
-[% data.UserId.UserIdentifierValue | xml %]
+[% id.UserIdentifierValue | xml %]
</UserIdentifierValue>
-[% IF data.UserId.UserIdentifierType -%]
+[% IF id.UserIdentifierType -%]
<UserIdentifierType>
-[% data.UserId.UserIdentifierType | xml %]
+[% id.UserIdentifierType | xml %]
</UserIdentifierType>
[% END -%]
-[% IF data.UserId.AgencyId -%]
+[% IF id.AgencyId -%]
<AgencyId>
-[% data.UserId.AgencyId %]
+[% id.AgencyId %]
</AgencyId>
[% END -%]
</UserId>
+[% END -%]
[% IF data.UserOptionalFields -%]
<UserOptionalFields>
[% IF data.UserOptionalFields.NameInformation -%]