Commit Graph

651 Commits

Author SHA1 Message Date
jamesagnew 96d6fa1b8a Work on terminology services 2016-03-15 10:03:22 -04:00
James Agnew 00ced6a652 Improve performance of _lastUpdated queries in JPA server 2016-03-14 06:31:45 -04:00
James Agnew 6ddf91d9e2 Correctly handle extended operation in annotation based client where the
response is a raw resource and not a Parameters resource
2016-03-12 15:10:02 -05:00
James Agnew ce253bed70 Properly deserialize bound codes 2016-03-12 13:23:55 -05:00
jamesagnew 232afee955 Improved error messages for #305 2016-03-11 07:56:00 -05:00
jamesagnew ed92f64e52 Fix #305 - Don't allow update resource body IDs to be missing or incorrect 2016-03-10 07:44:05 -05:00
jamesagnew 990ef16f78 Adding a test 2016-03-10 06:56:51 -05:00
jamesagnew 3897167518 Return correct bundle type on $everything operation 2016-03-09 23:11:40 -05:00
James Agnew 6f79f6c5e2 Keep the complete resource history in the history table, including the
current version
2016-03-09 15:34:49 -05:00
James Agnew 3bfcb57783 Page JPA search results to the database 2016-03-07 07:23:44 -05:00
James Agnew 8de41ca8b4 Attempting to reduce memory usage during tests 2016-03-06 14:38:18 -05:00
jamesagnew 99a4b2c29e Refactor JPA SearchBuilder 2016-03-05 20:46:04 -05:00
jamesagnew 5078b6aebe Remove unneeded files from Git 2016-02-28 14:06:59 -05:00
jamesagnew 1da5855c9c Add Eclipse files to git 2016-02-28 14:02:29 -05:00
jamesagnew 3f363eff9f Fix compile issues from merge 2016-02-27 09:42:15 -05:00
James Agnew 7fdbee6f21 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-02-26 18:20:32 -05:00
James Agnew 39f6420066 Start working on compartment support 2016-02-26 18:16:35 -05:00
James Agnew 1ba0ae3960 Support inline match URL references, per Simone's requast for the next
connectathon
2016-02-23 13:12:30 -08:00
jamesagnew 6cc60624c6 Fix comment 2016-02-17 08:50:35 -05:00
jamesagnew 4975d212fa Add userdata map to interceptors which can be passed around 2016-02-17 08:05:55 -05:00
jamesagnew 9b304748ad Work on terminology service 2016-02-16 21:29:00 -05:00
jamesagnew 1f875c1ca6 Try to fix build 2016-02-15 11:22:19 -05:00
jamesagnew c1141eb18f Reorganize how search param prefixes are handled and modelled based on new DSTU2 style prefixes 2016-02-15 10:05:39 -05:00
jamesagnew 23f9292b50 Add support for comments in XML and JSON parsing/encoding 2016-02-08 22:05:17 -05:00
James Agnew f21851099c Version bump 2016-02-08 13:59:09 -05:00
James Agnew 68b816dce7 Prepare for 1.4 release 2016-02-03 16:56:32 -05:00
James Agnew e0e52f96c6 Version bump to 1.4 (finally!) 2016-02-03 15:25:32 -05:00
jamesagnew 32daeb6f58 Switch DSTU2.1 to DSTU3 per FMB's decision 2016-02-01 08:55:58 -05:00
James Agnew 914f615b8e Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-01-28 11:35:16 -05:00
James Agnew 7ed14d538a Remove warning 2016-01-24 14:53:40 -05:00
jamesagnew 944afc2785 Add better constructors for date types 2016-01-20 07:40:57 -05:00
James Agnew f9960b22d5 Clean up validation 2016-01-15 18:44:28 -05:00
James Agnew d290110126 Fix validation 2016-01-15 18:02:20 -05:00
James Agnew 589059256f Correct issues uncovered during connectathon 2016-01-11 07:42:13 -05:00
James Agnew 552842e547 Validator enhancements 2016-01-08 16:23:27 -05:00
jamesagnew e436254c32 More fixing build 2016-01-08 09:07:59 -05:00
jamesagnew bf2e12e22c More tweaking for stupid travis 2016-01-08 08:26:53 -05:00
jamesagnew fbcf366ffa Try to reduce unit test memory for Travis 2016-01-07 23:03:54 -05:00
jamesagnew cabdde8914 Still trying to get travis working! 2016-01-07 21:13:17 -05:00
James Agnew 50a9995c55 Validator fixes 2016-01-07 18:37:15 -05:00
James Agnew 479da24cfb Bump license files 2016-01-07 08:50:07 -05:00
James Agnew a54cb06c03 More travis cleanup 2016-01-06 14:02:20 -05:00
James Agnew 0491dbe654 More travis 2016-01-06 10:25:40 -05:00
James Agnew 7005cd52d9 Performance tweaks to the validator and get the DSTU2.1 endpoint working
with validation
2016-01-04 17:57:00 -05:00
jamesagnew 685bd9345b Add request/response validator interceptors 2016-01-03 21:52:11 -05:00
jamesagnew ccc71c3bd3 Tests should be passing now 2016-01-03 00:19:16 -05:00
jamesagnew 5789db8743 Remove dependency on cobertura at compile time 2016-01-02 10:55:52 -05:00
jamesagnew 718a26671f DSTU2.1 structures working 2016-01-01 16:59:19 -05:00
jamesagnew 056900f324 Lots more work on DSTU2.1 structures 2015-12-30 11:27:12 -06:00
jamesagnew 7692e5d714 More work on DSTU2.1 structs 2015-12-22 09:32:06 -05:00
jamesagnew 2469aa3725 Lots of DSTU2.1 structure work 2015-12-20 23:35:47 -05:00
jamesagnew aaf85f2323 Lots of work on DSTU2.1 structures 2015-12-20 09:29:52 -05:00
jamesagnew a623003a56 Fix #240 - Support target resource type in server _include and _revinclude values 2015-12-14 21:50:35 -05:00
James Agnew 9ef0498775 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-12-14 10:56:33 -05:00
jamesagnew 97d6d09663 Work on #240 - Not yet working in JPA 2015-12-14 08:17:33 -05:00
James Agnew 117f9eb977 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-12-10 08:24:30 -05:00
James Agnew 85ec9d9264 Work on 2.1 structures 2015-12-10 08:24:12 -05:00
jamesagnew 83b664e55b Get travis building again 2015-12-04 08:03:16 -05:00
jamesagnew 67eb06665e Work on test indexing 2015-12-03 22:41:37 -05:00
jamesagnew 8ed9ca83af Fix build 2015-12-03 21:52:40 -05:00
jamesagnew e176d9a4b7 Try to fix travis 2015-12-03 20:54:48 -05:00
James Agnew 547b5290a4 Update resource defs 2015-12-01 18:35:24 -05:00
jamesagnew fcdf80c6a7 Only do one pass of validation during a JPA transaction 2015-11-29 16:48:57 -05:00
jamesagnew d47e0e5e77 Add DSTU2.1 resources 2015-11-29 11:43:09 -05:00
jamesagnew e6b47855e6 Merge branch 'master' of git://github.com/petervanhoute/hapi-fhir into petervanhoute-master 2015-11-27 14:59:53 -05:00
jamesagnew 14e326c2bd Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-11-26 06:57:08 -05:00
jamesagnew 9c9ffe1fb7 Remove dependency on JDK 7 2015-11-26 06:56:52 -05:00
James Agnew 2f12c9ed01 Bump version to 1.4-SNAPSHOT 2015-11-15 20:11:05 -05:00
James Agnew 5d13e660b0 Add header file 2015-11-15 13:56:59 -05:00
James Agnew f9f33f059b Version bump to 1.3 2015-11-15 12:53:02 -05:00
James Agnew 8c087f053a Cleanup for #254 2015-11-15 12:52:46 -05:00
James Agnew c516050716 Merge pull request #254 from cmikeb1/master
Added the ability to wire the JPA conformance providers
2015-11-15 12:47:55 -05:00
jamesagnew e7e820ee52 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-11-08 11:14:22 -05:00
jamesagnew dfced5b2a5 Fix tests 2015-11-08 11:13:58 -05:00
jamesagnew 35a6b4dbf0 Fix #253 - Process JPA entries in the correct order 2015-11-08 09:36:04 -05:00
C. Mike Bylund 3ff6822599 Added the ability to wire JpaConformanceProviderDstu1 & JpaConformanceProviderDstu1 with spring, as accommodated by [RestfulServer.java](d3685e72ba/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/server/RestfulServer.java (L1313)) 2015-11-06 21:20:06 -07:00
James Agnew 65c4250ed3 Update android distribution 2015-11-06 18:53:54 -05:00
jamesagnew 4545b4fb7f Don't create a new version when reindexing resources 2015-11-04 08:26:33 -05:00
jamesagnew 1fb9f02d14 Work on fulltext suggestions 2015-11-03 21:34:35 -05:00
jamesagnew 3fc7a16735 Fulltext searching works 2015-11-02 08:12:36 -05:00
jamesagnew a6d4de1f3e Add support in JPA for _content and _text for $everything operation 2015-10-31 17:09:32 -04:00
James Agnew 2cc88d76eb Cleasn up JPA interceptors 2015-10-29 16:44:51 -04:00
James Agnew d3685e72ba Fix #241 and fix #247 - Don't encode UUID IDs on resources, and preserve
bundle type when retrieving pages
2015-10-29 15:38:19 -04:00
jamesagnew f7dab9ff64 Doc updates 2015-10-29 07:51:59 -04:00
jamesagnew 30ab0203a3 Refactor search capability in JPA out of resource specific module 2015-10-28 08:44:52 -04:00
jamesagnew 65598c200e Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-10-28 07:39:18 -04:00
jamesagnew f3552015cc Work on splitting out search in JPA 2015-10-27 20:23:49 -04:00
James Agnew 43c1212840 Revamp the interceptor framework for JPA 2015-10-27 18:34:27 -04:00
jamesagnew c31900b827 JPA performance tweaks: Avoid unneccesary fulltext index pass during transaction and tag lookup 2015-10-25 12:18:21 -04:00
James Agnew 8d515feb6d Fix #242 - Allow compartment and read method to coexist for server 2015-10-21 11:58:19 -04:00
James Agnew d838a2bd4b Reduce JPA uri param length from 256 to 255 to accomodate MySql 2015-10-21 10:37:56 -04:00
James Agnew 06bdce8bbc Subscription CLI updates 2015-10-20 18:21:49 -04:00
James Agnew 5edd290013 More work on JPA server transactions 2015-10-20 10:52:29 -04:00
James Agnew ae416dcd62 Improve nexted search/read handing in transactions in JPA server 2015-10-20 10:35:18 -04:00
James Agnew 9b5598e2ab Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-10-19 20:22:11 -04:00
James Agnew 6729ea0479 Work on support for transaction searches with paging in JPA 2015-10-19 20:21:06 -04:00
jamesagnew 938a251ae9 Cleanup tests for java config in JPA 2015-10-19 20:19:40 -04:00
jamesagnew 9c0f6f993d Finish converting Spring from XML to Java config 2015-10-17 09:39:27 -04:00
James Agnew 6c321b83c8 Get examples working with Java config 2015-10-16 15:41:28 -04:00
jamesagnew eeac5e6ac0 Java config almost working 2015-10-16 08:57:07 -04:00
James Agnew febb15b78e Work on java config 2015-10-15 17:21:20 -04:00
jamesagnew e1eed8ce5e One test works.. 2015-10-15 09:10:06 -04:00
jamesagnew 7e2d486d17 Working on java config 2015-10-15 08:27:58 -04:00
James Agnew e9d18af5d9 Bump library versions 2015-10-14 18:11:52 -04:00
James Agnew 0430eb1626 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-10-13 12:13:43 -04:00
jamesagnew 6d93cbcaae Get content search working correctly 2015-10-13 09:18:34 -04:00
jamesagnew cb886c2975 Remove unused BeanUtils 2015-10-12 19:54:23 -04:00
jamesagnew 0ab8ee386f Add documentation for CLI 2015-10-12 18:47:49 -04:00
jamesagnew b827823004 Improve efficiency of JPA queries with _lastUpdated 2015-10-12 09:32:25 -04:00
jamesagnew 8c0b665565 Fix subscription issue 2015-10-10 10:06:41 -04:00
James Agnew 16989435b0 Don't export a _format on paging links if the request didn't have one 2015-10-09 17:42:45 -04:00
jamesagnew 588016e406 Merge branch 'master' into fulltext 2015-10-09 09:15:48 -04:00
jamesagnew b4c86d033e More work on fulltext search and add a failing test for subscriptions 2015-10-09 09:12:41 -04:00
James Agnew e29e10450c Add validation 2015-10-07 18:12:38 -04:00
jamesagnew ad868038a8 Work on Lucene searching 2015-10-07 09:01:32 -04:00
jamesagnew 3050d4776c Merge branch 'master' into fulltext 2015-10-06 19:42:05 -04:00
James Agnew 9fef4f6bab Allow valueset operations to work against type in JPA 2015-10-06 18:53:09 -04:00
James Agnew a337528e1c Refactor ValueSet JPA RP to use optional ID params 2015-10-06 13:01:32 -04:00
James Agnew b62eb1168c Allow server operations to work at the type level 2015-10-06 11:45:49 -04:00
jamesagnew 50c43bdb29 Fix tests 2015-10-06 09:08:25 -04:00
James Agnew 3d330de8ef Fix compile issue 2015-10-06 06:57:55 -04:00
James Agnew 8e8db1801c Start work on FT search 2015-10-06 06:46:51 -04:00
James Agnew 0958ab6f16 Refactor $everything operations on JPA so that they perform better 2015-10-05 16:49:50 -05:00
James Agnew 80575b5380 Generic client now allows search by URL 2015-10-05 15:30:30 -04:00
James Agnew 43aad1eb98 Properly support chains in JPA conditional URLs 2015-10-04 15:38:58 -04:00
James Agnew 48d56b4722 Fix connectathon discovered issues 2015-10-03 23:52:30 -04:00
James Agnew c666b9c196 Fix compile issues 2015-10-03 16:11:47 -04:00
James Agnew e7e8f8dd81 Use correct status codes for failed deletes, and support multi delete in
JPA
2015-10-02 18:18:54 -04:00
James Agnew aa32e6f0a9 Improve ValueSet operations in JPA 2015-10-02 12:37:56 -04:00
James Agnew 12d95bf43c Support patient and encounter $everything operations at the type level
in JPA
2015-10-02 08:09:17 -04:00
James Agnew 119a4f36d9 Add error checking and better handling for match URLs in JPA server 2015-10-01 16:54:34 -04:00
jamesagnew 900c93949a Work on subscriptions, and correct indexing of codes in JPA 2015-10-01 08:56:17 -04:00
jamesagnew c385384269 More work on subscriptions 2015-09-30 08:31:38 -04:00
jamesagnew f9e4a3e1b5 Fix #233 - elementQuantity gets incorrectly encoded as elementDuration 2015-09-29 19:41:31 -04:00
jamesagnew 04764ed07e Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-09-29 17:55:59 -04:00
jamesagnew bc910a1d4c Work on dynamic subscriptions 2015-09-29 17:55:49 -04:00
James Agnew ca8c257833 Support lastupdate filtering and sorting on JPA everything operation 2015-09-29 13:24:33 -04:00
James Agnew 1cc6a05273 FIx validation for resources using v2 tables 2015-09-29 10:51:36 -04:00
James Agnew 79047ef6ab Add test for #226 and refactor $everything into DAO 2015-09-28 14:09:15 -04:00
James Agnew e7ad9a96be Fix build 2015-09-28 10:40:13 -04:00
jamesagnew 9492744018 Work on subsciprions 2015-09-28 09:06:57 -04:00
jamesagnew f818a3b478 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-09-26 08:49:37 -04:00
jamesagnew 41f01b322f Work on subscriptions 2015-09-26 08:49:06 -04:00
James Agnew 51a046ea26 Handle sort by number, uti and token 2015-09-25 16:53:22 -04:00
James Agnew 291fd21836 Fix build 2015-09-24 15:12:06 -04:00
James Agnew 4ff7452c9b Fix #227 - JPA server should reject resources with a reference that
points to an incorrectly typed
				resource (e.g. points to Patient/123 but
resource 123 is actually an Observation) or points
				to a resource that is not valid in the
location it is found in (e.g. points to Patient/123 but
				the field supposed to reference an
Organization)
2015-09-24 14:47:04 -04:00
James Agnew 072c1ece87 Send Accept header on client requests, and allow string responses in
QuestionnaireResponse validator for questions of type OPENCHOICE
2015-09-24 13:40:07 -04:00
jamesagnew 70eff0dc7f Improve error message when $meta-add and $meta-delete are called with no meta element in the
input parameters. Also improve OperationOutcome rendering in narrative generator.
2015-09-24 08:36:25 -04:00
jamesagnew 835abdfbea Fix compile issues 2015-09-24 07:46:35 -04:00
jamesagnew cdc1519a55 Work on subscriptions 2015-09-24 07:01:04 -04:00
jamesagnew a15ed8e944 Work on subscriptions, and correct an issue with DateRangeParam where comparators get ignored 2015-09-23 08:36:11 -04:00
jamesagnew ef6a9302c0 Fix tests 2015-09-22 22:10:46 -04:00
jamesagnew ec8b3b68f6 Work on subscription 2015-09-22 08:06:23 -04:00
jamesagnew 36d8ed98d2 Test to confirm #222 not an issue 2015-09-21 21:37:50 -04:00
jamesagnew f2118df9b8 FIx #225 - Support and/or in JPA on _id and _language params 2015-09-21 21:29:04 -04:00
jamesagnew 04c2cce13f Start working on JPA subscriptions 2015-09-21 09:08:19 -04:00
jamesagnew 8fee057de3 Bump Spring and Hibernate versions 2015-09-20 10:18:33 -04:00
jamesagnew d59c0ff404 Correctly index reference paths with multiple paths, and don't store duplicate indexes in JPA 2015-09-20 08:23:03 -04:00
jamesagnew 70e942e9f8 Version bump to 1.3-SNAPSHOT 2015-09-19 11:00:57 -04:00
jamesagnew effe139325 Finalizing 1.2 release 2015-09-16 11:46:17 -04:00
jamesagnew 31934ff582 Version bump to 1.2 2015-09-16 07:09:03 -04:00
James Agnew 73121e222c Add tests 2015-09-15 14:11:55 -04:00
James Agnew 2961d2e91b POM cleanup 2015-09-15 10:28:09 -04:00
jamesagnew ff5d14dade Return HTTP 412 for validation failure in JPA DSTU2 2015-09-15 09:09:07 -04:00
jamesagnew b1df85eb37 Validation now working completely in JPA server 2015-09-15 08:27:49 -04:00
jamesagnew c96d5efe1f Work on updating validator 2015-09-14 08:22:43 -04:00
jamesagnew d0bac3d419 Work on CLI tool 2015-09-13 22:06:31 -04:00
jamesagnew 780fc871cb It should not be possible to search for deleted resources using the _tag, _id, _profile, or _security search parameters 2015-09-13 09:42:41 -04:00
jamesagnew 48ee2cbee8 JPA server now correctly suppresses contents of deleted resources
in history
2015-09-12 09:45:12 -04:00
James Agnew 2c1ca358fe Work on CLI 2015-09-11 16:13:40 -04:00
James Agnew c534fb9604 Hopefully tests should pass now - Not using profile datatypes in encoded
choice names has been a pain!
2015-09-08 14:00:11 -04:00
jamesagnew 4dfecbdc74 pom refactoring 2015-09-08 08:14:55 -04:00
jamesagnew 7217458681 Allow storage of Conformance resources in JPA 2015-09-07 21:31:10 -04:00
miantorno a4d973696e Updating pom.xml files for dstu2. 2015-09-03 14:36:37 -04:00
jamesagnew f3e44eea3b Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-09-03 08:08:13 -04:00
James Agnew ae177b52e8 Populate Bundle.entry.fullUrl 2015-09-02 13:42:59 -04:00
James Agnew 6a2045fe12 Fix build 2015-09-02 13:00:08 -04:00
James Agnew 901cef837b Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-09-02 11:27:49 -04:00
James Agnew fa76071bd3 Return last updated time and version ID for instance $meta operation 2015-09-02 11:26:40 -04:00
jamesagnew 875ad3b5f9 Correct tag handling for DSTU2 2015-09-02 07:46:52 -04:00
jamesagnew 517222d183 Fix tests 2015-09-01 18:24:32 -04:00
James Agnew febae3f07d Add tests 2015-09-01 17:48:20 -04:00
James Agnew 97e6073665 Support URI (and prepare for lat/lon search params) in JPA server, and
don't store duplicate tags
2015-09-01 17:02:35 -04:00
James Agnew 71c28b5709 More fix build 2015-08-31 09:40:44 -04:00
James Agnew fc36dabc68 Fix build 2015-08-31 09:23:21 -04:00
jamesagnew a9f978a8a2 Udate to latest DSTU2 definitions 2015-08-31 08:20:24 -04:00
James Agnew eaa2519696 iAdd some tests 2015-08-28 18:00:32 -04:00
James Agnew bd13b53099 Fix #212 - Dont accept invalid IDs but do accept IDs starting with a
number
2015-08-28 15:36:56 -04:00
jamesagnew 073fa47807 Add support for _include:recurse behaviour 2015-08-27 19:44:51 -04:00
James Agnew df4d371edc Add profile and security params for generic search 2015-08-24 15:23:28 -04:00
jamesagnew bec43b3fdc Fix tests 2015-08-24 08:29:02 -04:00
jamesagnew 60339d6f93 Fix #209 - _revinclude results from JPA server should have a Bundle.entry.search.mode of "include" and not "match". Thanks to Josh Mandel for reporting! 2015-08-23 22:25:25 -04:00
jamesagnew 11376024fa Fixing test related to summary and elements mode 2015-08-23 21:51:46 -04:00
James Agnew 7645c240f4 Get instance validator working across FHIR versions 2015-08-20 15:27:24 -04:00
James Agnew ddc66d3ed0 Add support for $validate-code in JPA server 2015-08-20 14:27:19 -04:00
James Agnew 11f5aeebd9 Clean up the build and hopefully close #206 2015-08-19 11:49:00 -04:00
jamesagnew 4d04b9cc6a Fix #206 - Don't require hl7org structures to start JPA server 2015-08-19 07:47:45 -04:00
James Agnew c2fba2ce21 More work on interceptors 2015-08-17 18:35:51 -04:00
jamesagnew ac564a54d6 Documentation cleanup 2015-08-17 07:57:20 -04:00
jamesagnew 330dbde983 Add new interceptor hook for auditing 2015-08-16 22:09:01 -04:00