Create Referral Intake Case
Perform Create Referral Intake Case through GenHealth.
genhealth_create_referral_intake_casewrite
Inputs
- Create Idempotency Key
create_idempotency_keytextrequiredRequired text value.
- Origin
originselectrequiredRequired selected identifier or value.
Options: External Fax ("external_fax"), External Email ("external_email"), Internal Provider Referral ("internal_provider_referral"), Manual Upload ("manual_upload")
- External Case Reference
external_case_referencetextrequiredRequired text value.
- Service Line
service_lineselectOptional selected identifier or value.
Default:
"dme"Options: DME ("dme")
- Source Document Id
source_document_idtextOptional text value.
- Source Referral Id
source_referral_idtextOptional text value.
- Branch Id
branch_idtextOptional text value.
- Patient Snapshot
patient_snapshotjsonOptional JSON value.
- Referring Provider Snapshot
referring_provider_snapshotjsonOptional JSON value.
- Referring Party Display Name
referring_party_display_nametextOptional text value.
- Referring Party Fax Number
referring_party_fax_numbertextOptional text value.
- Referring Party Npi
referring_party_npitextOptional text value.
- Referring Party Sending Org Id
referring_party_sending_org_idtextOptional text value.
- Suggest Score
suggest_scorenumberOptional numeric value.
- Auto Link Score
auto_link_scorenumberOptional numeric value.
Outputs
successSuccesserrorErrorcase_idCase Idintake_stageIntake Stagepatient_idPatient Idpatient_linkedPatient Linkedreferring_party_idReferring Party Idexternal_case_referenceExternal Case Referencestate_versionState Version
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": [
"create_idempotency_key",
"origin",
"external_case_reference"
],
"properties": {
"origin": {
"enum": [
"external_fax",
"external_email",
"internal_provider_referral",
"manual_upload"
],
"type": "string",
"description": "Required selected identifier or value.",
"x-workflow-field-type": "select"
},
"branch_id": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"service_line": {
"enum": [
"dme"
],
"type": "string",
"default": "dme",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"suggest_score": {
"type": "number",
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"auto_link_score": {
"type": "number",
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"patient_snapshot": {
"description": "Optional JSON value.",
"x-workflow-field-type": "json"
},
"source_document_id": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"source_referral_id": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"referring_party_npi": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"create_idempotency_key": {
"type": "string",
"description": "Required text value.",
"x-workflow-field-type": "text"
},
"external_case_reference": {
"type": "string",
"description": "Required text value.",
"x-workflow-field-type": "text"
},
"referring_party_fax_number": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"referring_provider_snapshot": {
"description": "Optional JSON value.",
"x-workflow-field-type": "json"
},
"referring_party_display_name": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"referring_party_sending_org_id": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"case_id": {},
"success": {},
"patient_id": {},
"intake_stage": {},
"state_version": {},
"patient_linked": {},
"referring_party_id": {},
"external_case_reference": {}
},
"additionalProperties": true
}