PCKCarePlan
public struct PCKCarePlan : PCKVersionable
An PCKCarePlan
is the ParseCareKit equivalent of OCKCarePlan
. An OCKCarePlan
represents
a set of tasks, including both interventions and assesments, that a patient is supposed to
complete as part of his or her treatment for a specific condition. For example, a care plan for obesity
may include tasks requiring the patient to exercise, record their weight, and log meals. As the care
plan evolves with the patient’s progress, the care provider may modify the exercises and include notes each
time about why the changes were made.
-
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 { get set }
-
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?
-
Declaration
Swift
public var nextVersionUUIDs: [UUID]?
-
Declaration
Swift
public var previousVersionUUIDs: [UUID]?
-
The patient to whom this care plan belongs.
Declaration
Swift
public var patient: PCKPatient? { get set }
-
The UUID of the patient to whom this care plan belongs.
Declaration
Swift
public var patientUUID: UUID? { get set }
-
A title describing this care plan.
Declaration
Swift
public var title: String?
-
Declaration
Swift
public init()
-
Declaration
Swift
public func new(with careKitEntity: OCKEntity) throws -> PCKCarePlan
-
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: PCKCarePlan, to here: PCKCarePlan) throws -> PCKCarePlan
-
Link versions and related classes
Declaration
Swift
public func linkRelated(completion: @escaping (Result<PCKCarePlan, Error>) -> Void)
-
Declaration
Swift
public func encode(to encoder: Encoder) throws