HL7 v2 Practice Exam Flashcards

1
Q

The original mode acknowledgment protocol is equivalent to the enhanced acknowledgment protocol with which of the following field values?

A) Just the MSH-15-accept acknowledgment type equal to “AL”, the MSH-16-application acknowledgment type doesn’t matter.
B) Just the MSH-16-application acknowledgment type equal to “AL”, the MSH-15-accept acknowledgment type doesn’t matter.
C) The MSH-15-accept acknowledgment type equal to “NE” and the MSH-16-application acknowledgment type equal to “AL”.
D) The MSH-15-accept acknowledgment type equal to “AL” and the MSH-16-application acknowledgment type equal to “NE”.
E) The MSH-15-accept acknowledgment type equal to “NE”, the MSH-16-application acknowledgment type doesn’t matter.

A

C) The MSH-15-accept acknowledgment type equal to “NE” and the MSH-16-application acknowledgment type equal to “AL”.

NOTE: The Original Acknowledgment Protocol is equivalent to the Enhanced Acknowledgment Propocol with MSH-15 AcceptAckType = “NE” (Never) and MSH-16 ApplicationAckType = “AL” (Always). Never requires an Accept ACK and always requires an Application ACK. (pg56)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

If the data type definition calls for a component to be broken into subcomponents, which of the following rules are used?

A) If more than one subcomponent is included, they are separated by the subcomponent separator.
B) Subcomponents that are not present are represented by the characters “”””.
C) A subcomponent that is present but null is represented by including no characters in the subcomponent.
D) Subcomponents that are present but null at the end of a component need not be represented by subcomponent separators.

A

A) If more than one subcomponent is included, they are separated by the subcomponent separator.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which of the following is NOT a possible designation of optionality for a field within a segment in the segment attribute tables of the HL7 2.7 standard?

A) R - Required
B) O - Optional
C) C - Conditional
D) Z - User Defined
E) B - Left in for backward compatibility with previous version
A

D) Z - User Defined

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

If the field definition calls for a field to be broken into components, which of the following rules are used:

A) If more than one component is included, they are separated by the component separator.
B) Components that are present but null are represented by the characters “”””.
C) A component that is not present is indicated by including no characters in the component.
D) Components that are not present at the end of a field must be represented by component separators.

A

A, B and C only

A) If more than one component is included, they are separated by the component separator.
B) Components that are present but null are represented by the characters “”””.
C) A component that is not present is indicated by including no characters in the component.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The segment FHS contains which of the following fields?

A) Batch Creation Date/Time
B) Batch Control ID
C) File Batch Count
D) File Encoding Characters
E) File Trailer Comment
A

D) File Encoding Characters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A DSC continuation pointer segment could be used to continue which of the following messages?

A) QRY/DSR - original mode display query - immediate response (event Q01)
B) QRY/QCK - deferred query (event Q02)
C) DSR/ACK - deferred response to a query (event Q03)
D) ADT/ACK - register a patient (event A04)
E) UDM/ACK - unsolicited display update message (event Q05)

A

All of the above

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which of the following characters is the suggested HL7 2.x Field Separator?

A) |
B) ^
C) &
D) ~
E) \
A

A) |

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What data type is the following field?

|.in+4\.ti-4\ 1. The cardiomediastinal silhouette is now within normal limits.^.sp\.ti-4\ 2. Lung fields show minimal ground glass appearance.^.sp\.ti-4\ 3. A loop of colon visible in the left upper quadrant is distinctly abnormal with the appearance of mucosal effacement suggesting colitis..in-4|

A) HT - Hypertext Markup Language
B) FT - Formatted text
C) RT - Rich Text
D) TX - Text Data
E) XM - Extended Markup Language
A

B) Formatted Text

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which of the following are allowed in future 2.x versions of HL7:

A) New messages.
B) New segments.
C) New fields.
D) New components.

A

All of the above

A) New messages.
B) New segments.
C) New fields.
D) New components.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which of the following is NOT an example of an HL7 2.7 trigger event?

A) Delete Person Information.
B) Application Acknowledgment.
C) Query sent for deferred response.
D) Swap Patients.
E) Unsolicited transmission of an observation message.
A

B) Application Acknowledgement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
Given the following abstract message definition:
MSH Message Header
MSA Message Acknowledgment
PID Patient Identification
WDN Widget Description
WPN Widget Portion
WPD Widget Portion Detail
A) MSH MSA PID
B) MSH MSA PID WDN WPN WPD PID PID PID
C) MSH MSA PID WDN WPN WDN WPN WPN WPD
D) MSH MSA PID WDN WPN WDN WPN WPD
E) MSH MSA PID WDN WPN WPD WPD WDN WPN
A

E) MSH MSA PID WDN WPN WPD WPD WDN WPN

NOTE: The WPN repeats after WPN

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

If the default encoding characters are being used, and a text field is being encoded whose content is the string “John & Mary”, which of the following statements are true?

A) The “&” must be encoded with an escape sequence.
B) The “&” must be stripped from the string before encoding.
C) The “&” must be encoded with Base64 encoding.
D) The “&” must be encoded with “\T" if the suggested encoding characters are being used.
E) The “&” must be encoded with “\A" if the suggested encoding characters are being used.

A

A and D

A) The “&” must be encoded with an escape sequence.
D) The “&” must be encoded with “\T" if the suggested encoding characters are being used.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which of the following statements about message construction using standard HL7 encoding rules are true?

A) Segments must be constructed in the order defined for the message.
B) The first three characters of each Segment must be the segment ID code.
C) The final segment does not need to end with the Segment Terminator.
D) The MSH can redefine the Segment Terminator.

A

A and B

A) Segments must be constructed in the order defined for the message.
B) The first three characters of each Segment must be the segment ID code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Which of the following statements is NOT true regarding the HL7 ID number in segment attribute tables?

A) It is a user defined field.
B) It uniquely identifies the data field within the segment.
C) It is also known as Item #.
D) It can be used in the RCD (Row Column Definition) Segment of HL7 queries to identify the data element.
E) It is a small integer (nnnnn).

A

A) It is a user defined field.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which of the following statements are true regarding the HL7 2.x data type Hierarchic Designator (HD)?

A) The HD enables the transmission of information for any site to act as an assigning authority (on a local or user-defined basis), even if it technically does not have the right to issue new IDs within an identification scheme.
B) HDs which have defined third components (defined UID types) must contain a value in the second component that is unique within the series of ID’s defined by the third component.
C) Data type HD is interchangeable with data type CWE (Coded With Exceptions).

A

A and B

A) The HD enables the transmission of information for any site to act as an assigning authority (on a local or user-defined basis), even if it technically does not have the right to issue new IDs within an identification scheme.

B) HDs which have defined third components (defined UID types) must contain a value in the second component that is unique within the series of ID’s defined by the third component.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Which of the following statements are true?

A) The suggested HL7 2.x Repetition Separator character is “~”
B) The suggested HL7 2.x Component Separator character is “|”
C) The Escape Character cannot be redefined by the Message Header Segment.

A

A) The suggested HL7 2.x Repetition Separator character is “~”

17
Q

What is the specified maximum field length for a field of data type IS?

A) 20
B) 64
C) 199
D) 65536 (64K)
E) The maximum length may vary depending on the longest code in the code set.
A

E) The maximum length may vary depending on the longest code in the code set.

18
Q

Which of the following rules apply to receiving HL7 messages and converting their contents to data values?

A) Ignore segments, fields, components, subcomponents, and extra repetitions of a field that are present but were not expected.
B) Treat segments that were expected but are not present as consisting entirely of fields that are present but null.
C) Treat fields and components that are expected but were not included in a segment as not present.

A

A and C

A) Ignore segments, fields, components, subcomponents, and extra repetitions of a field that are present but were not expected.
C) Treat fields and components that are expected but were not included in a segment as not present.

19
Q

Which of the following rules apply to receiving HL7 messages and converting their contents to data values:

A) The receiving system must return an error acknowledgment for segments, fields, components, subcomponents, and extra repetitions of a field that are present but were not expected.
B) The receiving system must treat segments that were expected but are not present as consisting entirely of fields that are not present.
C) The receiving system must treat fields valued with two double quotes |””| as not present.
D) The receiving system must treat fields and components that are expected but were not included in a segment as present but null.

A

B) The receiving system must treat segments that were expected but are not present as consisting entirely of fields that are not present.

20
Q

Which of the following is not a component of the HD data type?

A) Name of Coding System.
B) Namespace ID.
C) Universal ID.
D) Universal ID type.
E) None of the above. 
F) All of the above are components of the HD data type.
A

A) Name of Coding System.

21
Q

An EKG waveform image could be encoded in which of the following HL7 2.7 data types?

A) CD - Channel definition
B) CM - Composite
C) ED - Encapsulated data
D) EK - Electrocardiogram
D) MA - Multiplexed array
A

C) ED - Encapsulated data

22
Q

Which of the following capabilities does the HL7 2.7 standard assume that the communications environment will not provide?
A) Ethernet network.
B) IP addressing of the sending and receiving sites.
C) Character conversion if the two machines exchanging data use different character sets.

A

A and B

A) Ethernet network.
B) IP addressing of the sending and receiving sites.

23
Q

What acknowledgment code should a system return as an accept acknowledgment if the message cannot be accepted because of a sequence number error?

A) CA - Commit Accept
B) CR - Commit Reject
C) CE - Commit Error
D) CX 
E) None of the above.
A

C) CE - Commit Error

24
Q

Which of the following statements are true?

A) A DICOM image could be transmitted in an element of the ED (Encapsulated Data) data type.
B) A value of type HD (Hierarchic Designator) could contain, as one of its components, a DICOM image.
C) A DICOM image could be transmitted in an element of the CD (Channel Definition) data type.

A

A) A DICOM image could be transmitted in an element of the ED (Encapsulated Data) data type.

25
Q

What data type is the following field? |^100^-^200|

A) CQ - Composite quantity with units
B) NM - Numeric
C) SI - Sequence ID
D) SN - Structured numeric
E) None of the above.
A

D) SN - Structured numeric

26
Q

Which of the following statements about HL7 2.x message construction are true?

A) Segments may repeat within a message.
B) Fields may repeat within a segment.
C) Components may repeat within a field.
D) Both A and B are true.
E) A, B, and C are all true.
A

D) Both A and B are true.

A) Segments may repeat within a message.
B) Fields may repeat within a segment.

NOTE: Components may NOT repeat within their field

27
Q

How does HL7 provide for the transmission of user authentication credentials, such as a Kerberos service ticket or a SAML assertion?

A) The information should be sent in the UAC segment.
B) The information should be sent in the EVN segment.
C) The information should be sent in the ORC segment.
D) The information should be sent in field MSH-8-Security.
E) HL7 does not specify any mechanism for transmitting user authentication credentials.

A

A) The information should be sent in the UAC segment. (UAC - User Athentication Credential Segment)

28
Q

Which of the following values for Identifier type code (the fifth component of data type CX - Extended composite ID with check digit) is part of the HL7-defined table published in the standard?

A) Base64 - Base64 encoding as defined by MIME (Multipurpose Internet Mail Extensions) standard RFC 1521
B) BID - twice a day at institution-specified times (e.g., 9AM-4PM)
C) PI - Patient Identifier
D) XML - eXtended Markup Language
E) Z - Z Segment

A

C) PI - Patient Identifier

29
Q

Which of the following segments contains the field “Encoding Characters”?

A) DSC
B) ERR
C) MSA
D) MSH
E) NTE
A

D) MSH (Message Header segment)

30
Q

Which of the following escape sequences represents “start highlighting”?

A) \E\
B) \F\
C) \H\
D) \S\
E) \B\
A

C) \H\

NOTE: \H\ begins the highlighting and \N\ is used to end the highlighting, or set text back to normal

31
Q

When specifying Conformance Length and Truncation Pattern, the equals sign (‘=’, hex 3D) is used to indicate:

A) Data longer than the specified value must not be truncated.
B) ‘=’ may be used as the last character in a field to indicate it has been truncated.
C) The maximum length applications must store.
D) The minimum length applications must store.
E) The value that the field must be equal to in order to be conformant.

A

A) Data longer than the specified value must not be truncated.