CDAKCodedEntry
public struct CDAKCodedEntry: CustomStringConvertible, Equatable, Hashable
CDAKCodedEntry represents a single coded term for a single vocabulary.
- codeSystem: the key/tag for the vocabulary. EX:
LOINC
orSNOMED-CT
- codeSystemOID: the OID for the vocabulary. If not supplied, the CodedEntry will attempt to look it up based on the key/tag.
- code: the vocabulary code that represents the individual vocabulary concept.
- displayName: the human-readable concept description
For the following sample:
<code code="8302-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Patient Body Height">
- codeSystemName:
LOINC
- codeSystem:
2.16.840.1.113883.6.1
- code:
8302-2
- displayName:
Patient Body Height
-
Key for the code system. EX:
LOINC
Declaration
Swift
public var codeSystem: String
-
The specific vocabulary code for the term
Declaration
Swift
public var code: String
-
the human-readable description for the term
Declaration
Swift
public var displayName: String?
-
OID for the specified vocabulary. Optional. Will be automatically looked up by codeSystem key if value is nil
Declaration
Swift
public var codeSystemOid: String?
-
Primary initializer. - parameter codeSystem: (String) Key for the code system. EX:
LOINC
- parameter code: (String) The specific vocabulary code for the term - parameter codeSystemOid: (String) OID for the specified vocabulary. Optional. Will be automatically looked up by codeSystem key if not supplied - parameter displayName: (String) The human-readable description for the termDeclaration
Swift
public init(codeSystem: String, code: String, codeSystemOid: String? = nil, displayName: String? = nil)
Parameters
codeSystem
(String) Key for the code system. EX:
LOINC
code
(String) The specific vocabulary code for the term
codeSystemOid
(String) OID for the specified vocabulary. Optional. Will be automatically looked up by codeSystem key if not supplied
displayName
(String) The human-readable description for the term
-
Debugging description
Declaration
Swift
public var description: String
-
hash value
Declaration
Swift
public var hashValue: Int
-
Undocumented
Declaration
Swift
public struct CDAKCodedEntry: CustomStringConvertible, Equatable, Hashable
-
Dictionary for JSON data
Declaration
Swift
public var jsonDict: [String: AnyObject]