PCKPatient
public struct PCKPatient : PCKVersionable
An PCKPatient
is the ParseCareKit equivalent of OCKPatient
. An OCKPatient
represents a patient.
-
Declaration
Swift
public var nextVersionUUIDs: [UUID]?
-
Declaration
Swift
public var previousVersionUUIDs: [UUID]?
-
Declaration
Swift
public var effectiveDate: Date?
-
Declaration
Swift
public var entityId: String?
-
Declaration
Swift
public var schemaVersion: OCKSemanticVersion?
-
Declaration
Swift
public var createdDate: Date?
-
Declaration
Swift
public var updatedDate: Date?
-
Declaration
Swift
public var deletedDate: Date?
-
Declaration
Swift
public var timezone: TimeZone?
-
Declaration
Swift
public var userInfo: [String : String]?
-
Declaration
Swift
public var groupIdentifier: String?
-
Declaration
Swift
public var tags: [String]?
-
Declaration
Swift
public var source: String?
-
Declaration
Swift
public var asset: String?
-
Declaration
Swift
public var notes: [OCKNote]?
-
Declaration
Swift
public var remoteID: String?
-
Declaration
Swift
public var encodingForParse: Bool
-
Declaration
Swift
public static var className: String { get }
-
Declaration
Swift
public var objectId: String?
-
Declaration
Swift
public var createdAt: Date?
-
Declaration
Swift
public var updatedAt: Date?
-
Declaration
Swift
public var ACL: ParseACL?
-
Declaration
Swift
public var originalData: Data?
-
A list of substances this patient is allergic to.
Declaration
Swift
public var allergies: [String]?
-
The patient’s birthday, used to compute their age.
Declaration
Swift
public var birthday: Date?
-
The patient’s name.
Declaration
Swift
public var name: PersonNameComponents?
-
The patient’s biological sex.
Declaration
Swift
public var sex: OCKBiologicalSex?
-
Declaration
Swift
public init()
-
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Declaration
Swift
public func new(with careKitEntity: OCKEntity) throws -> PCKPatient
-
Declaration
Swift
public func addToCloud(completion: @escaping (Result<PCKSynchronizable, Error>) -> Void)
-
Declaration
Swift
public func updateCloud(completion: @escaping (Result<PCKSynchronizable, Error>) -> Void)
-
Declaration
Swift
public func pullRevisions(since localClock: Int, cloudClock: OCKRevisionRecord.KnowledgeVector, remoteID: String, mergeRevision: @escaping (Result<OCKRevisionRecord, ParseError>) -> Void)
-
Declaration
Swift
public func pushRevision(cloudClock: Int, remoteID: String, completion: @escaping (Error?) -> Void)
-
Declaration
Swift
public static func copyValues(from other: PCKPatient, to here: PCKPatient) throws -> PCKPatient