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.
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 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.
The patient registers on arrival or is admitted, and the hospital enters the identity and encounter details in the HIS.
The HIS calls patient registration, checks whether commercial insurance is in force, and generates the claim number claim_no.
The insurer calculates in real time on the product rules, returns the payment amount and the payment note, and locks the result.
The patient settles the patient share on the spot, and the hospital settles on the locked calculation result and receives the payment.
The direct settlement call is initiated by the hospital's own HIS, and the flow runs after the existing medical insurance settlement.
The call is embedded in the HIS billing and settlement module, without changing the existing billing backbone or the medical insurance logic.
The budget, settlement confirmation and cancellation calls all use the claim number claim_no returned by registration as the only identifier.
If an interface fails, the flow can fall back to the self-pay route, which keeps the in-hospital change under control.
The commercial insurance claim payment is advanced by the hospital at discharge settlement, and recovered under the agreement afterwards.
The advance is based on the payment amount returned by the claim budget interface, and the hospital side takes no part in the calculation.
The insurer recovers the payment from the dedicated claims account into the hospital corporate account, and Caloray Care does not enter the cash flow.
The hospital should notify the insurer promptly when account details change, and recovery still follows the agreed arrangement.
The hospital is responsible for the accuracy of the diagnosis and cost details it reports.
Patient identity is transmitted as an SM3 pseudonymous identifier, with no plain name or document number uploaded.
Full medical records, test results, imaging and biometric data never leave the PRC.
Every operation along the chain is logged and can be traced to the specific claim and settlement document.
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 |
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.
All interfaces use HTTPS + application/json, the request headers carry MIID and Sign, and the response body uses code / msg / data throughout.
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.
The hospital selects one of the two settlement arrangements in the agreement.
The document form follows the settlement arrangement selected.
Each claim matches one document, which supports printing the payment invoice.
Common cases such as cancellation and a zero payment are handled as specified.
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.
A settlement amount on the hospital side that matches the calculation result means the direct settlement succeeded; the insurer handles any claim dispute.
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.
The foreign currency account holds no settlement funds, and the insurer bears any exchange gains or losses.
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.
It initiates the direct settlement in the hospital, advances the claim payment and receives the recovery.
It provides the medical institution licence and other qualification documents and the corporate account details.
It completes the calls and the signature verification inside the HIS as specified, and supports the network policy and the test environment.
It reports the true diagnosis and cost details, uploads the electronic document data and supports printing the payment invoice.
It provides the direct settlement system and operational support, and does not enter the cash flow.
It provides the interface specification, the test environment, the MIID and Secret Key, joint debugging support and fault isolation.
No underwriting, no claim decisions, no premium collection and no agency commission.
It carries out operation and maintenance after go-live, version upgrades and interface queries.
It calculates and confirms payment on the product rules, and pays or authorises the debit of the claim payment on the locked result.
It provides the product scope of cover, the deductible and the payment limit, and presets and enables the rules.
It pays or authorises the debit of the claim payment on the locked result, and confirms the payment result and the invoicing details.
It handles reconciliation differences and claim disputes, and the decision on payment stays with the insurer.
From signing the agreement to the first direct settlement, the three steps below are all that is needed.
Caloray Care leads the signing of the Social Medical Insurance One-Form Settlement Cooperation Agreement with the hospital.
Select the T+1 or monthly settlement arrangement in the agreement, which fixes the payment timing.
Submit the licence and the corporate account details; signing and interface integration can proceed in parallel.
The five interfaces are implemented and jointly debugged against the Direct Settlement Interface Specification V3.1.1.
Run the full flow through in the test environment with a separate key first, then switch to production.
Open the network policy, provide the test environment and test data, and support the signature verification.
System integration, maintenance and use are borne by Caloray Care, and the hospital bears no integration cost.
Production switchover and acceptance are completed, and the hospital advances the commercial insurance claim payment at discharge settlement.
The insurer recovers the payment under the agreed arrangement, and the hospital checks the payment details against the accounting period.
Once the document is uploaded, each claim matches one document, which supports invoice printing and reconciliation.
After go-live, Caloray Care and the insurer provide interface queries and operational support.
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.
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.
It can be handed straight to the hospital IT department and the HIS vendor, and used together with the agreement annex.
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.
Eight chapters of terms, with the interface specification as an annex to the agreement and the settlement arrangement left to be selected.
The interfaces use HTTPS, and both the request and the response are JSON (application/json).
The request signature is Sign = SM3(RequestBody + SecretKey), and the response signature is calculated by the same rule.
A unique MIID and Secret Key are allocated to each medical institution; if the Secret Key leaks, a replacement should be requested at once.
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.
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.
The interface specification is provided on this page only; the agreement signing and the settlement arrangement selection are led by a licensed insurance intermediary.