Integration with Italian CNS smart card for personal data autofill

Registered by Daniele Napolitano

The Italian national health service has developed the use of a smart card for access to health services, this card, compatible with the more generic CNS (Carta Nazionale dei Servizi) contains personal data of the citizen. The aim of this blueprint is the creation of a plugin that read smart card for auto fill the fields in the add patient window.

Technicals details:
The plugin will be based on python-pykcs11 module (http://www.bit4id.org/trac/pykcs11). The pkcs11 library (required for reading) will be that provided by OpenSC. On the hardware side, the smart card reader will be one of PC/SC supported readers by pcsclite (or OpenCT).

Italian CNS info: http://www.opensc-project.org/opensc/wiki/ItalianCNS

Blueprint information

Status:
Started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
Daniele Napolitano
Definition:
Approved
Series goal:
None
Implementation:
Good progress
Milestone target:
None
Started by
Daniele Napolitano

Whiteboard

(?)

Work Items

Work items:
Read personal data from the Italian TS-CNS by OpenSC pkcs11 interface: DONE
Wait for smart card (if not inserted) when the patient editor is showed: DONE
Show data progress into the GUI (about ~5 sec): TODO
More comprensive error messages: TODO

This blueprint contains Public information 
Everyone can see this information.