{"id":42866975,"url":"https://github.com/informatici/openhospital-gui","last_synced_at":"2026-01-30T12:49:31.848Z","repository":{"id":36951309,"uuid":"167329221","full_name":"informatici/openhospital-gui","owner":"informatici","description":"Open Hospital GUI (Java Swing) component","archived":false,"fork":false,"pushed_at":"2026-01-27T19:09:51.000Z","size":132638,"stargazers_count":48,"open_issues_count":3,"forks_count":88,"subscribers_count":6,"default_branch":"develop","last_synced_at":"2026-01-28T06:03:38.682Z","etag":null,"topics":["healthcare","java","openhospital","swing-gui"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/informatici.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-01-24T08:13:56.000Z","updated_at":"2026-01-27T19:08:46.000Z","dependencies_parsed_at":"2023-10-13T12:00:30.394Z","dependency_job_id":"a5f5d01c-02f3-4b29-a027-6b6c1cdb468b","html_url":"https://github.com/informatici/openhospital-gui","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/informatici/openhospital-gui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/informatici%2Fopenhospital-gui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/informatici%2Fopenhospital-gui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/informatici%2Fopenhospital-gui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/informatici%2Fopenhospital-gui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/informatici","download_url":"https://codeload.github.com/informatici/openhospital-gui/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/informatici%2Fopenhospital-gui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28912929,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T12:13:43.263Z","status":"ssl_error","status_checked_at":"2026-01-30T12:13:22.389Z","response_time":66,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["healthcare","java","openhospital","swing-gui"],"created_at":"2026-01-30T12:49:29.837Z","updated_at":"2026-01-30T12:49:31.831Z","avatar_url":"https://github.com/informatici.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Open Hospital - GUI\n[![Java CI](https://github.com/informatici/openhospital-gui/workflows/Java%20CI%20with%20Maven/badge.svg)](https://github.com/informatici/openhospital-gui/actions?query=workflow%3A%22Java+CI+with+Maven%22)\n\nThis is the GUI component of [Open Hospital][openhospital]: it contains a graphical user interface (GUI) made with Java Swing. \nThis project depends on the [Core component][openhospital-core] for the business logic and the data abstraction layer. \nAn alternative user interface based on React and currently still work-in-progress is available [here][openhospital-ui].\n\n## How to build\n\nTo build this project you'll need Java JDK 17+ and Maven (or using the provided Maven Wrapper `mvnw`)\nAdditionally, you'll need to build and install locally the [Core component][openhospital-core] of Open Hospital.\nOnce you do that, to build this project just issue:\n\n  mvn package\n  \nTo run the tests simply issue:\n\n  mvn test\n  \n## How to launch Open Hospital\n\nTo launch Open Hospital GUI, use the scripts `oh.sh` (on Linux) or `oh.bat` (on Windows) from the maven `target` folder.\nYou will need a MySQL database running locally (e.g. the Docker container available in the Core project),\nor any similar SQL database (e.g. MariaDB).\n\n### Launch within IDE\n\nBe sure to have configured properly the classpath for the project (see [5 Installing Open Hospital 1.14.2 in Eclipse EE](https://github.com/informatici/openhospital-doc/blob/develop/doc_admin/AdminManual.adoc#5-installing-open-hospital-1-14-2-in-eclipse-ee))\n\nBefore running the application, you should generate the config files with the `g)` option, or manually copying and renaming the files `*.dist` files in `rsc/` folder and edit them accordingly:\n\n| Dist file                     | Property file            | Properties to fill in                                         |\n|-------------------------------|--------------------------|---------------------------------------------------------------|\n| database.properties.dist      | database.properties      | DBSERVER, DBPORT, DBNAME, DBUSER, DBPASS                      |\n| dicom.properties.dist         | dicom.properties         | OH_PATH_SUBSTITUTE/DICOM_DIR, DICOM_SIZE                      |\n| log4j2-spring.properties.dist | log4j2-spring.properties | LOG_DEST, DBSERVER, DBPORT, DBNAME, DBUSER, DBPASS, LOG_LEVEL |\n| settings.properties.dist      | settings.properties      | OH_LANGUAGE,(SINGLEUSER=)YES_OR_NO, PHOTO_DIR, OH_DOC_DIR     |\n\n*For further information, please refer to the Admin and User manuals in the [Doc project][openhospital-doc].*\n\n## How to contribute\n\nYou can find the contribution guidelines in the [Open Hospital wiki][contribution-guide]. \nA list of open issues is available on [Jira][jira].\n\n## Community\n\nYou can reach out to the community of contributors by joining \nour [Slack workspace][slack] or by subscribing to our [mailing list][ml].\n\n## Code style\n\nThis project uses a consistent code style and provides definitions for use in both IntelliJ and Eclipse IDEs.\n\n\u003cdetails\u003e\u003csummary\u003eIntelliJ IDEA instructions\u003c/summary\u003e\n\nFor IntelliJ IDEA the process for importing the code style is:\n\n* Select *Settings* in the *File* menu\n* Select *Editor*\n* Select *Code Style*\n* Expand the menu item and select *Java*\n* Go to *Scheme* at the top, click on the setting button by the side of the drop-down list\n* Select *Import Scheme*\n* Select *IntelliJ IDE code style XML*\n* Navigate to the location of the file which relative to the project root is: `.ide-settings/idea/OpenHospital-code-style-configuration.xml`\n* Select *OK* \n* At this point the code style is stored as part of the IDE and is used for **all** projects opened in the editor. To restrict the settings to just this project again select the setting button by the side of the *Scheme* list and select *Copy to Project...*. If successful a notice appears in the window that reads: *For current project*.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eEclipse instructions\u003c/summary\u003e\n\nFor Eclipse the process requires loading the formatting style and the import order separately.\n\n* Select *Preferences* in the *Window* menu\n* Select *Java*\n* Select *Code Style* and expand the menu\n* Select *Formatter*\n* Select the *Import...* button\n* Navigate to the location of the file which relative to the project root is: `.ide-settings/eclipse/OpenHospital-Java-CodeStyle-Formatter.xml`\n* Select *Open*\n* At this point the code style is stored and is applicable to all projects opened in the IDE. To restrict the settings just to this project select *Configure Project Specific Settings...* in the upper right. In the next dialog select the *openhospital* repository and select *OK*. In the next dialog select the *Enable project specific settings* checkbox. Finally select *Apply and Close*.\n* Back in the *Code Style* menu area, select *Organize Imports*\n* Select *Import...*\n* Navigate to the location of the file which relative to the project root is: `.ide-settings/eclipse/OpenHospital.importorder`\n* Select *Open*\n* As with the formatting styles the import order is applicable to all projects. In order to change it just for this project repeat the same steps as above for *Configure Project Specific Settings...*\n \n\u003c/details\u003e \n\n [openhospital]: https://www.open-hospital.org/\n [openhospital-core]: https://github.com/informatici/openhospital-core\n [openhospital-ui]: https://github.com/informatici/openhospital-ui\n [openhospital-doc]: https://github.com/informatici/openhospital-doc\n [contribution-guide]: https://openhospital.atlassian.net/wiki/display/OH/Contribution+Guidelines\n [jira]: https://openhospital.atlassian.net/jira/software/c/projects/OP/issues/\n [database.prop]: https://github.com/informatici/openhospital-core/blob/develop/src/test/resources/database.properties\n [slack]: https://join.slack.com/t/openhospitalworkspace/shared_invite/enQtOTc1Nzc0MzE2NjQ0LWIyMzRlZTU5NmNlMjE2MDcwM2FhMjRkNmM4YzI0MTAzYTA0YTI3NjZiOTVhMDZlNWUwNWEzMjE5ZDgzNWQ1YzE\n [ml]: https://sourceforge.net/projects/openhospital/lists/openhospital-devel\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finformatici%2Fopenhospital-gui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finformatici%2Fopenhospital-gui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finformatici%2Fopenhospital-gui/lists"}