🔥 HAPI FHIR - Java API for HL7 FHIR Clients and Servers
Go to file
Aditya Dave ce0160e7f9
cds hooks allow arbitrary strings for extensions (#6026)
* changes to context booter and basecdsservicejson

* cleanup CdsHooksContextBooter

* javadocs

* change JsonNode to CdsHooksExtension

* failing test for service extensions...

* fix extension serialization

* fix extension serialization

* failing test for request extensions not getting parsed...

* try adding a custom deserializer for extension

* try adding a custom deserializer for extension

* try adding a custom deserializer for extension

* wire up CdsServiceRegistryImpl

* fix wiring object mapper

* merge master

* get hook in deserializer

* create CdsServiceRequestJsonDeserializer..

* spotless

* fix for cds service feedback for  CdsHooksControllerTest.java

* spotless

* cleanup...

* spotless...

* docs

* enable tests for CdsHooksContextBooterTest

* more cleanup...

* refactor CdsServiceRequestJsonDeserializer

* apply suggestion

* spotless....

* fix checkstyle...

* spotless

* split custom extension classes into its own package for tests

* add changelog

* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/7_4_0/6023-fix-allowing-arbitrary-json-for-cds-hooks-extensions.yaml

Co-authored-by: Ken Stevens <khstevens@gmail.com>

* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/7_4_0/6023-fix-allowing-arbitrary-json-for-cds-hooks-extensions.yaml

Co-authored-by: Ken Stevens <khstevens@gmail.com>

* Update hapi-fhir-server-cds-hooks/src/main/java/ca/uhn/hapi/fhir/cdshooks/api/json/CdsHooksExtension.java

Co-authored-by: Ken Stevens <khstevens@gmail.com>

* fix comments

* rename

* fix the comment

* spotless

* version bump to 7.3.9-SNAPSHOT

---------

Co-authored-by: Ken Stevens <khstevens@gmail.com>
2024-07-09 09:45:21 -04:00
.github Fix publish pipeline (#5613) 2024-01-19 23:23:26 +00:00
.mvn/wrapper Jakarta/Javax Servlet Migration (#5429) 2023-12-03 11:15:37 -05:00
.mvn_/wrapper Bump core to latest versions (#2154) 2020-11-03 15:43:37 -05:00
hapi-deployable-pom cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-android cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-android-realm Work on JPA 2017-02-02 06:23:28 -05:00
hapi-fhir-base cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-bom cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-checkstyle cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-cli cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-client cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-client-okhttp cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-converter cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-dist cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-docs cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-jacoco cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-jaxrsserver-base cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-jpa cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-jpaserver-base cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-jpaserver-elastic-test-utilities cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-jpaserver-hfql cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-jpaserver-ips cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-jpaserver-mdm cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-jpaserver-model cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-jpaserver-searchparam cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-jpaserver-subscription cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-jpaserver-test-dstu2 cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-jpaserver-test-dstu3 cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-jpaserver-test-r4 cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-jpaserver-test-r4b cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-jpaserver-test-r5 cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-jpaserver-test-utilities cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-jpaserver-uhnfhirtest cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-server cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-server-cds-hooks cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-server-mdm cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-server-openapi cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-serviceloaders cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-spring-boot cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-sql-migrate cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-storage cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-storage-batch2 cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-storage-batch2-jobs cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-storage-batch2-test-utilities cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-storage-cr cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-storage-mdm cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-storage-test-utilities cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-structures-dstu2 cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-structures-dstu2.1 cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-structures-dstu3 cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-structures-hl7org-dstu2 cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-structures-r4 cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-structures-r4b cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-structures-r5 cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-test-utilities cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-testpage-overlay cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-validation cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-validation-resources-dstu2 cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-validation-resources-dstu2.1 cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-validation-resources-dstu3 cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-validation-resources-r4 cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-validation-resources-r4b cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-fhir-validation-resources-r5 cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-tinder-plugin cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
hapi-tinder-test cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
osgi Final hamcrest conversions (#6015) 2024-06-18 20:46:09 +00:00
src/assembly Checkstyle cleanup (#4501) 2023-02-03 09:40:32 -05:00
tests cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
vagrant Bump dependencies for CVES (#3359) 2022-02-07 07:56:25 -05:00
.editorconfig IPS API Refactor (#5682) 2024-02-11 10:43:56 -05:00
.gitignore nickname svc refatoring (#5006) 2023-06-22 08:26:47 -04:00
.pre-commit-config.yaml Update pre-commit from 0.3.3 to 0..3.4. (#5537) 2023-12-06 00:52:53 +00:00
.whitesource Add .whitesource configuration file 2021-04-29 13:42:31 +00:00
HELPWANTED.md New formatting rules and pre-commit hooks (#5027) 2023-07-11 17:36:44 -07:00
LICENSE.txt Add license and notice files 2015-03-25 22:32:32 -04:00
LOINC_NOTES.txt More work on loinc 2018-03-19 08:51:02 -04:00
NOTICE.txt Add license and notice files 2015-03-25 22:32:32 -04:00
README.md New formatting rules and pre-commit hooks (#5027) 2023-07-11 17:36:44 -07:00
azure-pipelines.yml Initial HFQL SQL Implementation (#5083) 2023-07-21 22:51:23 +00:00
check_for_maven_updates.sh Fix up examples 2014-09-03 18:03:44 -04:00
lgtm.yml code coverage needs to run only for JACOCO PROFILE (#4230) 2022-11-02 15:34:27 -04:00
list_releases.sh Implement handleException on the server interceptor framework, as well 2014-11-07 14:26:59 -05:00
mvnw Update and fix maven wrapper (#2847) 2021-11-03 11:21:49 -04:00
mvnw.cmd Update and fix maven wrapper (#2847) 2021-11-03 11:21:49 -04:00
pom.xml cds hooks allow arbitrary strings for extensions (#6026) 2024-07-09 09:45:21 -04:00
release-pipeline.yml Rel 7 0 mb 2 (#5714) 2024-02-23 11:03:26 -07:00
snapshot-pipeline.yml Fix publish pipeline (#5613) 2024-01-19 23:23:26 +00:00
sync.sh Update resource defs 2015-12-01 18:35:24 -05:00
sync_dstu3.sh Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-07-01 14:31:25 -04:00
sync_ri.sh Bump to 1.0.2 FHIR definitions 2015-11-15 12:22:56 -05:00
sync_ri3.fish Bring DSTU3 structs up to FHIR R3 2017-04-18 07:48:38 -04:00
sync_ri3.sh Syn RI - Build still failing :( 2016-05-28 12:53:59 -04:00
sync_ri4.sh Squashed commit of the following: 2018-12-27 17:58:47 -05:00
sync_ri5.sh Bump core to latest versions (#2154) 2020-11-03 15:43:37 -05:00
sync_ri21.sh Update model and definitions to latest definitions 2016-01-30 11:08:16 -05:00
test-job-template.yml Add tests to checkstyle (#6006) 2024-06-15 17:15:46 -07:00
update_version.sh Force another travis build 2015-08-05 10:38:38 -04:00

README.md

HAPI FHIR

HAPI FHIR - Java API for HL7 FHIR Clients and Servers

License

CI/CD

CI Status (master) SNAPSHOT Pipeline Current Release
Build Status Build Status Release Artifacts

Coverage and Quality

codecov Language grade: Java

Documentation and wiki

Complete project documentation is available here: http://hapifhir.io

A demonstration of this project is available here: http://hapi.fhir.org/

This project is Open Source, licensed under the Apache Software License 2.0.

Please see this wiki page for information on where to get help with HAPI FHIR.

Please see Smile CDR for information on commercial support.