DeIdentifier

open class DeIdentifier

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

  • Designated initializer.

    Declaration

    Swift

    public init()
  • Takes the given Patient resource and creates a new instance with only HIPAA compliant de-identified data.

    Declaration

    Swift

    open func hipaaCompliantPatient(patient inPatient: Patient, callback: @escaping ((Patient) -> Void))

    Parameters

    patient

    The Patient resource to de-identify

    callback

    The callback to call when de-identification has completed

  • Returns a Date that is compliant to HIPAA’s Safe Harbor guidelines: year only and capped at 90 years of age.

    Declaration

    Swift

    open func hipaaCompliant(birthdate: FHIRDate) -> FHIRDate

    Return Value

    A compliant Date instance