PrimaryConnectClient::OrderOrder

Properties

Name Type Description Notes
id String ID of the order assigned by the placing system [optional]
application_order_id String ID assigned by the application fulfilling the order [optional]
status String The status of an order. [optional]
transaction_date_time Time Timestamp when the order was placed (ISO-8601) [optional]
collection_date_time Time Timestamp when the specimen was collected (ISO-8601) [optional]
collection_start_date_time Time Timestamp when the specimen was collected (ISO-8601) [optional]
completion_date_time Time Timestamp when the results were composed into a report and released. (ISO-8601) [optional]
accession_date_time Time Timestamp when the specimen was received by the destination. (ISO-8601) [optional]
expiration_date String YYYY-MM-DD, Date when the order becomes invalid [optional]
specimen Specimen [optional]
medication_administrations Array<MedicationAdministration> Array of medications administered to the subject [optional]
procedure CodedValue [optional]
procedures Array<CodedValue> Array of Procedures ordered [optional]
ordering_provider Provider [optional]
result_copy_providers Array<Provider> Array of providers to be copied on the results [optional]
ordering_facility OrderOrderOrderingFacility [optional]
priority String Priority of the order [optional]
diagnoses Array<OrderOrderDiagnoses> List of diagnoses associated with this order [optional]
clinical_comments String Clinically relevant comments regarding the order [optional]
notes Array<String> Order-level notes [optional]
clinical_info Array<OrderOrderClinicalInfo> List of supplementary clinical information associated with the order. Often these are answers to Ask at Order Entry (AOE) questions. [optional]
results_status String Current overall status of the order [optional]
response_flag String Specificity of the response requested from the receiving system [optional]
external_ids Array<Identifier> [optional]
results Array<Result> List of result components [optional]

Example

require 'primary_connect_client'

instance = PrimaryConnectClient::OrderOrder.new(
  id: 12345,
  application_order_id: 67890,
  status: null,
  transaction_date_time: 2021-07-10T12:35:45-07:00,
  collection_date_time: 2021-07-10T12:35:45-07:00,
  collection_start_date_time: 2021-07-10T12:35:45-07:00,
  completion_date_time: 2021-07-10T12:35:45-07:00,
  accession_date_time: 2021-07-10T12:35:45-07:00,
  expiration_date: 2022-05-23,
  specimen: null,
  medication_administrations: null,
  procedure: null,
  procedures: null,
  ordering_provider: null,
  result_copy_providers: null,
  ordering_facility: null,
  priority: null,
  diagnoses: null,
  clinical_comments: null,
  notes: null,
  clinical_info: null,
  results_status: null,
  response_flag: null,
  external_ids: null,
  results: null
)