PatientDemographics
public struct PatientDemographics : Codable, Equatable
The basic information about a patient is stored in PatientDemographics
-
Information about the patient name
Declaration
Swift
public var name: HumanName -
Addresses of the patient.
Declaration
Swift
public var addresses: [Address] -
The patient’s birthdate
Important
birthdate will be converted to a string with GMT:0 when pushed to the server Therefore it’s important that anyDateobject that gets set here, must be set with a timezone of GMT:0 .Declaration
Swift
public var birthdate: Date -
The email saved with the demographic
Declaration
Swift
public var email: String -
male, female, other
Declaration
Swift
public var gender: Gender -
ehrSystemName is automatically broken out with the first Identifier. When setting use ehrSystemName
Declaration
Swift
public let identifiers: [Identifier] -
Which EHR System is used to save the data into Epic
Declaration
Swift
public var ehrSystemName: String? -
last 4 digits of ssn
Declaration
Swift
public var last4SSN: String -
A optional home phone number if exits
Declaration
Swift
public var homePhone: String? -
A mobile phone number if available
Declaration
Swift
public var mobilePhone: String? -
A work phone number if available
Declaration
Swift
public var workPhone: String? -
a custom decoder used internally by DexcareSDK
Declaration
Swift
public init(from decoder: Decoder) throws -
a custom encoder used internally by DexcareSDK
Declaration
Swift
public func encode(to encoder: Encoder) throws
View on GitHub
Install in Dash