Skip to content

This service provides information for hospital location data. For any valid IK-Number it provides a list of allowed/registered/known hospitals and the addresses of those.

License

Notifications You must be signed in to change notification settings

gematik/DEMIS-hospital-location-service


Hospital-Location-Service

Table of Contents
  1. About The Project
  2. Getting Started
  3. Endpoints
  4. Data origin
  5. Usage
  6. Cucumber Integrationtests
  7. Security Policy
  8. Contributing
  9. License
  10. Contact

About the Project

This service provides information for hospital location data. For any valid IK-Number it provides a list of allowed/registered/known hospitals and the addresses of those.

Quality Gate

Quality Gate Status|Vulnerabilities|Bugs|Code Smells|Lines of Code|Coverage

Quality gate

Release Notes

See ReleaseNotes for all information regarding the (newest) releases.

Getting Started

Test

Hint:
the test-locations.json contains specific test data.
The test locations belong to the ik numbers 987654321 & 098765432.

mvn clean verify

Docker

build image with

docker build -t hospital-location-service:latest .

the image can alternatively also be built with maven:

mvn clean install -Pdocker

run image as container docker run -p 8083:8083 -dt --name hls-container hospital-location-service:latest

Local

in IntelliJ as SpringBoot Application image

Endpoints

/status get Endpunkt für Statusmeldung (aktuell minimal implementiert)

/hospital-locations?ik= Get Endpunkt für die Abfrage von Krankhausstandorten

/actuator/health/ Standardenpunkt vom Actuator

/actuator/health/liveness Standardenpunkt vom Actuator

/actuator/health/readiness Standardenpunkt vom Actuator

Data origin

Usualy the origin of the InEK data is https://krankenhausstandorte.de/xml/latest.

This file is currently stored in src/main/resources and it must be registered in the src/main/resources/application.properties file.

Usage

Intellij/cmd

Start the spring boot server with: mvn clean spring-boot:run Check the server with: curl -v localhost:8082/status

Cucumber Integrationtests

Execute with 'mvn verify' or in Intellij with start button Report will be generated and saved under target/cucumber

Security Policy

If you want to see the security policy, please check our SECURITY.md.

Contributing

If you want to contribute, please check our CONTRIBUTING.md.

License

Copyright 2023-2025 gematik GmbH

EUROPEAN UNION PUBLIC LICENCE v. 1.2

EUPL © the European Union 2007, 2016

See the LICENSE for the specific language governing permissions and limitations under the License

Additional Notes and Disclaimer from gematik GmbH

  1. Copyright notice: Each published work result is accompanied by an explicit statement of the license conditions for use. These are regularly typical conditions in connection with open source or free software. Programs described/provided/linked here are free software, unless otherwise stated.
  2. Permission notice: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
    1. The copyright notice (Item 1) and the permission notice (Item 2) shall be included in all copies or substantial portions of the Software.
    2. The software is provided "as is" without warranty of any kind, either express or implied, including, but not limited to, the warranties of fitness for a particular purpose, merchantability, and/or non-infringement. The authors or copyright holders shall not be liable in any manner whatsoever for any damages or other claims arising from, out of or in connection with the software or the use or other dealings with the software, whether in an action of contract, tort, or otherwise.
    3. We take open source license compliance very seriously. We are always striving to achieve compliance at all times and to improve our processes. If you find any issues or have any suggestions or comments, or if you see any other ways in which we can improve, please reach out to: ospo@gematik.de
  3. Please note: Parts of this code may have been generated using AI-supported technology. Please take this into account, especially when troubleshooting, for security analyses and possible adjustments.

Contact

E-Mail to DEMIS Entwicklung

About

This service provides information for hospital location data. For any valid IK-Number it provides a list of allowed/registered/known hospitals and the addresses of those.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages