Prepare Consignment Order Create
Perform Prepare Consignment Order Create through Consignment Intake.
prepare_consignment_order_createwrite
Inputs
- Packet Context
packet_contextjsonrequiredRequired JSON value.
- As Of Date
as_of_datedaterequiredRequired date in YYYY-MM-DD format.
- Billing Location Ids
billing_location_idsjsonrequiredRequired JSON value.
- Patient Save Result
patient_save_resultjsonrequiredRequired JSON value.
- Insurance Save Result
insurance_save_resultjsonrequiredRequired JSON value.
- Order Defaults
order_defaultsjsonrequiredRequired JSON value.
- Extracted Salesperson
extracted_salespersontextOptional text value.
- Semantic Items
semantic_itemsjsonOptional JSON value.
- Accident Details
accident_detailsjsonOptional JSON value.
Outputs
successSuccessready_for_order_createReady For Order Createreview_requiredReview Requiredreview_reasonReview Reasonreview_reasonsReview Reasonsidempotency_keyIdempotency Keypatient_idPatient Iddate_of_service_fromDate Of Service Fromdate_of_service_toDate Of Service TolocationLocationdiagnosis_codesDiagnosis Codesphysician_idPhysician IdphysicianPhysicianreferral_source_idReferral Source Idreferral_sourceReferral Sourcepsr_idPsr Idsales_rep_idSales Rep Idsales_repSales RepwarehouseWarehouseplace_of_servicePlace Of ServicesignatureSignaturerendering_provider_idRendering Provider Idrendering_providerRendering Providersemantic_itemsSemantic Itemsis_accidentIs Accidentaccident_dateAccident Dateaccident_state_idAccident State Idaccident_descriptionAccident Descriptionprescription_datePrescription DateerrorErrorerror_kindError Kind
Output schema completeness: best_effort_declared
Safety
- External effect
- write
- Confirmation recommended
- No
- Retry safe
- No
- Dry run supported
- No
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"required": [
"packet_context",
"as_of_date",
"billing_location_ids",
"patient_save_result",
"insurance_save_result",
"order_defaults"
],
"properties": {
"as_of_date": {
"type": "string",
"format": "date",
"description": "Required date in YYYY-MM-DD format.",
"x-workflow-field-type": "date"
},
"order_defaults": {
"description": "Required JSON value.",
"x-workflow-field-type": "json"
},
"packet_context": {
"description": "Required JSON value.",
"x-workflow-field-type": "json"
},
"semantic_items": {
"description": "Optional JSON value.",
"x-workflow-field-type": "json"
},
"accident_details": {
"description": "Optional JSON value.",
"x-workflow-field-type": "json"
},
"patient_save_result": {
"description": "Required JSON value.",
"x-workflow-field-type": "json"
},
"billing_location_ids": {
"description": "Required JSON value.",
"x-workflow-field-type": "json"
},
"extracted_salesperson": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"insurance_save_result": {
"description": "Required JSON value.",
"x-workflow-field-type": "json"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"psr_id": {},
"success": {},
"location": {},
"physician": {},
"sales_rep": {},
"signature": {},
"warehouse": {},
"error_kind": {},
"patient_id": {},
"is_accident": {},
"physician_id": {},
"sales_rep_id": {},
"accident_date": {},
"review_reason": {},
"review_reasons": {},
"semantic_items": {},
"diagnosis_codes": {},
"idempotency_key": {},
"referral_source": {},
"review_required": {},
"place_of_service": {},
"accident_state_id": {},
"prescription_date": {},
"date_of_service_to": {},
"referral_source_id": {},
"rendering_provider": {},
"accident_description": {},
"date_of_service_from": {},
"rendering_provider_id": {},
"ready_for_order_create": {}
},
"additionalProperties": true
}