PatientDemographics

data class PatientDemographics(addresses: List<Address>, birthdate: LocalDate, email: String, gender: Gender, name: HumanName, last4SSN: String, homePhone: String?, workPhone: String, mobilePhone: String, identifiers: MutableList<Identifier>) : Parcelable

Represents a set of demographics for a patient, in a single EHR system.

Constructors

PatientDemographics
Link copied to clipboard
fun PatientDemographics(addresses: List<Address>, birthdate: LocalDate, email: String, gender: Gender, name: HumanName, last4SSN: String, homePhone: String?, workPhone: String = "", mobilePhone: String = "", identifiers: MutableList<Identifier> = mutableListOf())

Functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
getEhrSystemName
Link copied to clipboard
fun getEhrSystemName(): String?
Gets the ehrSystemName associated with this PatientDemographics, or null if it hasn't been linked yet.
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

addresses
Link copied to clipboard
val addresses: List<Address>
A list of Address associated with these demographics.
birthdate
Link copied to clipboard
val birthdate: LocalDate
The date of birth of this patient.
email
Link copied to clipboard
val email: String
The email address associated with this patient.
gender
Link copied to clipboard
val gender: Gender
The Gender of this patient.
homePhone
Link copied to clipboard
val homePhone: String?
The primary phone number of this patient.
identifiers
Link copied to clipboard
val identifiers: MutableList<Identifier>
A list of Identifier typically used to associate this PatientDemographics with an ehrSystem.
last4SSN
Link copied to clipboard
val last4SSN: String
The last 4 digits of the patient's Social Security Number.
mobilePhone
Link copied to clipboard
val mobilePhone: String
An optionally specified mobile phone number for this patient.
name
Link copied to clipboard
val name: HumanName
A HumanName instance containing information about this patient's name.
workPhone
Link copied to clipboard
val workPhone: String
An optionally specified work phone number for this patient.