Resolve Patient Facility
Perform Resolve Patient Facility through Brightree.
brightree_resolve_patient_facilityreadbrightree
Inputs
- Patient Key
patient_keyexpressionrequiredRequired literal value or workflow expression.
- Facility Name
facility_nameexpressionOptional literal value or workflow expression.
- Expected Address
expected_addressjsonOptional JSON value.
- Facility
facilityjsonOptional JSON value.
- Delivery Info
delivery_infojsonOptional JSON value.
- Facility Source
facility_sourceexpressionOptional literal value or workflow expression.
- Is Private Residence
is_private_residencebooleanOptional true-or-false value.
Default:
false - Skip Address Validation
skip_address_validationbooleanOptional true-or-false value.
Default:
false - Skip If Missing
skip_if_missingbooleanOptional true-or-false value.
Default:
true
Outputs
successSuccessfacility_foundFacility Foundis_private_residenceIs Private Residencedelivery_infoDelivery InfofacilityFacilityfacility_sourceFacility Sourceexpected_facility_addressExpected Facility Addressfacility_textFacility Textfacility_valueFacility Valuefacility_keyFacility Keyskip_facility_writeSkip Facility Writeskip_address_syncSkip Address Syncfacility_search_nameFacility Search Namefacility_search_countFacility Search Countfacility_selection_reasonFacility Selection Reasonselected_facilitySelected Facilityaction_requiredAction Requiredaction_required_messageAction Required MessageerrorError
Output schema completeness: best_effort_declared
Safety
- External effect
- read
- Confirmation recommended
- No
- Retry safe
- Yes
- Dry run supported
- No
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"required": [
"patient_key"
],
"properties": {
"facility": {
"description": "Optional JSON value.",
"x-workflow-field-type": "json"
},
"patient_key": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"delivery_info": {
"description": "Optional JSON value.",
"x-workflow-field-type": "json"
},
"facility_name": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"facility_source": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"skip_if_missing": {
"type": "boolean",
"default": true,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"expected_address": {
"description": "Optional JSON value.",
"x-workflow-field-type": "json"
},
"is_private_residence": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"skip_address_validation": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"success": {},
"facility": {},
"facility_key": {},
"delivery_info": {},
"facility_text": {},
"facility_found": {},
"facility_value": {},
"action_required": {},
"facility_source": {},
"selected_facility": {},
"skip_address_sync": {},
"skip_facility_write": {},
"facility_search_name": {},
"is_private_residence": {},
"facility_search_count": {},
"action_required_message": {},
"expected_facility_address": {},
"facility_selection_reason": {}
},
"additionalProperties": true
}