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

Import Erezept to generikacc App #53

Open
zdavatz opened this issue Nov 15, 2024 · 0 comments
Open

Import Erezept to generikacc App #53

zdavatz opened this issue Nov 15, 2024 · 0 comments

Comments

@zdavatz
Copy link
Owner

zdavatz commented Nov 15, 2024

  1. User scans the Erzept.
  2. Verify Erezept https://developers.e-rezept.ch/erezept/dirdis.html#verifikation
  3. If the Erzept is valid add a green Checkbox.
  4. Save Erzept to Rezepte Tab in the Generikacc App.
  5. In den PFields (private Fields) kann geschrieben werden, was man will. Das muss kein System interpretieren können. Solange die PFields nicht missbräuchlich eingesetzt werden, schreiten wir nicht ein.
  6. Die CLI wird so gestartet:
ENABLE_EPRESCRIPTION=true ./certifaction server    --api https://api.certifaction.io/         --hin-api https://oauth2.sign.hin.ch/api

Verify ePrescription:
curl --location 'http://localhost:8082/ePrescription/verify' \
--header 'Content-Type: text/plain' \
--data @'/Users/matgol2/signierter_und_gezippter_datensatz.txt'

Full Dispense
curl --location -X POST 'http://localhost:8082/ePrescription/dispense/02EE9DF4-FA95-KSA1-A4A0-57298589A2A4' \
--header 'Authorization: Bearer acs:$Jn4iaA6vpHzpT9=U%ynEpF*Kdwa42i86iqk7HBa' \
--header 'Content-Type: application/json'

Partial Dispense
curl --location -X POST 'http://localhost:8082/ePrescription/dispense/02EE9DF4-FA95-KSA1-A4A0-57298589A2A4' \
--header 'Authorization: Bearer acs:$Jn4iaA6vpHzpT9=U%ynEpF*Kdwa42i86iqk7HBa' \
--header 'Content-Type: application/json' \
--data '[{"Id":"2333266", "Substitute":"2555546", "Substitute_type_id":2, "Amount":1}]'
  1. Das Schema ist hier abgelegt:
    https://developers.e-rezept.ch/erezept/downloads.html
  2. Im aktuellen schemaV4.json werden die Einnahmezeiten noch zwingend verlangt, das werde ich in den nächsten Tagen korrigieren und Version 5 emporladen.
  3. Add option to send Erezept to ZurRose.
  4. Convert CHMED16A1 to ZurRose XML.
  5. Rezept_WebService_Rose_Anleitung.pdf
  6. Prescription has to be sent to: https://estudio.zur-rose.ch/estudio/prescriptioncert
  7. Once prescription has been sent, it can not be resent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant