Table of Contents

Class ProfileEntryFactory

Namespace
Core.CliniCore.Domain.Users
Assembly
Core.CliniCore.dll
public static class ProfileEntryFactory
Inheritance
ProfileEntryFactory
Inherited Members

Methods

CreateAddress()

public static ProfileEntry<string> CreateAddress()

Returns

ProfileEntry<string>

CreateBirthDate()

public static ProfileEntry<DateTime> CreateBirthDate()

Returns

ProfileEntry<DateTime>

CreateEmail()

public static ProfileEntry<string> CreateEmail()

Returns

ProfileEntry<string>

CreateName()

public static ProfileEntry<string> CreateName()

Returns

ProfileEntry<string>

CreatePatientGender()

public static ProfileEntry<Gender> CreatePatientGender()

Returns

ProfileEntry<Gender>

CreatePatientRace()

public static ProfileEntry<string> CreatePatientRace()

Returns

ProfileEntry<string>

CreatePhysicianGraduationDate()

public static ProfileEntry<DateTime> CreatePhysicianGraduationDate()

Returns

ProfileEntry<DateTime>

CreatePhysicianLicenseNumber()

public static ProfileEntry<string> CreatePhysicianLicenseNumber()

Returns

ProfileEntry<string>

CreatePhysicianSpecializationList()

public static ProfileEntry<List<MedicalSpecialization>> CreatePhysicianSpecializationList()

Returns

ProfileEntry<List<MedicalSpecialization>>

CreateRequired<T>(string, string, IValidator<T>?)

public static ProfileEntry<T> CreateRequired<T>(string key, string displayName, IValidator<T>? validator = null)

Parameters

key string
displayName string
validator IValidator<T>

Returns

ProfileEntry<T>

Type Parameters

T

Create<T>(string, string, IValidator<T>?, bool)

public static ProfileEntry<T> Create<T>(string key, string displayName, IValidator<T>? validator = null, bool isRequired = false)

Parameters

key string
displayName string
validator IValidator<T>
isRequired bool

Returns

ProfileEntry<T>

Type Parameters

T