ELLKAY · Schema

LKCloudConnect.Contracts.PatientBalance.GetBalanceResult

CompanyHealthcareInteroperabilityFHIRHL7EHR IntegrationHealth Data

Properties

Name Type Description
patients array List of patient balances, which will only ever contain a single patient
View JSON Schema on GitHub

JSON Schema

ellkay-lkcloud-connect-contracts-patient-balance-get-balance-result-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ellkay/json-schema/ellkay-lkcloud-connect-contracts-patient-balance-get-balance-result-schema.json",
  "title": "LKCloudConnect.Contracts.PatientBalance.GetBalanceResult",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ellkay-lkpatientbalance-api-openapi.yml#/components/schemas/LKCloudConnect.Contracts.PatientBalance.GetBalanceResult",
  "type": "object",
  "properties": {
    "patients": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/LKCloudConnect.Contracts.PatientBalance.GetPatientBalanceResult"
      },
      "description": "List of patient balances, which will only ever contain a single patient"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "LKCloudConnect.Contracts.CodeableConcept": {
      "type": "object",
      "properties": {
        "text": {
          "type": "string",
          "description": "Text"
        },
        "coding": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LKCloudConnect.Contracts.Coding"
          },
          "description": "Code system detail"
        }
      },
      "additionalProperties": false,
      "description": "CodeableConcept"
    },
    "LKCloudConnect.Contracts.Coding": {
      "type": "object",
      "properties": {
        "system": {
          "type": "string",
          "description": "Code system id"
        },
        "code": {
          "type": "string",
          "description": "Code"
        },
        "display": {
          "type": "string",
          "description": "Display text"
        }
      },
      "additionalProperties": false,
      "description": "Detail about a code, including the code, the display, and the code system id"
    },
    "LKCloudConnect.Contracts.PatientBalance.BilledInsurance": {
      "type": "object",
      "properties": {
        "payerId": {
          "type": "string",
          "description": "Unique identifier of the billed insurance payer."
        },
        "insuranceName": {
          "type": "string",
          "description": "Name of the insurance company billed for the claim."
        },
        "insuranceCode": {
          "type": "string",
          "description": "Internal or external code representing the insurance plan."
        },
        "priority": {
          "enum": [
            "Unspecified",
            "Primary",
            "Secondary",
            "Tertiary",
            "None"
          ],
          "type": "string",
          "description": "Billing priority of the insurance."
        },
        "insuranceBalance": {
          "type": "number",
          "description": "The remaining balance owed by that specific insurance payer for the service.",
          "format": "double"
        },
        "insurancePaid": {
          "type": "number",
          "description": "The amount paid by a specific insurance payer for the service.",
          "format": "double"
        }
      },
      "additionalProperties": false
    },
    "LKCloudConnect.Contracts.PatientBalance.Encounter": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Encounter id"
        },
        "appointmentBalance": {
          "type": "number",
          "description": "Total charge billed to insurance for the appointment associated with this encounter",
          "format": "double"
        },
        "patientBalance": {
          "type": "number",
          "description": "Total outstanding patient balance for the encounter",
          "format": "double"
        },
        "copay": {
          "type": "number",
          "description": "Copay for encounter",
          "format": "double"
        },
        "adjustment": {
          "type": "number",
          "description": "Total adjustments for encounter",
          "format": "double"
        },
        "insuranceStatus": {
          "enum": [
            "Created",
            "Billed",
            "FollowUp",
            "Hold",
            "Closed",
            "Writeoff"
          ],
          "type": "string",
          "description": "Insurance billing status"
        },
        "patientBillingStatus": {
          "enum": [
            "Created",
            "Billed",
            "FollowUp",
            "Hold",
            "Closed",
            "Writeoff"
          ],
          "type": "string",
          "description": "Patient billing status"
        },
        "date": {
          "type": "string",
          "description": "Datetime of encounter. (DateTimeOffset) e.g. 2019-01-01T00:00:00+00:00",
          "format": "date-time"
        },
        "firstBilledDate": {
          "type": "string",
          "description": "First billed date. (DateTimeOffset) e.g. 2019-01-01T00:00:00+00:00",
          "format": "date-time"
        },
        "patientResponsibleDate": {
          "type": "string",
          "description": "Date patient is responsible for payment. (DateTimeOffset) e.g. 2019-01-01T00:00:00+00:00",
          "format": "date-time"
        },
        "diagnoses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LKCloudConnect.Contracts.CodeableConcept"
          },
          "description": "Pertinent Diagnoses codes"
        },
        "services": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LKCloudConnect.Contracts.PatientBalance.Service"
          },
          "description": "Services that were provided as part of this encounter"
        },
        "guarantor": {
          "allOf": [
            {
              "$ref": "#/$defs/LKCloudConnect.Contracts.PatientBalance.Guarantor"
            }
          ],
          "description": "Encounter guarantor"
        },
        "printStatement": {
          "type": "boolean",
          "description": "Encounter print statement"
        },
        "isVoided": {
          "type": "boolean",
          "description": "Was the encounter payment voided or not"
        },
        "facilityId": {
          "type": "string",
          "description": "Encounter facility id"
        },
        "physicianId": {
          "type": "string",
          "description": "Encounter physician id"
        },
        "custom": {
          "type": "object",
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "System-specific data for special cases"
        }
      },
      "additionalProperties": false,
      "description": "System specific details for a patients encounter."
    },
    "LKCloudConnect.Contracts.PatientBalance.GetPatientBalanceResult": {
      "type": "object",
      "properties": {
        "patient": {
          "allOf": [
            {
              "$ref": "#/$defs/LKCloudConnect.Contracts.PatientBalance.Patient"
            }
          ],
          "description": "Patient these balances belong to"
        },
        "totalPatientBalance": {
          "type": "number",
          "description": "Total patient balance amount, excluding insurance balance amount.",
          "format": "double"
        },
        "unposted": {
          "type": "number",
          "description": "Total amount the patient has paid which has not been designated as a copay or balance payment",
          "format": "double"
        },
        "encounters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LKCloudConnect.Contracts.PatientBalance.Encounter"
          },
          "description": "List of encounter and claim balance data"
        },
        "patientAccountBalance": {
          "type": "number",
          "description": "Total outstanding balance on the patient account",
          "format": "double"
        },
        "custom": {
          "type": "object",
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "System-specific data for special cases"
        }
      },
      "additionalProperties": false
    },
    "LKCloudConnect.Contracts.PatientBalance.Guarantor": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Id of the guarantor"
        },
        "firstName": {
          "type": "string",
          "description": "Guarantor first name"
        },
        "lastName": {
          "type": "string",
          "description": "Guarantor last name"
        }
      },
      "additionalProperties": false
    },
    "LKCloudConnect.Contracts.PatientBalance.Patient": {
      "type": "object",
      "properties": {
        "firstName": {
          "type": "string",
          "description": "Patient first name"
        },
        "lastName": {
          "type": "string",
          "description": "Patient last name"
        },
        "id": {
          "type": "string",
          "description": "Id of the patient"
        },
        "guarantor": {
          "allOf": [
            {
              "$ref": "#/$defs/LKCloudConnect.Contracts.PatientBalance.Guarantor"
            }
          ],
          "description": "Guarantor for the patient"
        },
        "accountId": {
          "type": "string",
          "description": "Patient account id"
        }
      },
      "additionalProperties": false
    },
    "LKCloudConnect.Contracts.PatientBalance.Service": {
      "type": "object",
      "properties": {
        "claimId": {
          "type": "string",
          "description": "Service claim id"
        },
        "id": {
          "type": "string",
          "description": "Service id"
        },
        "name": {
          "type": "string",
          "description": "Service name"
        },
        "code": {
          "type": "string",
          "description": "Service code"
        },
        "description": {
          "type": "string",
          "description": "Service description"
        },
        "units": {
          "type": "integer",
          "description": "Service units",
          "format": "int32"
        },
        "adjustment": {
          "type": "number",
          "description": "Service adjustment amount",
          "format": "double"
        },
        "refund": {
          "type": "number",
          "description": "Service refund amount",
          "format": "double"
        },
        "billedAmount": {
          "type": "number",
          "description": "Service billed amount",
          "format": "double"
        },
        "patientBalance": {
          "type": "number",
          "description": "Service patient outstanding balance",
          "format": "double"
        },
        "patientPaid": {
          "type": "number",
          "description": "How much the patient has paid",
          "format": "double"
        },
        "insuranceBalance": {
          "type": "number",
          "description": "The aggregate remaining balance across all billed insurances for that service.",
          "format": "double"
        },
        "insurancePaid": {
          "type": "number",
          "description": "The total insurance payments received across all billed insurances for that service.",
          "format": "double"
        },
        "modifiers": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Service CPT modifier codes"
        },
        "diagnoses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LKCloudConnect.Contracts.CodeableConcept"
          },
          "description": "Applicable diagnoses for the product or service"
        },
        "billedInsurances": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LKCloudConnect.Contracts.PatientBalance.BilledInsurance"
          },
          "description": "The billed insurance details are included only when the IncludeInsuranceDetail field in the request is set to true; otherwise, this will return as a null object."
        },
        "custom": {
          "type": "object",
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "System-specific data for special cases"
        }
      },
      "additionalProperties": false
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/ellkay-lkcloud-connect-contracts-patient-balance-get-balance-result"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.