Structs

The following structs are available globally.

  • Contains commonly referenced keys you may use in value sets

    These keys are used to look up specific HL7 OIDs, so it’s important they be used consistently

    See more

    Declaration

    Swift

    public struct CDAKVocabularyKeys
  • Provides lists of fixed string constants you may wish to use for a specific type of CDA attribute

    See more

    Declaration

    Swift

    public struct CDAKConceptHelpers
  • CDAKCodedEntry represents a single coded term for a single vocabulary.

    • codeSystem: the key/tag for the vocabulary. EX: LOINC or SNOMED-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
    See more

    Declaration

    Swift

    public struct CDAKCodedEntry: CustomStringConvertible, Equatable, Hashable
  • Represents a collection of vocabulary concepts for an entry.

    • Spans multiple vocabularies
    • For a single vocabulary, can have multiple vocabulary codes

    Example:

    • LOINC
      • LOINC | 2.16.840.1.113883.6.1 | 8302-2 | Patient Body Height
    • SNOMED-CT
      • SNOMED | 2.16.840.1.113883.6.96 | 50373000 | Body Height
    See more

    Declaration

    Swift

    public struct CDAKCodedEntries: CustomStringConvertible, SequenceType, CollectionType, Equatable, Hashable