HL7 v2.9.1 Vocabulary
0.2.0 - ci-build

HL7 v2.9.1 Vocabulary, published by HL7/FO. This guide is not an authorized publication; it is the continuous build for version 0.2.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/frankoemig/hl7.v2.terminology.v291/ and changes regularly. See the Directory of published versions

## CodeSystem: Query Response Status (2.9.1 - 1.1.0) (Experimental)

Official URL: http://terminology.hl7.org/v2plusvocab/CodeSystem/queryResponseStatus | Version: 1.1.0
Active as of 2026-03-13 | Computable Name: QueryResponseStatus
Other Identifiers: OID:2.16.840.1.113883.18.113, urn:ietf:rfc:3986#Uniform Resource Identifier (URI)#http://terminology.hl7.org/v2plusvocab/CodeSystem/v2-0208
Copyright/Legal: HL7 Inc., 2026

HL7-defined code system of concepts defining precise response status concepts in support of HL7 Version 2 query messaging. It is commonly used to indicate no data is found that matches the query parameters, but no error. Used in HL7 Version 2.x messaging in the QAK segment.

This Code system is referenced in the content logical definition of the following value sets:

- Hl7VSqueryResponseStatus

Properties

This code system defines the following properties for its concepts

Name | Code | URI | Type | Description
version introduced | versionIntroduced | http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#versionIntroduced | string | version when was this code introduced
version deprecated | versionDeprecated | http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#versionDeprecated | string | version when was this code deprecated
status | status | http://hl7.org/fhir/concept-properties#status | code | A code that indicates the status of the concept. Typical values are active, experimental, deprecated, and retired
comment, to suppress IG-publisher warning, to be replaced with standard later | comment | http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#comment | string | A string that provides additional detail pertinent to the use or understanding of the concept
usage | usage | http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#usage | string | usage notes for this code
modified | modified | http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#modified | dateTime | date of last modification

Concepts

This case-sensitive code system `http://terminology.hl7.org/v2plusvocab/CodeSystem/queryResponseStatus` defines the following codes:

Code | Display | Definition | version introduced | modified
AE | Application error | Application error | 2.3.1 | 2015-07-13
AR | Application reject | Application reject | 2.3.1 | 2015-07-13
NF | No data found, no errors | No data found, no errors | 2.3 | 2015-07-13
OK | Data found, no errors (this is the default) | Data found, no errors (this is the default) | 2.3 | 2015-07-13
PD | Protected data | Data matching the query parameters was found but could not be shared with the querying system for reasons including local policy or legal restrictions. | 2.9 | 2022-08-25
TM | Too much data found | The response would exceed the maximum length designated in RCP-2 of the query message. | 2.9 | 2022-08-25