FHIRBool
public struct FHIRBool: FHIRPrimitive, LosslessStringConvertible, ExpressibleByBooleanLiteral
Struct to hold on to a boolean value.
-
The actual string value.
Declaration
Swift
public var bool: Bool
-
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(_ flag: Bool)
Parameters
flag
The boolean to represent with the receiver
-
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(booleanLiteral value: BooleanLiteralType)
Parameters
value
The value of the new instance.
-
Declaration
Swift
public init?(_ description: String)
-
Declaration
Swift
public var description: String
-
Undocumented
Declaration
Swift
public struct FHIRBool: FHIRPrimitive, LosslessStringConvertible, ExpressibleByBooleanLiteral
-
Undocumented
Declaration
Swift
public struct FHIRBool: FHIRPrimitive, LosslessStringConvertible, ExpressibleByBooleanLiteral
-
Undocumented
Declaration
Swift
public struct FHIRBool: FHIRPrimitive, LosslessStringConvertible, ExpressibleByBooleanLiteral
-
Undocumented
Declaration
Swift
public struct FHIRBool: FHIRPrimitive, LosslessStringConvertible, ExpressibleByBooleanLiteral
-
Undocumented
Declaration
Swift
public struct FHIRBool: FHIRPrimitive, LosslessStringConvertible, ExpressibleByBooleanLiteral
-
Declaration
Swift
public static func ==(l: FHIRBool, r: FHIRBool) -> Bool
Parameters
lhs
A value to compare.
rhs
Another value to compare.
-
Undocumented
Declaration
Swift
public struct FHIRBool: FHIRPrimitive, LosslessStringConvertible, ExpressibleByBooleanLiteral
-
Undocumented
Declaration
Swift
public struct FHIRBool: FHIRPrimitive, LosslessStringConvertible, ExpressibleByBooleanLiteral
-
Declaration
Swift
public var hashValue: Int