Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mujic19 opened this issue May 5, 2024 · 5 comments
Closed
Labels
documentation Improvements or additions to documentation

Comments

@mujic19
Copy link

mujic19 commented May 5, 2024

Č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

@ubavic
Copy link
Owner

ubavic commented May 5, 2024

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).

@X3KT0
Copy link

X3KT0 commented May 10, 2024

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.

@ubavic
Copy link
Owner

ubavic commented May 10, 2024

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.

@ubavic ubavic added the documentation Improvements or additions to documentation label May 10, 2024
@X3KT0
Copy link

X3KT0 commented May 10, 2024

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.

@ubavic
Copy link
Owner

ubavic commented Jun 15, 2024

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

@ubavic ubavic closed this as completed Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants