This endpoint creates a new lab order in the system. It registers a lab order with the provided details, including patient, address, affiliate, lab, and other related information. It also supports optional parameters for immediate processing, post-results order creation, and product variations for the post-results order.
Required Fields:
-
patient(string): The unique identifier for the patient. -
affiliate(string): The unique identifier for the affiliate. -
lab(string): The unique identifier for the lab.
Optional Fields:
-
address(string): The unique identifier for the address. -
order(string): The unique identifier for the order. -
immediateProcessing(boolean): Flag to indicate if the order should be processed immediately. -
createOrderAfterResults(boolean): Flag to indicate if an order should be created after receiving results. -
labPanels(array): List of lab panel IDs to include in the order. -
labTests(array): List of specific lab tests to include in the order. -
afterResultsOrderProductVariations(array): Product variations to include after results.
