This viewer application can be used to find patient data and also provides an address book to find organization information. This app is part of the 'Generieke Functies, lokalisatie en addressering' project of the Ministry of Health, Welfare and Sport of the Dutch government.
This project and all associated code serve solely as documentation and demonstration purposes to illustrate potential system communication patterns and architectures.
This codebase:
- Is NOT intended for production use
- Does NOT represent a final specification
- Should NOT be considered feature-complete or secure
- May contain errors, omissions, or oversimplified implementations
- Has NOT been tested or hardened for real-world scenarios
The code examples are only meant to help understand concepts and demonstrate possibilities.
By using or referencing this code, you acknowledge that you do so at your own risk and that the authors assume no liability for any consequences of its use.
Requirements:
- php(>=8.3.0)
- composer(>=2.2)
- npm(>=10.8.2) + node(>=20)
Run the following commands to run this application in docker using sail.
make setup
make runAfter this you can access the application at http://localhost:8500.
It's possible to do a standalone run of the application using docker. This docker container will have the laravel application running on an nginx webserver running on port 80.
Note that you would either set environment variables (see .env.example), or mount your .env during docker run.
Make sure you build the frontend assets locally first:
# Build assets
npm run build
# Build docker image
make container-build
# Run container
docker run -ti --rm -p 8500:80 \
--mount type=bind,source=./.env,target=/var/www/html/.env \
gfmodules-viewer-web:latestAfter this you can access the application at http://localhost:8500.
As stated in the Disclaimer this project and all associated code serve solely as documentation and demonstration purposes to illustrate potential system communication patterns and architectures.
For that reason we will only accept contributions that fit this goal. We do appreciate any effort from the community, but because our time is limited it is possible that your PR or issue is closed without a full justification.
If you plan to make non-trivial changes, we recommend to open an issue beforehand where we can discuss your planned changes. This increases the chance that we might be able to use your contribution (or it avoids doing work if there are reasons why we wouldn't be able to use it).
Note that all commits should be signed using a gpg key.