De-Identifier

  • Class to help in de-identifying patient data according to HIPAA’s Safe Harbor guidelines.

    See more

    Declaration

    Swift

    open class DeIdentifier
  • Class to ease geocoding tasks. Primarily designed to retrieve current location, e.g. to obtain a ZIP code.

    If you use the geocoder you must include a short description of why you’re accessing the user’s location under the key NSLocationWhenInUseUsageDescription in the app’s Info.plist. Otherwise you will never receive the location callback. The user will see this string in an alert window the first time the geocoder is used.

    You probably want to use one of these methods for geocoding:

    • currentAddress(): Returning the current Address
    • hipaaCompliantCurrentAddress(): Returning the current Address to HIPAA specs
    • geocodeCurrentLocation(): A CLPlacemark of the current location
    • currentLocation(): A CLLocation of the current location

    For conversions from one thing to another:

    • hipaaCompliantAddress(): Make the given Address HIPAA-compliant
    • address(from:): Convert CLPlacemark to Address
    • reverseGeocode(location:): Retrieve a CLPlacemark from CLLocation
    See more

    Declaration

    Swift

    open class Geocoder
  • Callback called when geocoding finishes. Supplies SMART.Address, if determined, or Error.

    Declaration

    Swift

    public typealias GeocoderAddressCallback = ((Address?, Error?) -> Void)
  • Callback called when geocoding finishes. Supplies CLPlacemark), if determined, or Error.

    Declaration

    Swift

    public typealias GeocoderPlacemarkCallback = ((CLPlacemark?, Error?) -> Void)
  • Callback called when geocoding finishes. Supplies CLLocation, if determined, or Error.

    Declaration

    Swift

    public typealias GeocoderLocationCallback = ((CLLocation?, Error?) -> Void)