-
Notifications
You must be signed in to change notification settings - Fork 3
/
Task.swift
84 lines (56 loc) · 1.54 KB
/
Task.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
//
// Task.swift
// SMARTMarkers
//
// Created by raheel on 4/1/24.
// Copyright © 2024 Boston Children's Hospital. All rights reserved.
//
import Foundation
import SMART
extension SMART.Task: Request {
public var rq_schedule: TaskSchedule? {
get {
nil
}
set {
}
}
public var rq_identifier: String {
self.id!.string
}
public var rq_title: String? {
nil
}
public var rq_requesterName: String? {
nil
}
public var rq_code: SMART.Coding? {
nil
}
public var rq_requesterEntity: String? {
nil
}
public var rq_requestDate: Date? {
nil
}
public var rq_categoryCode: String? {
nil
}
public static var rq_fetchParameters: [String : String]? {
nil
}
public var rq_instrumentMetadataQuestionnaireReferenceURL: URL? {
nil
}
public func rq_updated(_ completed: Bool, callback: @escaping ((Bool) -> Void)) {
callback(false)
}
public func rq_resolveInstrument(callback: @escaping (((any Instrument)?, (any Error)?) -> Void)) {
callback(nil, nil)
}
public func rq_resolveReferences(callback: @escaping ((Bool) -> Void)) {
callback(false)
}
public func rq_configureNew(for instrument: any Instrument, schedule: TaskSchedule?, patient: SMART.Patient?, practitioner: SMART.Practitioner?) throws {
}
}