GenderProfile

class GenderProfile(var genderProfileId: Long? = null, var code: String = "", var displayName: String = "", var description: String? = null, var sortOrder: Int = 0)

One gender option a member of the caller's organization may pick.

Consumers encounter these as the GenderProfileList.profiles list returned by com.advantahealth.api.settings.ApplicationSettings.getGenderProfiles. Render displayName in the picker and send code back as the member's gender when the profile is saved; the legacy M and F are platform codes and stay valid.

Constructors

Link copied to clipboard
constructor(genderProfileId: Long? = null, code: String = "", displayName: String = "", description: String? = null, sortOrder: Int = 0)

Properties

Link copied to clipboard

What profile create and update send as the member's gender.

Link copied to clipboard

Optional helper text for the option, or null when unset.

Link copied to clipboard

The label to show the member.

Link copied to clipboard

The stable identity of the option, unchanged when its label is edited. null for an organization whose members live outside the shared gender registry.

Link copied to clipboard

The position the organization configured for the option; lower values come first.

Functions

Link copied to clipboard
open override fun toString(): String