you just need to do: patientIdentifierType.id instead of calling the getter