Hospital Side

HIS integration · settlement reconciliation
How the hospital side works on DBS

This page covers only how the hospital side of the DBS settlement system works: the hospital's own HIS initiates the direct settlement, how the five interfaces are called — patient registration, claim budget, settlement confirmation, document upload and cancellation — and the payment timing and reconciliation basis.

The five interfaces and call order ↓ Settlement and reconciliation basis
Position in DBS

Where the hospital sits in DBS settlement

The hospital is both the party that initiates the direct settlement and the party that receives the payment; the four steps below form one complete commercial insurance direct settlement.

01

Patient visit

The patient registers on arrival or is admitted, and the hospital enters the identity and encounter details in the HIS.

02

The hospital initiates the direct settlement

The HIS calls patient registration, checks whether commercial insurance is in force, and generates the claim number claim_no.

03

The insurer calculates

The insurer calculates in real time on the product rules, returns the payment amount and the payment note, and locks the result.

04

The hospital receives and settles

The patient settles the patient share on the spot, and the hospital settles on the locked calculation result and receives the payment.

A

The party initiating the direct settlement

The direct settlement call is initiated by the hospital's own HIS, and the flow runs after the existing medical insurance settlement.

Where the call sits

The call is embedded in the HIS billing and settlement module, without changing the existing billing backbone or the medical insurance logic.

Call identifier

The budget, settlement confirmation and cancellation calls all use the claim number claim_no returned by registration as the only identifier.

Fallback on error

If an interface fails, the flow can fall back to the self-pay route, which keeps the in-hospital change under control.

B

The party advancing and receiving payment

The commercial insurance claim payment is advanced by the hospital at discharge settlement, and recovered under the agreement afterwards.

Basis for the advance

The advance is based on the payment amount returned by the claim budget interface, and the hospital side takes no part in the calculation.

Payment recovery path

The insurer recovers the payment from the dedicated claims account into the hospital corporate account, and Caloray Care does not enter the cash flow.

Account changes

The hospital should notify the insurer promptly when account details change, and recovery still follows the agreed arrangement.

C

The party responsible for the data

The hospital is responsible for the accuracy of the diagnosis and cost details it reports.

Pseudonymised transmission

Patient identity is transmitted as an SM3 pseudonymous identifier, with no plain name or document number uploaded.

Data minimisation

Full medical records, test results, imaging and biometric data never leave the PRC.

Traceable records

Every operation along the chain is logged and can be traced to the specific claim and settlement document.

Hospital Interfaces

The five in-hospital interfaces

All five interfaces are called inside the hospital's own HIS. The paths share the POST /api/mi/v3/ prefix and the responses use code / msg / data throughout.

No. Interface Purpose Endpoint Key return
01 Patient registration Arrival or admission registration, checking whether commercial insurance is in force and generating the claim number POST /api/mi/v3/register claim_no, the claim number used by all later interfaces
02 Claim budget Reports the main diagnosis and the cost details, and returns the payment amount and the payment note POST /api/mi/v3/claim claim_amount, the total payment and the payment note for each product
03 Settlement confirmation Closes the claim once the patient has settled the patient share; no further budget is possible after confirmation POST /api/mi/v3/confirm settlement_no, the settlement number; the claim closes at once
04 Document upload Synchronises the document data once the billing system has reported success POST /api/mi/v3/ebill The document is uploaded and stored, and each claim matches one document
05 Cancellation Cancels a confirmed claim before reconciliation is complete; after cancellation the budget can run again POST /api/mi/v3/reverse settlement_time, the settlement time for the hospital to check

Interface specification document

The Direct Settlement Interface Specification V3.1.1 (medical institutions) covers the basic flow, the integration method, the message format and the signature verification rules, together with the field descriptions and sample messages for the five interfaces. It can be handed straight to the hospital IT department and the HIS vendor.

View all documents

All interfaces use HTTPS + application/json, the request headers carry MIID and Sign, and the response body uses code / msg / data throughout.

Settlement and Reconciliation

Settlement and reconciliation: the hospital-side basis

The hospital advances first and is paid later: one settlement arrangement is selected in the agreement, and the payment timing and the reconciliation basis are written into the agreement and followed.

01
Payment timing

The hospital selects one of the two settlement arrangements in the agreement.

  • Option A · T+1: the insurer pays the hospital account automatically on the next working day
  • Option B · monthly settlement: 5 working days each for the insurer's review and payment
  • The payment timing is written into the agreement and both parties follow the milestones
02
Settlement documents

The document form follows the settlement arrangement selected.

  • Option A needs no offline signature or advance list check; the system generates the settlement credential
  • Option B uses the hospital's monthly advance list as the only record
  • The monthly advance list needs the finance seal and is submitted each month
03
Invoices and reconciliation basis

Each claim matches one document, which supports printing the payment invoice.

  • The DBS calculation result (the consensus determination) is the only basis
  • A matching settlement amount on the hospital side means the direct settlement succeeded
  • Total medical cost = fund payment + patient share + hospital share
04
Exception handling

Common cases such as cancellation and a zero payment are handled as specified.

  • Before reconciliation with the insurer is complete, a confirmed claim can be cancelled and the budget run again
  • Settlement confirmation should still be called when the payment amount is 0
  • Medical insurance personal account deduction: when the payment exceeds the patient's cash payment, the personal account payment can be adjusted
01

Basis of the consensus determination

The basis of the consensus determination is the DBS calculation result itself: the system computes on the preset rules, that result constitutes the consensus determination, and the hospital side does not have to wait for a manual review, so the flow does not block on it.

The only basis

A settlement amount on the hospital side that matches the calculation result means the direct settlement succeeded; the insurer handles any claim dispute.

02

Cross-border payment leg

For treatment abroad, the insurer converts the locked result at the agreed rate and pays into the Caloray Care foreign currency account, and Caloray Care converts the funds and then pays the hospital.

Exchange gains and losses

The foreign currency account holds no settlement funds, and the insurer bears any exchange gains or losses.

Responsibility Allocation

Responsibility split: hospital, Caloray Care and insurer

The responsibilities of the three parties are clear and traceable, and liability is allocated on this basis when an interface fails or the accounts differ.

01

Partner hospital

It initiates the direct settlement in the hospital, advances the claim payment and receives the recovery.

Licences and accounts

It provides the medical institution licence and other qualification documents and the corporate account details.

System integration

It completes the calls and the signature verification inside the HIS as specified, and supports the network policy and the test environment.

Data and documents

It reports the true diagnosis and cost details, uploads the electronic document data and supports printing the payment invoice.

02

Caloray Care (system operator)

It provides the direct settlement system and operational support, and does not enter the cash flow.

System capability

It provides the interface specification, the test environment, the MIID and Secret Key, joint debugging support and fault isolation.

Role boundary

No underwriting, no claim decisions, no premium collection and no agency commission.

Operational support

It carries out operation and maintenance after go-live, version upgrades and interface queries.

03

Insurer

It calculates and confirms payment on the product rules, and pays or authorises the debit of the claim payment on the locked result.

Calculation rules

It provides the product scope of cover, the deductible and the payment limit, and presets and enables the rules.

Settlement arrangement

It pays or authorises the debit of the claim payment on the locked result, and confirms the payment result and the invoicing details.

Difference handling

It handles reconciliation differences and claim disputes, and the decision on payment stays with the insurer.

Get Started

Three steps to go live

From signing the agreement to the first direct settlement, the three steps below are all that is needed.

01

Agreement signing

Caloray Care leads the signing of the Social Medical Insurance One-Form Settlement Cooperation Agreement with the hospital.

Selecting the arrangement

Select the T+1 or monthly settlement arrangement in the agreement, which fixes the payment timing.

Hospital cooperation

Submit the licence and the corporate account details; signing and interface integration can proceed in parallel.

02

Interface joint debugging

The five interfaces are implemented and jointly debugged against the Direct Settlement Interface Specification V3.1.1.

Test environment

Run the full flow through in the test environment with a separate key first, then switch to production.

Hospital cooperation

Open the network policy, provide the test environment and test data, and support the signature verification.

Costs

System integration, maintenance and use are borne by Caloray Care, and the hospital bears no integration cost.

03

Formal go-live

Production switchover and acceptance are completed, and the hospital advances the commercial insurance claim payment at discharge settlement.

Receipt and reconciliation

The insurer recovers the payment under the agreed arrangement, and the hospital checks the payment details against the accounting period.

Document closed loop

Once the document is uploaded, each claim matches one document, which supports invoice printing and reconciliation.

Operational support

After go-live, Caloray Care and the insurer provide interface queries and operational support.

Documents

Interface specification and agreement text

The interface specification is the only home of the system-side document and can be handed straight to the hospital IT department and the HIS vendor; the agreement is a blank template that is ready for sealing once the parties, accounts, dates and the settlement arrangement selection are filled in.

01

Direct Settlement Interface Specification · medical institutions

Version V3.1.1, covering the basic flow, the integration method, the message format and the signature verification rules, together with the field descriptions and sample messages for the five interfaces.

Delivered to

It can be handed straight to the hospital IT department and the HIS vendor, and used together with the agreement annex.

02

Social Medical Insurance One-Form Settlement Cooperation Agreement

A blank template signed by the insurer and the hospital, covering the purpose of the cooperation, the advance and settlement arrangements, the rights and obligations of both parties, liability for breach and dispute resolution.

Structure of the text

Eight chapters of terms, with the interface specification as an annex to the agreement and the settlement arrangement left to be selected.

03

Message and key points

The interfaces use HTTPS, and both the request and the response are JSON (application/json).

How signatures are computed

The request signature is Sign = SM3(RequestBody + SecretKey), and the response signature is calculated by the same rule.

Key management

A unique MIID and Secret Key are allocated to each medical institution; if the Secret Key leaks, a replacement should be requested at once.

Next Step

Next step: submit the hospital integration application

This page covers only how the system works; the cooperation terms and agreement documents are on the healthcare provider cooperation page, and the integration application is submitted on a separate page.

Connect direct settlement to your hospital HIS

The interface specification and the agreement text can be downloaded directly to assess the work involved; once the integration application is submitted, Caloray Care leads the signing and organises the interface joint debugging.

Submit the hospital integration application → Download the interface specification Cooperation terms for healthcare providers

The interface specification is provided on this page only; the agreement signing and the settlement arrangement selection are led by a licensed insurance intermediary.