PatientData

public struct PatientData

Represents the payload that is sent along when creating a test session. It is used to calculate the predicated PEF and FEV1 values for the associated patient.

  • id

    The unique ID for the patient.

    Declaration

    Swift

    public var id: String
  • The patient’s biological sex.

    Declaration

    Swift

    public var biologicalSex: BiologlicalSex?
  • The patient’s ethnicity.

    Declaration

    Swift

    public var ethnicity: Ethnicity?
  • The patient’s height (in inches).

    Declaration

    Swift

    public var height: Int?
  • age

    The patient’s age.

    Declaration

    Swift

    public var age: Int?
  • Initializes a PatientData structure.

    Declaration

    Swift

    public init(id: String, biologicalSex: BiologlicalSex?, ethnicity: Ethnicity?, height: Int?, age: Int?)