Conformance Statement
Segment | Cardinality | Implement | Status |
---|---|---|---|
QBP^Q31^QBP_Q11 | |||
MSH Message Header |
[1..1] | SHALL | |
ARV Access Restriction |
|||
SFT Software Segment |
|||
UAC User Authentication Credential Segment |
[0..1] | ||
QPD Query Parameter Definition |
[1..1] | SHALL | |
QBP | [0..1] | ||
Hxx any HL7 segment |
[0..1] | ||
RCP Response Control Parameter |
[1..1] | SHALL | |
DSC Continuation Pointer |
[0..1] |
MSH-15 | MSH-16 | Immediate ACK | Application Ack |
---|---|---|---|
Blank | Blank | - | RSP^K11^RSP_K11 |
Blank | Blank | - | RSP^Znn^RSP_Znn |
Blank | Blank | - | RSP^K31^RSP_K31 |
NE | AL | - | RSP^K11^RSP_K11 |
NE | AL | - | RSP^Znn^RSP_Znn |
NE | NE | - | - |
AL, SU, ER | AL | ACK^Q11^ACK | RSP^K11^RSP_K11 |
AL, SU, ER | AL | ACK^Znn^ACK | RSP^Znn^RSP_Znn |
AL, SU, ER | NE | ACK^Q31^ACK | - |
NE | AL, SU, ER | - | RSP^K31^RSP_K31 |
AL, SU, ER | AL, SU, ER | ACK^Q31^ACK | RSP^K31^RSP_K31 |
Segment | Cardinality | Implement | Status |
---|---|---|---|
RSP^K31^RSP_K31 | |||
MSH Message Header |
[1..1] | SHALL | |
ARV Access Restriction |
v2.9 | ||
MSA Message Acknowledgment |
[1..1] | SHALL | |
ERR Error |
|||
SFT Software Segment |
|||
UAC User Authentication Credential Segment |
[0..1] | ||
QAK Query Acknowledgment |
[1..1] | SHALL | |
QPD Query Parameter Definition |
[1..1] | SHALL | |
RCP Response Control Parameter |
[1..1] | SHALL | |
RESPONSE | [1..*] | SHALL | |
PATIENT | [0..1] | ||
PID Patient Identification |
[1..1] | SHALL | |
PD1 Patient Additional Demographic |
[0..1] | ||
PRT Participation Information |
|||
NTE Notes and Comments |
|||
ARV Access Restriction |
B | ||
AL1 Patient Allergy Information |
|||
PATIENT_VISIT | [0..1] | ||
PV1 Patient Visit |
[1..1] | SHALL | |
PV2 Patient Visit - Additional Information |
[0..1] | ||
PRT Participation Information |
|||
ARV Access Restriction |
B | ||
ORDER | [1..*] | SHALL | |
ORC Common Order |
[1..1] | SHALL | |
PRT Participation Information |
|||
TIMING | |||
TQ1 Timing/Quantity |
[1..1] | SHALL | |
TQ2 Timing/Quantity Relationship |
|||
ORDER_DETAIL | [0..1] | ||
RXO Pharmacy/Treatment Order |
[1..1] | SHALL | |
PRT Participation Information |
|||
NTE Notes and Comments |
|||
RXR Pharmacy/Treatment Route |
[1..*] | SHALL | |
COMPONENTS | |||
RXC Pharmacy/Treatment Component Order |
[1..1] | SHALL | |
NTE Notes and Comments |
|||
ENCODING | [0..1] | ||
RXE Pharmacy/Treatment Encoded Order |
[1..1] | SHALL | |
PRT Participation Information |
|||
NTE Notes and Comments |
|||
TIMING_ENCODED | [1..*] | SHALL | |
TQ1 Timing/Quantity |
[1..1] | SHALL | |
TQ2 Timing/Quantity Relationship |
|||
RXR Pharmacy/Treatment Route |
[1..*] | SHALL | |
RXC Pharmacy/Treatment Component Order |
|||
RXD Pharmacy/Treatment Dispense |
[1..1] | SHALL | |
PRT Participation Information |
|||
RXR Pharmacy/Treatment Route |
[1..*] | SHALL | |
RXC Pharmacy/Treatment Component Order |
|||
CDO Cumulative Dosage |
|||
OBSERVATION | |||
OBX Observation/Result |
[1..1] | SHALL | |
PRT Participation Information |
|||
NTE Notes and Comments |
|||
DSC Continuation Pointer |
[0..1] |
MSH-15 | MSH-16 | Immediate ACK | Application Ack |
---|---|---|---|
Blank | Blank | - | - |
NE | NE | - | - |
AL, SU, ER | NE | ACK^K31^ACK | - |
QPD Input Parameter Specification
QPD Input Parameter Field Description and Commentary
Example: The user wishes to know all the medications dispensed for the patient whose medical record number is "555444222111" for the period beginning 5/31/2005 and ending 5/31/2006. The following QBP message is generated.
MSH|^&~\|PCR|Gen Hosp|Pharm||200611201400-0800||QBP^Q31^QBP_Q11|ACK9901|P|2.8|
QPD|Q31^Dispense History^HL70471|Q001|555444222111^^^MPI^MR||20050531|20060531|
RCP|I|999^RD|
The pharmacy system identifies medical record number "555444222111" as belonging to Adam Everyman and locates 4 prescription dispenses for the period beginning 5/31/2005 and ending 5/31/2006 and returns the following RSP message:
MSH|^&~\|Pharm|Gen hosp|PCR||200611201400-0800||RSP^K31^RSP_K31|8858|P|2.8|
MSA|AA|ACK9901|
QAK|Q001|OK|Q31^Dispense History^HL70471|4|
QPD|Q31^Dispense History^HL70471|Q001|444-33-3333^^^MPI^MR||20050531|20060531|
PID|||444-33-3333^^^MPI^MR||Everyman^Adam||19600614|M||C|2222 Home Street ^^Anytown^US^12345||^^^^^555^5552004|
ORC|RE||89968665||||||200505121345-0700|||444-44-4444^HIPPOCRATES^HAROLD^^^^MD||^^^^^555^5551003|
RXE|1^BID^^20050529|00378112001^Verapamil Hydrochloride 120 mg TAB^NDC |120||mgm|
RXD|1|00378112001^Verapamil Hydrochloride 120 mg TAB^NDC |200505291115-0700|100|||1331665|3|
RXR|PO|
ORC|RE||89968665||||||200505291030-0700|||444-44-4444^HIPPOCRATES^HAROLD^^^^MD||^^^^^555^5551003|
RXE|1^^D100^^20070731^^^TAKE 1 TABLET DAILY --GENERIC FOR CALAN SR|00182196901^VERAPAMIL HCL ER TAB 180MG ER^NDC |100||180MG|TABLET SA|||G|||0|BC3126631^CHU^Y^L||213220929|0|0|19980821|
RXD|1|00182196901^VERAPAMIL HCL ER TAB 180MG ER^NDC |20050821|100|||213220929|0|TAKE 1 TABLET DAILY --GENERIC FOR CALAN SR|
RXR|PO|
ORC|RE||235134037||||||200509221330-0700|||444-44-4444^HIPPOCRATES^HAROLD^^^^MD||^^^^^555^5551003|
RXD|1|00172409660^BACLOFEN 10MG TABS^NDC|200509221415-0700|10|||235134037|5|AS DIRECTED|
RXR|PO|
ORC|RE||235134030||||||200510121030-0700|||222-33-4444^PUMP^PATRICK^^^^MD ||^^^^^555^5551027|
RXD|1|00054384163^THEOPHYLLINE 80MG/15ML SOLN^NDC|200510121145-0700|10|||235134030|5|AS DIRECTED|
RXR|PO|