visit the hl7 website The Demo site for our new HL7 Version 2+ (plus) Standard

18.8.179 UAC - user authentication credential segment (2.14.15)

Definition: This optional segment provides user authentication credentials, a Kerberos Service Ticket or SAML assertion, to be used by the receiving system to obtain user identification data. Refer to HL7 Table 0615 - User Authentication Credential Type Code in Chapter 2C, Code Tables. It is to be used in when the receiving application system requires the sending system to provide end-user identification for accountability or access control in interactive applications. Since user authentication implementations often limit the time period for validity of the session authentication credentials, this segment is not intended for use in non-interactive applications.

It is possible that various user authentication credential standards' data mightbe communicated. Kerberos and SAML are two such standards. A user authentication credential is an encapsulated data (ED type) element, as defined by standards, with no HL7-relevant structure.

Note: The UAC segment is defined for use within simple protocols, such as MLLP, that do not have user authentication semantics. Implementations that use WSDL/SOAP, or similar protocols, to envelope HL7 SHOULD employ the user authentication semantics and data structures available within the scope of those protocols rather than the UAC segment.

If the receiving system accepts the user credentials in the UAC segment, no specific acknowledgment is required. However, if the receiving system detects an error while processing the UAC segment, its acknowledgment message SHALL report it to the sender via an MSA and ERR segment pair:

When an MSA and ERR segment pair is reported to the sender, an application data response SHALL NOT occur. In such cases it is correct to assume that the sending application's user is not authorized to get the data.

The processing rules for the ERR segment are outside of HL7's scope.

HL7 Attribute Table - UAC - User Authentication Credential Segment

Base Framework
Seq#Data ElementDescriptionFlagsImplementCardinalityLengthC.LENVocabularyData Type
UAC
102267User Authentication Credential Type Code SHOULD[1..1] univ: UserAuthenticationCredentialTypeCode (CD)
CWE

Coded with Exceptions

202268User Authentication Credential  SHOULD[1..1] 
ED

Encapsulated Data

Seq#Data ElementDescriptionFlagsImplementCardinalityLengthC.LENVocabularyData Type
UAC
102267User Authentication Credential Type Code SHALL[1..1] univ: UserAuthenticationCredentialTypeCode (CD) hl7VS-userAuthenticationCredentialTypeCode (VS) userAuthenticationCredentialType (CS)
CWE

Coded with Exceptions

202268User Authentication Credential  SHALL[1..1] 
ED

Encapsulated Data

Base FrameworkBase Standard Profile
Seq#Data ElementDescriptionFlagsImplementCardinalityLengthC.LENVocabularyData TypeImplementVocabulary
UAC 
102267User Authentication Credential Type Code SHOULD[1..1] univ: UserAuthenticationCredentialTypeCode (CD)
CWE

Coded with Exceptions

SHALLhl7VS-userAuthenticationCredentialTypeCode (VS) userAuthenticationCredentialType (CS)
202268User Authentication Credential  SHOULD[1..1] 
ED

Encapsulated Data

SHALL
Base Framework Base Standard Profile
Seq# Data Element Description Flags Optionality Repetition Length C.LEN Table Data Type Optionality Table
UAC  
1 02267 User Authentication Credential Type Code   O     (0615)
CWE

Coded with Exceptions

R  
2 02268 User Authentication Credential   O      
ED

Encapsulated Data

R  
Seq# Data Element Description Optionality Repetition Length C.LEN Table Data Type
UAC
1 02267 User Authentication Credential Type Code R     (0615)
CWE

Coded with Exceptions

2 02268 User Authentication Credential R      
ED

Encapsulated Data

18.8.179.1 UAC Field Definitions (2.14.15.0)

18.8.179.2 UAC-1 User Authentication Credential Type Code (CWE) 02267 (2.14.15.1)

Definition: This an identifier code for the type of user authentication credential. Refer to HL7 Table 0615 - User Authentication Credential Type Code in Chapter 2C, Code Tables, for valid values.

18.8.179.3 UAC-2 User Authentication Credential (ED) 02268 (2.14.15.2)

Definition: This is user credential data as supplied by the sender's operating platform. The content and structure of this is defined by other standards and contain no HL7-relevant data.