QBP^Z02 Patient conformance statement Overview Query Statement ID Z02 Type Query Query Name Patient QBP^Z02^QBP_Q11 Query Trigger (MSH:9) Response Trigger RSP^Z02^RSP_Q11 Query Priority Deferred Queries are queued for processing, however in normal circumstances – should execute immediately Characteristics Returns basic demographic details and patient identifiers for patients matching the supplied criteria. Search criteria may be: 1) CRIS patient id 2) NHS Number 3) Hospital Number 4) Combination of name, DOB and sex. To allow an external system to obtain demographic data and patient identifiers for Purpose a patient. Response Characteristics For each patient found returns a PID segment populated with the patients details. Query Grammar MSH Message header segment QPD Query parameter definition MSH Position Name Notes 1 Field Separator Should be Populated with CRIS does not support the use of “|”. non-standard field separators. 2 Encoding Characters Should Populated with CRIS does not support the use of “^~\&”. non-standard field separators 9 Message Type Should be set to “QBP^Z02^QBP_Q11” 10 Message Control ID This will be returned in the acknowledgement message. 12 Version ID Should be set to “2.4” QPD Position Name Notes 1 Message Query Name Should be valued Query” “Z02^Patient 2 Query Tag Should be unique to each query message instance, this value is not important to CRIS but will be returned in the response message.
QBP^Z02 Patient conformance statement Overview Query Statement ID Z02 Type Query Query Name Patient Query Trigger (MSH:9) QBP^Z02^QBP_Q11 Response Trigger RSP^Z02^RSP_Q11 Query Priority Deferred – Queries are queued for processing, however in normal circumstances should execute immediately Characteristics Returns basic demographic details and patient identifiers for patients matching the supplied criteria. Search criteria may be: 1) CRIS patient id 2) NHS Number 3) Hospital Number 4) Combination of name, DOB and sex. Purpose To allow an external system to obtain demographic data and patient identifiers for a patient. Response Characteristics For each patient found returns a PID segment populated with the patients details. Query Grammar MSH Message header segment QPD Query parameter definition MSH Position Name Notes 1 Field Separator Should be Populated with “|”. CRIS does not support the use of non-standard field separators. 2 Encoding Characters Should Populated with “^~\&”. CRIS does not support the use of non-standard field separators 9 Message Type Should be set to “QBP^Z02^QBP_Q11” 10 Message Control ID This will be returned in the acknowledgement message. 12 Version ID Should be set to “2.4” QPD Position Name Notes 1 Message Query Name Should be valued “Z02^Patient Query” 2 Query Tag Should be unique to each query message instance, this value is not important to CRIS but will be returned in the response message.