# Swiss health insurance card

Add Health Insurance Card to a workflow to have the person photograph their Swiss health insurance card (Krankenversicherungskarte KVG), front and back. It is a supporting document: it never replaces the identity document and never counts for the FINMA profile or an age check. With Identity Document in the workflow the card is read once the document has passed and compared with it; on its own it shows that the person holds a valid card, not who they are. Fields are read at the positions the federal ordinance fixes for every card (VVK-EDI Anhang 4), and the back is read as the European Health Insurance Card. A card photographed the other way round is read the right way round.

| Check | Reason code | Default |
| --- | --- | --- |
| Card number: 20 digits starting with 80756 | `HEALTH_CARD_NUMBER_INVALID` | Decline (or review) |
| BAG number: a basic health insurer in the BAG register of approved insurers | `HEALTH_CARD_INSURER_UNKNOWN` | Decline (or review) |
| Expiry date has not passed | `HEALTH_CARD_EXPIRED` | Decline (or review) |
| Name and birth date match the identity document | `HEALTH_CARD_HOLDER_MISMATCH` | Decline (or review) |
| Front and European card side agree | `HEALTH_CARD_SIDES_DIFFER` | Review |
| Document tamper check on both photos | `HEALTH_CARD_TAMPER_SUSPECTED` | Review |
| A field or the card could not be read, not a Swiss health insurance card, invalid AHV number, register or tamper check unavailable, no answer in time | `HEALTH_CARD_REVIEW` | Review |

The card carries the holder's AHV number. By default it is blacked out in the stored photos and never returned, stored or logged. secuveri can enable AHV number access for an organization that has a legal basis to process it (AHVG Art. 153b ff.), on request and with that basis recorded; organizations cannot enable it themselves. With access, the number is validated (756 and its check digit), kept encrypted for the retention the organization chooses (1 to 365 days, 30 by default), shown only to that organization's reviewers in the dashboard, and every view is logged. It is never used to match, deduplicate or look up anything. The signed result carries `health_insurance_card` with the state, findings, checks and the insurer, never the name, birth date, card number or AHV number. Charged like a proof of address where the card was read; refunded when no card was uploaded or it could not be read.
