Skip to documentation
GenHealth integration

Create Referral Intake Case

Perform Create Referral Intake Case through GenHealth.

View as Markdown
genhealth_create_referral_intake_case
write

Inputs

  • create_idempotency_key
    textrequired
    Create Idempotency Key

    Required text value.

  • origin
    selectrequired
    Origin

    Required 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
    textrequired
    External Case Reference

    Required text value.

  • service_line
    select
    Service Line

    Optional selected identifier or value.

    Default: "dme"

    Options: DME ("dme")

  • source_document_id
    text
    Source Document Id

    Optional text value.

  • source_referral_id
    text
    Source Referral Id

    Optional text value.

  • branch_id
    text
    Branch Id

    Optional text value.

  • patient_snapshot
    json
    Patient Snapshot

    Optional JSON value.

  • referring_provider_snapshot
    json
    Referring Provider Snapshot

    Optional JSON value.

  • referring_party_display_name
    text
    Referring Party Display Name

    Optional text value.

  • referring_party_fax_number
    text
    Referring Party Fax Number

    Optional text value.

  • referring_party_npi
    text
    Referring Party Npi

    Optional text value.

  • referring_party_sending_org_id
    text
    Referring Party Sending Org Id

    Optional text value.

  • suggest_score
    number
    Suggest Score

    Optional numeric value.

  • auto_link_score
    number
    Auto Link Score

    Optional numeric value.

Outputs

  • successSuccess
  • errorError
  • case_idCase Id
  • intake_stageIntake Stage
  • patient_idPatient Id
  • patient_linkedPatient Linked
  • referring_party_idReferring Party Id
  • external_case_referenceExternal Case Reference
  • state_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
}
View all GenHealth actions