Test
public class Test: Decodable
The Test
struct represents a lung function test.
-
The identifier for the test.
Declaration
Swift
public var id: String
-
The status of processing for the test.
Declaration
Swift
public var status: TestStatus = .started
-
The date/time for when the test was taken at.
Declaration
Swift
public var takenAt: Date?
-
The length of time that the patient breathed into the device.
Declaration
Swift
public var breathDuration: Double?
-
The values for the exhale curve graph.
Declaration
Swift
public var exhaleCurve: [[Double]]?
-
The total volume exhaled (in liters).
Declaration
Swift
public var totalVolume: Double?
-
The PEF value for the test (in liters per second).
Declaration
Swift
public var pef: Double?
-
The FEV1 value for the test (in liters).
Declaration
Swift
public var fev1: Double?
-
The id of the associated upload target.
Declaration
Swift
public var uploadTargetId: String?
-
Undocumented
Declaration
Swift
public class Test: Decodable