Skip to main content

๐Ÿ’‰ GfddppGui

What is GfddppGui ?โ€‹

It is a tool developped by Farmaflux to register / update data for a given patient delivered medication history. More info about it on https://www.farmaflux.be/

Prerequisitesโ€‹

Stepsโ€‹

Setupโ€‹

  1. Go to https://ftp.apb.be/ and login (username: anonymous, no password)
  2. Go inside the SDK folder
  3. Go inside the folder of a recent version of the SDK (Recommended : MBC-4.1)
  4. Download the zip file you find in the folder, such as Executor MBC-4.1.zip
  5. Copy your two certificats from eHealth folder (e.g C:/Users/jy/ehealth/keystore) to SDK/conf/p12/acc folder :
  • The certificat of a pharmacy you are known as holder (e.g. NIHII-PHARMACY=80000551 20240208-103514.acc-p12)
  • Your personal certificat (e.g. SSIN=12345678901 20240208-101310.acc-p12)
  1. Update or create following properties of SDK/conf/connector-client.properties file :
# STS HAS CHANGED in november 2023
endpoint.sts=https://services-acpt.ehealth.fgov.be/IAM/SecurityTokenService/v1
service.sts.class=be.ehealth.technicalconnector.service.sts.impl.STSServiceWsTrustImpl
default.rsa.digest.method.algorithm=http://www.w3.org/2001/04/xmlenc#sha256
default.rsa.signature.method.algorithm=http://www.w3.org/2001/04/xmldsig-more#rsa-sha256

# password of your keystores, prefer to have the same password for easiness ...
# Pharmacy keystore password
KEYSTORE_PASSWORD=YOUR_PASSWORD_HERE
# Personnal keystore password
user.password=YOUR_PASSWORD_HERE

# Information about user, pharmacy-holder and pharmacy (SSIN and NIHII-numbers) used in the SAML attributes
user.firstname=John
user.lastname=Doe
user.inss=12345678901

# The nihii number of your pharmacist profile
# Go to https://webapps-v.riziv-inami.fgov.be/ to see it
user.nihii=YOUR_PHARMACIST_NIHII_HERE

# Information about your pharmacy
# For the pharmacy holder, usually in ACC, it is the same person, which makes it simple
pharmacy.name=YOUR_PHARMACY_NAME_HERE
pharmacy.nihii=YOUR_PHARMACY_NIHII_HERE
pharmacy-holder.nihii=YOUR_PHARMACIST_HOLDER_NIHII_HERE
pharmacy-holder.ssin=12345678901
pharmacy-holder.firstname=John
pharmacy-holder.lastname=Doe

# The keystores file names
sessionmanager.holderofkey.keystore=NIHII-PHARMACY=80000551 20240208-103514.acc-p12
sessionmanager.encryption.keystore=NIHII-PHARMACY=80000551 20240208-103514.acc-p12
sessionmanager.identification.keystore=SSIN=12345678901 20240208-101310.acc-p12
  1. Run SDK/examples/gui/setupGfddp.bat so that gui is set up

Usageโ€‹

  • Run SDK/examples/gui/startGfddppGui.bat to start the gui
  • Create a session
    • In General tab, click on Create Fallback session
    • Click on Login (leave fields blank as normally already setup thanks to connector-client.properties file)
    • Wait until you get an answer (SOAP calls takes time ...)
    • If it is successful, you will have something in SAML token textarea
  • Do any of the following actions :
  1. Ask patient to enable consent & have a therapeutic relation with your pharmacy
  1. Enable contractering link between your patient and the pharmacy
  • In GFDDPP tab, click on Questionnaire section (use arrows on the right to see it)
  • Update patient request ssin / names / familyName / birthDate / gender fields with the data of your own patient such as :
   {
"ssin": "12345678901",
"names": [
"John"
],
"familyName": "Done",
"birthDate": "1972-08-10",
"gender": "MALE",
"mobileNumber":"0498988877",
"address": {
"streetAndNumber": "Streuvelstraat (Stijn) 4",
"zip": "1800",
"municipality": "Vilvoorde"
},
"requireSignature": null,
"requireConsent": null,
"requireTherapeuticLink": null
}
  1. Click on btnGetAvailableAdminTypeQuestionn and wait for answer
  2. Input contracting (instead of covid19test) in QuestionnaireType field
  3. Click on btnGetLaunchUrl and wait for answer
  4. Copy the launchurl property you get from JSON response (e.g. https://acc-tip.gfd-dpp.be/be-apb-gfddpp-services-Pharm-app/launch.html?iss=https://acc-tip.gfd-dpp.be/be-apb-gfddpp-services-TIPFHIR/fhir&launch=ea14fe04-d9b1-4387-a420-1475004f7556&sublaunch=contracting&ehr=https://acc-tip.gfd-dpp.be/be-apb-gfddpp-services-EHR/ehr&nocache=1 )
  5. Open this link in your browser
  6. Enable or extend the validity of two specific things you will see on this website :
  • Verwerkersovereenkomst
  • Gedeeld Farmaceutisch Dossier (GFD)
  1. If both operation are successful, you are ready to manipulate data in FarmaFlux
tip

Common reasons if you have issues :

  • Your VPN might block calls to PCDH
  • At least one of your eHealth certificates is expired
  • Mistake(s) in your SDK/conf/connector-client.properties file
  • XML files that doesn't respect PCDH rules
  • If SDK auto-retry feature doesn't work (after 5 minutes), close tool, delete everything in SDK/conf/msg_queue folder and resend all your messages
  • ...