In Internet hospital business, the registration and payment function will inevitably be achieved. Registered payment for medical treatment includes both self-payment and medical insurance payment. The author uses actual cases to explain how to deal with the medical insurance payment function of Internet hospitals. Hope it can help you.

In the Internet hospital business, registration and payment diagnosis and treatment should not only support the self-paid method, but also support the medical insurance payment in this city or province. This article explains it with actual cases and connects the medical insurance payment in Internet hospitals.
1. medical insurance electronic certificate
medical insurance electronic certificate is an important part of the national unified medical insurance information platform. It is the only identity certificate for online medical insurance business. It is generated by the national medical insurance information platform. One person, one code is fully applicable to individual medical insurance business.
- Third-party channels need to apply for access to the local medical insurance electronic certificate from the local medical insurance bureau
- After the local medical insurance bureau agrees, they must fill out the "Medical Insurance Electronic Certificate Third-party Channel Access Application Form" and report to the National Bureau
- State issues channel related information in the form of a feedback form to the local medical insurance bureau
- Channel After receiving the feedback form, they can conduct testing environment docking
- Consult with the local medical insurance bureau to obtain national and local electronic certificate test environment service address
Because the current user carrier is WeChat public account , the docking method is h5.
1.1 Preconditions for users to receive electronic medical insurance certificates
The following two types of users are applicable to the activation and authorization of electronic certificates:
- Users who do not activate electronic certificates
- have activated electronic certificates, and users who are not authorized to the current application channel
1.2 Process description
Electronic certificate activation and authorization business process description:
. Users apply for the activation or authorization of electronic certificates from the National Medical Insurance Information Platform through the official channels of the National Medical Insurance Bureau or the third-party channels certified and authorized by the National Medical Insurance Bureau: . Status judgment and operation:- If the user's electronic credentials are not activated, the activation process will enter. See the electronic credential activation business process. The authorization will be automatically completed after the electronic credentials are activated: When
- is operated through the official channel of the National Healthcare Security Bureau, the electronic credentials can be used after activation, without authorization:
- is used for the first time in a third-party channel, if the user's electronic credentials have been activated, the user should first complete the authorization of the channel. For details, see the electronic credential authorization business process.
. After the user completes the activation or authorization of the electronic certificate, the National Medical Insurance Information Platform will feedback the electronic certificate status information to the provincial medical insurance information platform where the user participates in the insurance. If the user participates in insurance in multiple places, the electronic certificate status information will be fed back to the provincial medical insurance information platform where the user participates in insurance. 1.3 business flow chart

1.4 Electronic medical insurance certificate process
1.4.1 Product prototype

1.4.2 Real-name authentication
face nucleus (authoritative library) refers to comparing identity information and face features with information related to authoritative library sources during the face nucleus process;
face nucleus (autobiographical photo) refers to comparing identity information and face features with information related to customer's own library sources during the face nucleus process; For the access party, it is the difference between having a data source and no data source. If the access party does not have a data source, it chooses to use the authoritative library. If there is a data source, it can choose to use the autobiographical photo mode
generally connects with mature third parties, such as Alibaba , Tencent , Baidu .
1.4.3 Electronic Certificate Business Activation
Electronic Certificate Activation Business Process Description:
- User submits identity information through the official channel of the National Medical Insurance Bureau or a third-party channel authorized by the National Medical Insurance Bureau. The middle platform of the National Electronic Certificate Business first conducts real-name authentication. After the real-name authentication is passed, biometric recognition technology is used for real-person authentication. After the real-person authentication is passed, enters the password setting process. If the real-name/real-person authentication is not passed, an error will be reported.
- users enter the electronic certificate password on the password setting page according to the prompts and submit it to the National Medical Insurance Information Platform. The national electronic certificate business middle platform verifies the validity of the password and stores it. When
- users set electronic credential passwords, if they operate through third-party channels certified and authorized by the National Medical Insurance Administration, they need to call the dedicated page provided by the National Medical Insurance Information Platform.
- National Electronic Certificate Business Middle Station activates electronic certificates and generates personal channel authorization codes, returns personal channel authorization code information to the current channel and synchronizes to the provincial electronic certificate business middle station to the place where the user participates in the insurance and the provincial electronic certificate business middle station to the current business execution place. If the user participates in insurance in multiple places, the personal channel authorization code information will be fed back to the provincial medical insurance information platform to which the user participates in insurance.
- Current channel receives personal channel authorization code information
1.4.4 Electronic credential business activation flowchart

1.4.5 Electronic credential authorization
Electronic credential authorization business process description:- Third-party channel calls the dedicated page provided by the National Medical Insurance Information Platform, and the user authorizes the current channel to use personal electronic credentials according to the prompts:
- National electronic credential business middle platform generates personal channel authorization code and returns to the current channel and synchronizes to the provincial electronic credential business middle platform to which the user participates in the insurance. If the user participates in insurance in multiple places, the personal channel authorization code information will be fed back to the provincial medical insurance information platform to which the user participates in insurance.
- currently receives personal channel authorization code information, and the provincial electronic certificate business middle platform saves personal channel authorization code.
- Third-party channels should ensure that users are practical operations, otherwise they should bear relevant responsibilities.
1.4.6 Electronic certificate business authorization flow chart

2. Medical insurance payment
provides the WeChat public account with the ability to pay online medical insurance
2.1 Patient end h5 registration flow chart (h5 end)

2.1 Patient end h5 registration prototype


Medical insurance mobile payment
Insured person can open the WeChat public account in advance before visiting the doctor, bind the medical insurance electronic certificate, select the outpatient clinic and doctor according to the prompts, and then register. When paying, choose medical insurance payment. If you have completed the medical insurance electronic certificate authorization and certification, you can pay with one click, and then you can go directly to the clinic area to wait for the hospital. If the medical insurance has not been completed, the medical insurance electronic certificate authorization and certification will be carried out. After the certification is completed, the mobile medical insurance payment can be used.
This article was originally published by @未分类 on everyone is a product manager. Reproduction of
without permission is prohibited. The title image from Unsplash is from Unsplash. Based on the CC0 protocol
, the views of this article only represent the author himself. 人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人