FHIRInteger

public struct FHIRInteger: FHIRPrimitive, LosslessStringConvertible, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral

Struct to hold on to a 32-bit integer value.

  • The actual 32-bit integer value.

    Declaration

    Swift

    public var int32: Int32
  • int

    The value as an Int, computed from int32.

    Declaration

    Swift

    public var int: Int
  • id

    An optional id of the element.

    Declaration

    Swift

    public var id: String?
  • The parent/owner of the receiver, if any. Used to dereference resources.

    Declaration

    Swift

    public weak var _owner: FHIRAbstractBase?
  • Optional extensions of the element.

    Declaration

    Swift

    public var extension_fhir: [Extension]?
  • Designated initializer.

    Declaration

    Swift

    public init(_ int32: Int32)

    Parameters

    int

    The 32-bit integer to represent.

  • Declaration

    Swift

    public init(json: JSONType, owner: FHIRAbstractBase?, context: inout FHIRInstantiationContext)

    Parameters

    json

    The value in its associated JSONType

    owner

    Optional, the owning element

    context

    An in-out parameter for the instantiation context

  • Declaration

    Swift

    public func asJSON(errors: inout [FHIRValidationError]) -> JSONType

    Parameters

    errors

    Errors encountered during serialization

    Return Value

    The FHIRJSON reperesentation of the receiver

  • Declaration

    Swift

    public init?(_ description: String)
  • Declaration

    Swift

    public var description: String
  • Declaration

    Swift

    public static func ==(l: FHIRInteger, r: FHIRInteger) -> Bool

    Parameters

    lhs

    A value to compare.

    rhs

    Another value to compare.

  • Undocumented

    Declaration

    Swift

    public struct FHIRInteger: FHIRPrimitive, LosslessStringConvertible, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral
  • Undocumented

    Declaration

    Swift

    public struct FHIRInteger: FHIRPrimitive, LosslessStringConvertible, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral
  • Declaration

    Swift

    public static func <(lh: FHIRInteger, rh: FHIRInteger) -> Bool

    Parameters

    lhs

    A value to compare.

    rhs

    Another value to compare.

  • Undocumented

    Declaration

    Swift

    public struct FHIRInteger: FHIRPrimitive, LosslessStringConvertible, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral
  • Undocumented

    Declaration

    Swift

    public struct FHIRInteger: FHIRPrimitive, LosslessStringConvertible, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral