Base64Binary

public struct Base64Binary: FHIRPrimitive, FHIRJSONType, ExpressibleByStringLiteral, CustomStringConvertible

Data encoded as a base-64 string.

  • The base-64 string.

    Declaration

    Swift

    public var value: String
  • 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(value: String)

    Parameters

    value

    The Base64 string representing data of 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 var description: String
  • Declaration

    Swift

    public static func ==(lhs: Base64Binary, rhs: Base64Binary) -> Bool

    Parameters

    lhs

    A value to compare.

    rhs

    Another value to compare.

  • Declaration

    Swift

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

    Parameters

    lhs

    A value to compare.

    rhs

    Another value to compare.