CDAKProvider
public class CDAKProvider: CDAKPersonable, CDAKJSONInstantiable, Hashable, Equatable, CustomStringConvertible
-
Prefix (was: Title)
Declaration
Swift
public var prefix: String?
-
Suffix
Declaration
Swift
public var suffix: String?
-
Given / First name
Declaration
Swift
public var given_name: String?
-
Family / Last name
Declaration
Swift
public var family_name: String?
-
addresses
Declaration
Swift
public var addresses: [CDAKAddress] = [CDAKAddress]()
-
telecoms
Declaration
Swift
public var telecoms: [CDAKTelecom] = [CDAKTelecom]()
-
provider specialty
Declaration
Swift
public var specialty: String?
-
provider phone
Declaration
Swift
public var phone: String?
-
provider organization
Declaration
Swift
public var organization: CDAKOrganization?
-
CDA identifiers. Contains NPI if supplied.
Declaration
Swift
public var cda_identifiers: [CDAKCDAIdentifier] = [CDAKCDAIdentifier]()
-
From Integrating the Healthcare Enterprise Wiki:
The
element describes the type of provider and can be used to distinguish pharmacies from other providers.
Examples:
<code code="261QP2300X" displayName="Primary Care [Ambulatory Health Care Facilities\Clinic/Center]" codeSystemName="NUCC Provider Codes" codeSystem="2.16.840.1.113883.6.101"/>
or
<code code="59058001" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="General Physician"/>
Declaration
Swift
public var code: CDAKCodedEntry?
-
Allows you to quickly set or retrieve the NPI without specifying OID
Declaration
Swift
public var npi : String?
-
Allows you to quickly set or retrive TIN (Tax ID Number) without specifying OID
Declaration
Swift
public var tin: String?
-
Undocumented
Declaration
Swift
public class CDAKProvider: CDAKPersonable, CDAKJSONInstantiable, Hashable, Equatable, CustomStringConvertible
-
Do not use - will be removed. Was used in HDS Ruby.
Declaration
Swift
required public init(event: [String:Any?])
-
Validate the NPI, should be 10 or 15 digits total with the final digit being a checksum using the Luhn algorithm with additional special handling as described in
Declaration
Swift
public class func valid_npi(npi: String?) -> Bool
-
Debugging description
Declaration
Swift
public var description: String
-
Generates a hash value for object comparisons
Declaration
Swift
public var hashValue: Int
-
Undocumented
Declaration
Swift
public class CDAKProvider: CDAKPersonable, CDAKJSONInstantiable, Hashable, Equatable, CustomStringConvertible
-
Dictionary for JSON data
Declaration
Swift
public var jsonDict: [String: AnyObject]