Address

open class Address: Element

An address expressed using postal conventions (as opposed to GPS or other location definition formats).

An address expressed using postal conventions (as opposed to GPS or other location definition formats). This data type may be used to convey addresses for use in delivering mail as well as for visiting locations which might not be valid for mail delivery. There are a variety of postal address formats defined around the world.

  • An address expressed using postal conventions (as opposed to GPS or other location definition formats).

    An address expressed using postal conventions (as opposed to GPS or other location definition formats). This data type may be used to convey addresses for use in delivering mail as well as for visiting locations which might not be valid for mail delivery. There are a variety of postal address formats defined around the world.

    Declaration

    Swift

    override open class var resourceType: String
  • Name of city, town etc..

    Declaration

    Swift

    public var city: FHIRString?
  • Country (e.g. can be ISO 3166 2 or 3 letter code).

    Declaration

    Swift

    public var country: FHIRString?
  • District name (aka county).

    Declaration

    Swift

    public var district: FHIRString?
  • Street name, number, direction & P.O. Box etc..

    Declaration

    Swift

    public var line: [FHIRString]?
  • Time period when address was/is in use.

    Declaration

    Swift

    public var period: Period?
  • Postal code for area.

    Declaration

    Swift

    public var postalCode: FHIRString?
  • Sub-unit of country (abbreviations ok).

    Declaration

    Swift

    public var state: FHIRString?
  • Text representation of the address.

    Declaration

    Swift

    public var text: FHIRString?
  • Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.

    Declaration

    Swift

    public var type: AddressType?
  • use

    The purpose of this address.

    Declaration

    Swift

    public var use: AddressUse?
  • The purpose of this address.

    Declaration

    Swift

    override open func populate(from json: FHIRJSON, context instCtx: inout FHIRInstantiationContext)

    Parameters

    json

    The JSON element to use to populate the receiver

    context

    The instantiation context to use

  • Undocumented

    Declaration

    Swift

    open class Address: Element