ubavic/bas-celik

Greska pri čitanju zdravstvene kartice: pogrešan datum osiguranja

mujic19 opened this issue · 5 comments

Čita isključivo prvo osiguranje sa kartice, odnosno prvu overu zdravstvene kartice. Iako je osiguranje ponovo overeno, ne prikazuje taj datum.
Testirano sa četiri zdravstvene kartice, na Arch Linux sistemu, verzija baš-čelika v1.5.4

Pozdrav, i hvala na javljanju.

Koliko se sećam, prilikom ponovne overe knjižice, podaci o osiguranju se ne menjaju na knjižici. Umesto toga, zvanična aplikacija preuzima te podatke sa RFZO portala. Mada nisam sad 100% siguran, proveriću uskoro još jednom sa sopstvenom karticom.

Ako želiš, mogu te uputiti kako možeš da proveriš sve podatke na kartici (i time da potvrdiš da je ovo zaista bug sa baš čelik aplikacijom).

Potvrđujem ovo. Datum do kojeg je overena kartica (trajno overena: ne) je vidliv isti koji i datum izdavanja kartice.
Baš Čelik 1.6.0-cli, Debian.

Uputstvo za ručno :) čitanje podataka bi vredilo.

Thanks for confirming.

The problem is that RFZO is not modifying data on the card. In their official app, they are pulling information about insurance from the web service. That is why they don't put correct data in the first place.

Even if I could probably add that feature to the Bas Celik, I don't want to do that (for various reasons, including the fact that I want to write any code that can communicate with servers).

But both of you are right, and there should be information in the README and in the app about this.

Uputstvo za ručno :) čitanje podataka bi vredilo.

Sorry, I didn't understand this? How would you like to read data? You can already export all data as JSON with command line option --json.

Uputstvo za ručno :) čitanje podataka bi vredilo.

Sorry, I didn't understand this?

Sorry. I mean, if there is a method of reading of raw data from the cards (of which I am not quite sure), that would be great. You've told "mogu te uputiti kako možeš da proveriš sve podatke na kartici", so I thought it is possible.

With the commit ea52211c this should be resolved. Users can now choose to update 'Valid Until' date when they insert medical card, using public API. Also, a note is added to the interface.

You can test now this feature if you pull the code and build it yourself. With the next release it will be available for download.

Feel free to reopen this issue if you encounter any problems