CDAKCDAIdentifier

public class CDAKCDAIdentifier: Equatable, Hashable, CDAKJSONInstantiable, CustomStringConvertible

CDA Identifier

Usually takes the form of a root (required) and an extension (identifier) (optional).

Additional information

Examples:

Source

 <id root="db734647-fc99-424c-a864-7e3cda82e703"/>

or

 <!-- Fake ID using HL7 example OID. -->

 <id extension="998991" root="2.16.840.1.113883.19.5.99999.2"/>

 <!-- Fake Social Security Number using the actual SSN OID. -->

 <id extension="111-00-2330" root="2.16.840.1.113883.4.1"/>
  • CDA Root

    Declaration

    Swift

    public var root: String?
  • CDA Extension

    Declaration

    Swift

    public var extension_id: String?
  • Undocumented

    Declaration

    Swift

    public class CDAKCDAIdentifier: Equatable, Hashable, CDAKJSONInstantiable, CustomStringConvertible
  • Attempts to return a simplified compound version of the Root and Extension

    Declaration

    Swift

    public var as_string: String
  • Debugging description

    Declaration

    Swift

    public var description: String
  • Undocumented

    Declaration

    Swift

    public class CDAKCDAIdentifier: Equatable, Hashable, CDAKJSONInstantiable, CustomStringConvertible
  • Do not use - will be removed. Was used in HDS Ruby.

    Declaration

    Swift

    required public init(event: [String:Any?])
  • Undocumented

    Declaration

    Swift

    public class CDAKCDAIdentifier: Equatable, Hashable, CDAKJSONInstantiable, CustomStringConvertible
  • Dictionary for JSON data

    Declaration

    Swift

    public var jsonDict: [String: AnyObject]