Class: LIS::Message::Query
Overview
Query Message
A request to the LIS for patient information and test orders. Contains the primary tube accession number.
Message Examples
2Q|1|^1234ABC||ALL|||||||O
Message Structure
-
Record Type ID (Q)
-
Sequence #
-
Starting Range
-
Ending Range
-
Test ID
-
Request Time Limits
-
Beginning request results date and time
-
Ending request results date and time
-
Physician name
-
Physician Phone Number
-
User Field 1
-
User Field 2
-
Status Codes
C - Correction of previous results P - Preliminary Results F - Final Results X - Results cannot be done, cancel I - Request Results Pending S - Request partial results M - Result is a MIC level R - Result previously transmitted A - Abort/cancel last request N - Requesting new results only O - Requesting orders and demographics D - Requesting demographics only
Constant Summary
Constants included from ClassMethods
ClassMethods::CONVERSION_WRITER
Instance Method Summary collapse
Methods inherited from Base
from_string, #to_message, #type_id
Methods included from ClassMethods
#default_fields, #field_count, #get_field_attributes, #get_index_for, #has_field, #set_field_attributes, #set_index_for, #type_id
Instance Method Details
#starting_range_id ⇒ Object
45 46 47 |
# File 'lib/lis/messages/query.rb', line 45 def starting_range_id starting_range_id_internal.gsub(/\^/,"") end |
#starting_range_id=(val) ⇒ Object
48 49 50 |
# File 'lib/lis/messages/query.rb', line 48 def starting_range_id=(val) starting_range_id_internal = "^#{val}" end |