Prepare Consignment Write Payload
Perform Prepare Consignment Write Payload through Consignment Intake.
prepare_consignment_write_payloadInputs
- Order Mapping
order_mappingjsonrequiredRequired JSON value.
- Extracted Fields
extracted_fieldsjsonrequiredRequired JSON value.
- Document Text
document_textexpressionOptional literal value or workflow expression.
- Packet Context
packet_contextjsonrequiredRequired JSON value.
- Billing Location Resolution
billing_location_resolutionjsonrequiredRequired JSON value.
- Policyholder Resolution
policyholder_resolutionjsonOptional JSON value.
- As Of Date
as_of_datedateOptional date in YYYY-MM-DD format.
- Existing Patient Id
existing_patient_idtextOptional text value.
- Salesperson Name
salesperson_nameexpressionOptional literal value or workflow expression.
- Clean Path Mode
clean_path_modeselectOptional selected identifier or value.
Default:
"review_for_billing"Options: Review for billing ("review_for_billing"), Submitted (explicit opt-in) ("submitted")
- Patient Name Format
patient_name_formatselectOptional selected identifier or value.
Options: Given name then family name ("given_family"), Given Family or Family, Given ("given_family_or_family_comma_given")
Outputs
successSuccessready_for_patient_insurance_writeReady For Patient Insurance Writepayload_not_ready_reasonPayload Not Ready Reasonreview_requiredReview Requiredreview_reasonReview Reasonreview_reasonsReview Reasonsreview_detailsReview Detailspatient_dataPatient Datapatient_name_resolved_from_fallbackPatient Name Resolved From Fallbackpatient_name_resolved_from_configured_formatPatient Name Resolved From Configured Formatpolicy_dataPolicy Databilling_location_idsBilling Location Idsbilling_location_resolutionBilling Location Resolutionbilling_locationBilling Locationpatient_statePatient Statepayer_planPayer Planpayer_card_statePayer Card Statepayer_name_truncatedPayer Name Truncatedcard_insurance_typeCard Insurance Typemember_numberMember Numberinsurance_sequenceInsurance Sequencepacket_contextPacket Contextguarantor_dataGuarantor Dataguarantor_write_requiredGuarantor Write Requiredguarantor_first_nameGuarantor First Nameguarantor_last_nameGuarantor Last Nameguarantor_relationship_idGuarantor Relationship Idguarantor_date_of_birthGuarantor Date Of Birthaccident_detailsAccident Detailsexisting_patient_idExisting Patient Idpatient_write_modePatient Write Modeclean_path_modeClean Path ModeerrorErrorerror_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": [
"order_mapping",
"extracted_fields",
"packet_context",
"billing_location_resolution"
],
"properties": {
"as_of_date": {
"type": "string",
"format": "date",
"description": "Optional date in YYYY-MM-DD format.",
"x-workflow-field-type": "date"
},
"document_text": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"order_mapping": {
"description": "Required JSON value.",
"x-workflow-field-type": "json"
},
"packet_context": {
"description": "Required JSON value.",
"x-workflow-field-type": "json"
},
"clean_path_mode": {
"enum": [
"review_for_billing",
"submitted"
],
"type": "string",
"default": "review_for_billing",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"extracted_fields": {
"description": "Required JSON value.",
"x-workflow-field-type": "json"
},
"salesperson_name": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"existing_patient_id": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"patient_name_format": {
"enum": [
"given_family",
"given_family_or_family_comma_given"
],
"type": "string",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"policyholder_resolution": {
"description": "Optional JSON value.",
"x-workflow-field-type": "json"
},
"billing_location_resolution": {
"description": "Required JSON value.",
"x-workflow-field-type": "json"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"success": {},
"error_kind": {},
"payer_plan": {},
"policy_data": {},
"patient_data": {},
"member_number": {},
"patient_state": {},
"review_reason": {},
"guarantor_data": {},
"packet_context": {},
"review_details": {},
"review_reasons": {},
"clean_path_mode": {},
"review_required": {},
"accident_details": {},
"billing_location": {},
"payer_card_state": {},
"insurance_sequence": {},
"patient_write_mode": {},
"card_insurance_type": {},
"existing_patient_id": {},
"guarantor_last_name": {},
"billing_location_ids": {},
"guarantor_first_name": {},
"payer_name_truncated": {},
"guarantor_date_of_birth": {},
"guarantor_write_required": {},
"payload_not_ready_reason": {},
"guarantor_relationship_id": {},
"billing_location_resolution": {},
"ready_for_patient_insurance_write": {},
"patient_name_resolved_from_fallback": {},
"patient_name_resolved_from_configured_format": {}
},
"additionalProperties": true
}