Commit Graph

821 Commits

Author SHA1 Message Date
James 35a890db34 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-08-22 07:42:02 -04:00
James b70165630a Improve partial string handling in JPA server 2016-08-22 07:05:49 -04:00
James Agnew 7f15520db8 Don't include Location header in server responses for DSTU3 servers 2016-08-21 11:39:44 -07:00
James Agnew da8abca1ff Add custom extension example 2016-08-21 10:24:42 -07:00
James Agnew 379abb8e47 Don't strip urn: prefixes from references when encoding 2016-08-16 11:23:07 -07:00
James Agnew eee168ced6 Add support for conditional operations to AuthorizationInterceptor 2016-08-15 13:35:50 -04:00
James b0d19c3a65 Fix #423 - Encode custom types with custom type fields correctly 2016-08-14 13:05:16 -04:00
James Agnew ac2d55139d Add option to upload-terminology for security header 2016-08-09 15:38:30 -04:00
James Agnew 74950a4efc Fix regression when parsing contained resources 2016-08-05 18:01:44 -04:00
jamesagnew 681f4e153d Credit for #416 2016-08-02 20:18:59 -04:00
jamesagnew 545b359697 Fix #406 - Allow arbitrary authentication realm 2016-08-01 21:36:50 -04:00
James Agnew dd8b1cd979 Use corrrect types from client 2016-07-27 18:15:09 -04:00
jamesagnew 41b58108f2 Bump version dependencies and return 200 for conditional delete with no matches 2016-07-25 08:46:02 -04:00
jamesagnew ca97c0d000 Fix #401 - Don't clear fullUrl on stored bundles 2016-07-24 11:02:20 -04:00
jamesagnew 294e467811 Fix #409 - Tag#setCode did not work 2016-07-24 09:28:22 -04:00
jamesagnew a9b29d5088 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-07-23 18:51:08 -04:00
jamesagnew 350e82b6cf Fix #403 - Allow references to keep versions when encoding 2016-07-23 18:48:00 -04:00
James Agnew 748c13d0dc Remove bad dependency 2016-07-22 18:33:16 -04:00
James Agnew 7bea8431f7 Add interceptor for rejecting TRACE and other invalid verbs 2016-07-19 19:16:09 -04:00
James Agnew 4177994ad8 Add credit for #404 2016-07-19 19:15:56 -04:00
James Agnew 8f7a374a25 Auto-detect disabled hibernate search 2016-07-18 16:56:41 -04:00
jamesagnew 5073692eda Always include SUBSETTED tag when _elements is used on server 2016-07-18 07:05:11 -04:00
jamesagnew 196c11bfa2 Use new style mimetypes but keep supportuing the old ones as well 2016-07-17 18:35:06 -04:00
jamesagnew ef1c81e241 Fix #150 - Don't encode null fluent client values 2016-07-14 07:18:48 -04:00
James Agnew f6601cc347 Add example for terminology uiploading 2016-07-13 09:40:50 -04:00
James Agnew 1fae24e213 Update download page 2016-07-13 09:22:10 -04:00
James Agnew c3e9f618eb Version bump to 2.0-SNAPSHOT 2016-07-12 11:12:07 -04:00
jamesagnew 040c098742 Site updates 2016-07-07 07:40:53 -04:00
James Agnew d63e289cbe Validation fixes 2016-07-05 16:56:06 -04:00
jamesagnew 32bdd14639 Work on term service 2016-07-02 17:14:36 -04:00
James Agnew 38d30eef49 Respect order for order=REPLACE_PARENT 2016-06-29 10:26:36 -04:00
jamesagnew 9b6f548970 Work on term service, and allow child classes when serializing 2016-06-29 08:08:42 -04:00
jamesagnew c28a2c40f0 Fix #394 - Don't use a method from Commons-Lang3 3.3 2016-06-27 06:19:22 -04:00
jamesagnew c2dbcc7ff0 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-06-26 23:12:26 -04:00
jamesagnew fae4344c36 Add documentation around security interceptor 2016-06-25 11:27:55 -04:00
jamesagnew 556058a7b7 Tests passing 2016-06-25 10:55:31 -04:00
James Agnew db0a208927 Work on terminology importing 2016-06-24 18:40:44 -04:00
James Agnew 89f3df80a4 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-06-20 10:53:43 -04:00
James Agnew 102548d22c Fix decimaltype float constructor 2016-06-20 10:52:23 -04:00
jamesagnew 2e8c20dc83 More work on terminology services, and add support to operations to AuthorizationInterceptor 2016-06-20 07:19:08 -04:00
jamesagnew b3d8d453de Improve test coverage and clean up UnclassifiedServerFailureException processing 2016-06-18 10:37:43 -04:00
James Agnew 1166a2ee67 Work on support for _at parameter in history operation 2016-06-13 07:31:25 -05:00
James Agnew 23550240ad Fix #378 - Include mandatory elements in server generated
OperationDefinition resources
2016-06-11 15:28:58 -05:00
James Agnew 8f1e45b3f3 Fix #379 - Server generated OperationDefinitions should generate
separate definitions for operations that are implemented against
multiple resource types
2016-06-11 14:46:13 -05:00
James Agnew 035ed27dab Fix #380 - Correct cardinality for OperationDefinitions 2016-06-10 17:15:16 -05:00
James Agnew 189038ad08 Fix #267 2016-06-10 10:49:51 -05:00
James Agnew 6eca6e5efe Update ResponseHighlighterInterceptor to emit raw content for
_format=xml and _format=json
2016-06-10 10:15:41 -05:00
James Agnew 4a7328231e Fix #365 - Don't label methods as unable to return null when they can 2016-06-08 14:48:55 -07:00
James Agnew 0a2b4290ed Fix #370 - Validation failure when validating certain STU3 resources 2016-06-08 14:21:18 -07:00
James Agnew 7e57aed5d6 Significant performance enhancements for context startup 2016-06-06 11:15:11 -07:00
James Agnew 99568a4b30 Clean up client fluent param types and add some test coverage 2016-06-05 11:33:43 -04:00
James Agnew 87eabe6bf8 More work on terminology server 2016-06-05 09:40:06 -04:00
James Agnew d966190f9e Fix #371 - STU3 server and client should use new sort parameter style 2016-06-04 12:34:44 -04:00
James Agnew 39a96f0258 Fix #374 - Include ETag and Last-Modified headers in response 2016-05-31 13:44:21 -04:00
James Agnew f45ad117fe Improve error messages for invalid validate request 2016-05-29 22:23:30 -04:00
James Agnew a5debc07a3 DateTime parser incorrectly parsed times where more than 3 digits of
precision were provided on the seconds
after the decimal point
2016-05-25 19:20:51 -04:00
James Agnew eabf0039ba Merge branch 'term_svc' 2016-05-24 10:18:08 -04:00
James Agnew e1513a6060 Allow transactions to be posted in web ui for DSTU3 2016-05-24 10:03:19 -04:00
jamesagnew 35ffbf1568 Sync DSTU2 validator with RI 2016-05-24 09:22:16 -04:00
jamesagnew ee031667c5 Fix #369 - FhirTerser cloneInto method fails if target contains extension 2016-05-23 09:20:40 -04:00
jamesagnew 1b58aa33fa Credit for #367 2016-05-22 14:56:27 -04:00
jamesagnew 61ce6021d6 Doc 2016-05-22 14:52:58 -04:00
jamesagnew 77a84195f5 Encode lanugage as a string instead of an array 2016-05-22 14:38:20 -04:00
jamesagnew a65191baa2 Examples for #364 2016-05-22 09:01:24 -04:00
jamesagnew 8863ff25be Add documentation for custom structures 2016-05-22 08:44:35 -04:00
jamesagnew 20b6994cc8 Fix #364 - Allow serializing custom types that contain custom datatypes 2016-05-21 14:35:10 -04:00
jamesagnew 021025ffa9 Fix #366 - Return HTTP 400 instead of 500 when boolean values contain invalid string 2016-05-21 13:07:46 -04:00
jamesagnew 3d8776f6ed Fix #363 - Allow remote references in JPA resources 2016-05-21 12:58:04 -04:00
jamesagnew b03bea3a58 Version bump a few dependencies 2016-05-21 09:37:58 -04:00
James Agnew 7942d69d5d Accept conditional updates with _id as parameter 2016-05-16 19:11:25 -04:00
James Agnew d5e2170595 Don't discard _count from parameters when method has @Count 2016-05-13 19:13:39 -04:00
James Agnew 563f4e4c46 Treat date eq params correctly 2016-05-13 18:49:41 -04:00
James Agnew 84a7856c19 Treat missing ID in resource body as warning 2016-05-13 18:04:07 -04:00
James Agnew 54d0fa0faa Add a new option to CLI run-server called "--lowmem" which puts the
server into low memeory mode
2016-05-10 13:45:30 -04:00
James Agnew bca8589177 Index DSTU3 timing datatypes 2016-05-09 16:32:31 -04:00
James Agnew 061243b5c7 Allow delete bundle to contain multiple deletes for the same resource 2016-05-08 13:11:55 -04:00
James Agnew 81cb769d18 Allow operation names to be escaped in URL 2016-05-07 19:28:36 -04:00
James Agnew af2b702aa4 Fixes from Montreal connectathon 2016-05-07 14:24:33 -04:00
James Agnew 848ad158e2 Remove Remittance resource from DSTU2 2016-05-06 19:52:10 -04:00
James Agnew 4ae4b1a8d8 Support composite parametrs with quantity type in JPA 2016-05-06 18:43:07 -04:00
James Agnew 8c8434943c Credit for #361 2016-05-06 17:55:16 -04:00
James Agnew fd2671d28e Fix validation issue 2016-05-06 17:44:23 -04:00
jamesagnew 689df98cf9 Credit for #359 2016-05-05 07:08:48 -04:00
jamesagnew 1c082f7f6e Credit for #356 2016-05-05 07:03:58 -04:00
jamesagnew 387c4793f7 Credit for #355 2016-05-05 06:59:50 -04:00
jamesagnew b4d3a7bb74 Don't highlight AJAX requests 2016-05-04 06:59:28 -04:00
jamesagnew 244cad6224 Allow validator exceptions to be ignored via confoguration 2016-05-03 21:58:09 -04:00
jamesagnew cce0ce6b8e Add parser for URL parameters to avoid Servlets using ISO-8859-1 instead of UTF-8 2016-05-03 08:58:56 -04:00
jamesagnew dcd32b6127 Correctly handle search parameter target types in JPA 2016-05-03 07:03:44 -04:00
James Agnew 3e8638a65f Fix tests 2016-05-02 19:03:36 -04:00
James Agnew 804149205a Work on getting tests passing 2016-05-02 11:42:55 -04:00
James Agnew c90795ccef Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-05-02 09:03:48 -04:00
jamesagnew 9b55d0000b Fix #354 - Bring back setFoo(List) and getFooFirstRep() methods to DSTU3 structures 2016-05-01 10:19:50 -04:00
jamesagnew e3e81ff202 Fix #352 - Client should auto download resource if server ignores prefer header 2016-05-01 09:30:12 -04:00
jamesagnew 2bc1950bc1 JPA server transactions sometimes created an incorrect resource reference if a resource being saved contained references that had a display value but not an actual reference. Thanks to David Hay for reporting! 2016-04-29 09:21:12 -04:00
James Agnew 2d81612cd8 Fix #350 - Correct serialization for custom types which have fields
replacing other fields
2016-04-28 13:25:20 -04:00
jamesagnew d45a9b67dc Allow forced IDs to be reused between resource types 2016-04-24 19:24:55 -04:00
jamesagnew 514da88787 Improve performance in parser when parsing large bundles 2016-04-23 13:54:16 -04:00
jamesagnew 3eb805fb0a Respect _format=application/xml+fhir 2016-04-23 12:17:27 -04:00
jamesagnew 941091dbf7 Deprecate fluent search without an explicit bundle type declaration 2016-04-23 10:15:13 -04:00
jamesagnew d76e0008ac Fix #342 - The HTTP 400 if request fail to parse 2016-04-22 07:19:57 -04:00
jamesagnew dd3f1dd33c Fix #345 - ResponseValidatingInterceptor throws an exception with response has no content 2016-04-22 07:04:14 -04:00
jamesagnew fcf0604e98 Site doc updates 2016-04-21 07:15:01 -04:00
James Agnew a8b121d868 Try to fix tests 2016-04-20 09:03:43 -04:00
James Agnew 8bb00839d0 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-04-20 07:28:17 -04:00
jamesagnew 8b59b61250 Release docs 2016-04-20 07:03:30 -04:00
James Agnew 2c665d1b39 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-04-19 21:58:37 -04:00
James Agnew 81fa46820a Correctly support _summary=search option 2016-04-19 21:58:20 -04:00
jamesagnew 3a0de6e6f8 Fix #339 - Disable XXE XML parsing vulnerability 2016-04-19 07:55:24 -04:00
jamesagnew 43969cb8ce Fix tests on CLI 2016-04-19 06:35:15 -04:00
jamesagnew 59c44a3b0b More test fixes 2016-04-17 20:57:27 -04:00
jamesagnew f3a41570d3 Try to get tests workign on Travis.. yet again 2016-04-17 19:25:11 -04:00
jamesagnew 846e216c04 Fix tests 2016-04-17 12:58:36 -04:00
jamesagnew 1af65ff5a8 Fix #335 (also fixes #336) - Correctly parse and serialize IDs on elements within a resource 2016-04-17 10:12:34 -04:00
jamesagnew 81dec23faf Correctly populate Bundle.entry.fullUrl on Hl7OrgDstu2 servers 2016-04-14 06:59:43 -04:00
James Agnew 07d86c50d6 Work on cobertura 2016-04-13 08:09:51 -04:00
jamesagnew 2f37015d57 Clean up parsers so that elements are always encoded according to their order in the structures that contain them 2016-04-11 08:36:12 -04:00
jamesagnew b81a343f5d Add support for JPA searches with _tag:not=foo 2016-04-07 09:50:05 -04:00
jamesagnew e30ebf69ba Fix #325 - Fix equalsShallow and equalsDeep when a field is null on one side and empty on the other 2016-04-05 22:05:45 -04:00
James Agnew 39fc134482 Fix #326 - Correctly serialize DSTU3 references in JsonParser. Thanks to
@fw060 for the patch!
2016-04-05 16:33:29 -04:00
jamesagnew 079f966086 Parser enhancements when parsing bundles 2016-04-05 08:59:24 -04:00
jamesagnew 45390ebc89 Don't parse 1974-12-25+10:00 as this is not a valid FHIR time 2016-04-03 18:45:08 -04:00
James Agnew 1aebff9a43 Add RES_ID indexes to help performance searchin across large datasets 2016-03-27 08:59:39 -04:00
James Agnew b2f11e0bfc Fix #317 - Allow search params to be used when doing REST operations 2016-03-26 13:44:54 -04:00
James Agnew 20081a419d Fix #320 - Don't generate binding enums for example binding fields on
resources
2016-03-25 20:15:01 +01:00
James Agnew 6ffb1c8c56 Fix #312 - Don't fail if extension list contains a null 2016-03-25 19:27:18 +01:00
James Agnew f49130baf8 Add unit tests and documentation to the JAX-RS client implementation 2016-03-25 19:17:41 +01:00
James Agnew f9fa6265df Correctly handle JPA search by token with system but no code 2016-03-25 16:20:43 +01:00
James Agnew de3cd6fdf6 Credit for #321 2016-03-25 11:42:40 +01:00
James Agnew c6f06548fc Fix #315 - Use custom types for searches and other client operations
when requested
2016-03-24 11:09:41 +01:00
James Agnew 1adfc4b4d9 Fix #315 - Allow declaring of custom types for specific profiles 2016-03-22 11:46:08 +01:00
James Agnew 82c6d82444 Sere up Binary resources as binary content even if the browser puts
application/xml in the Accept header
2016-03-18 18:38:44 +01:00
James Agnew 3922ff026e Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-03-16 17:42:54 -04:00
jamesagnew 9aa7eea274 Add mode to parser to force it to not encode certain elements when serializing 2016-03-16 07:53:21 -04:00
jamesagnew 2ae2cbba23 Roll back site plugin to 3.4. What a nightmare. 2016-03-16 07:01:20 -04:00
James Agnew 9c8d9db7e6 Use separate index columns 2016-03-15 10:35:24 -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 452316aed7 Fix #313 - Do not treat OPTIONS [base]/foo as a request for server's
conformance statement. Thanks to Michael Lawley for reporting!
2016-03-12 14:53:20 -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 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
jamesagnew fb882f899e Changelog tweak 2016-03-06 12:04:54 -05:00
jamesagnew 99a4b2c29e Refactor JPA SearchBuilder 2016-03-05 20:46:04 -05:00
jamesagnew eba3ca8e59 Improve documentation per Issue #309 2016-03-02 22:44:09 -05:00
jamesagnew 0ea8457a00 Fix VRead in web testing UI 2016-03-02 22:35:17 -05:00
jamesagnew b147083f5a Fix #308 - Remove unneded warning on parsing declared extension 2016-03-02 22:18:33 -05:00
jamesagnew 94f50686bc Fix #304 - Better error message if wrong generic type is used 2016-03-02 07:06:17 -05:00
jamesagnew 3fd9f9518a Handle unexpected extensions when parsing using IParserErrorHandler 2016-03-02 06:52:46 -05:00
jamesagnew c44b23f493 Fix #280 - Don't leave web testing UI buttons disabled when you return to a page via the back button 2016-03-01 07:15:02 -05:00
jamesagnew 496d866f48 Fix #274 - Primitive elements with no value but an extension were sometimes not encoded correctly in XML, and sometimes not parsed correctly in JSON. 2016-02-28 22:15:43 -05:00
jamesagnew a0260b9ea9 Note for #299 2016-02-28 19:40:48 -05:00
jamesagnew c7d3f39457 Fix #296 - Handle :missing qualifier on QuantityParam 2016-02-28 18:32:43 -05:00
jamesagnew c14a1330b4 Fix #302 - Don't crash server when adding profiles 2016-02-28 16:07:28 -05:00
jamesagnew 524b16b1e8 Fix header generation for clients 2016-02-28 15:44:10 -05:00
jamesagnew 1da5855c9c Add Eclipse files to git 2016-02-28 14:02:29 -05:00
jamesagnew f1e1ee9ff9 Merge JAX-RS client fixes 2016-02-28 13:34:57 -05:00
James Agnew 7fdbee6f21 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-02-26 18:20:32 -05:00
James Agnew d383b402d1 Correct handling of Binary resources in client and server where the
binary contains embedded FHIR content
2016-02-25 14:31:26 -08:00
James Agnew 4a26064cd6 In the client, the create/update operations on a Binary resource (which
use the raw binary's content type as opposed to the FHIR content type)
were not including any request headers (Content-Type, User-Agent, etc.) Thanks to Peter Van Houte of Agfa Healthcare for reporting!
2016-02-25 12:54:52 -08:00
James Agnew d11cbab15c Don't add WWW-Authenticate header to response on AuthenticationException 2016-02-25 11:03:04 -08: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 6ce4056f7a Fix #298 - Don't handle /metadata for methods other than GET 2016-02-19 06:40:07 -05:00
jamesagnew 43bdfc0345 Fix #297 - Resource not populated in ActionRequestDetails for validate method 2016-02-19 06:21:05 -05:00
jamesagnew 4975d212fa Add userdata map to interceptors which can be passed around 2016-02-17 08:05:55 -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 551ec3ab16 Add credit for #293 2016-02-08 22:04:30 -05:00
James Agnew 961cde41bd Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-02-08 14:22:20 -05:00
James Agnew f21851099c Version bump 2016-02-08 13:59:09 -05:00
jamesagnew d93c54c0aa Version bump to 1.5 2016-02-06 14:18:56 -05:00
jamesagnew 606dc7b643 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-02-04 22:29:54 -05:00
jamesagnew 9da031e2cc Site updates for 1.4 2016-02-04 22:29:44 -05:00
James Agnew 68b816dce7 Prepare for 1.4 release 2016-02-03 16:56:32 -05:00
James Agnew 2e612eed4d Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-02-03 14:09:13 -05:00
James Agnew 715ab0e269 Credit for #289 2016-02-03 14:08:52 -05:00
jamesagnew 9449df7df1 Prepare for 1.4 release 2016-02-03 08:35:05 -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
jamesagnew ecc48317f2 Version bump dependencies 2016-01-28 08:31:19 -05:00
jamesagnew 0f07cac496 Fix #286 - Resource chains not added to conformance statement 2016-01-28 07:31:37 -05:00
jamesagnew 1bc35f1ba3 Support modifiers on token parameters 2016-01-27 07:05:41 -05:00
James Agnew 7ed14d538a Remove warning 2016-01-24 14:53:40 -05:00
jamesagnew 98dfceb90a Link to Bill's new example 2016-01-21 21:52:01 -05:00
jamesagnew 133660a9ae Credit for #288 2016-01-21 21:45:57 -05:00
jamesagnew 1ba03f4a9b Fix #283 - Remove servlet 3.0 dependency where possible 2016-01-20 08:11:03 -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
jamesagnew b717c1f0c3 Update docs 2016-01-08 07:32:17 -05:00
jamesagnew e7adebe8d7 Fix #278 - Add alternate configuration as suggested by Karl Davis. Thanks for the contribution! 2016-01-07 21:37:04 -05:00
James Agnew 0c8c414784 Try to get travis working 2016-01-07 11:17:54 -05:00
jamesagnew b7aa4e15b9 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-01-05 08:31:24 -05:00
jamesagnew 59da230702 Improving validation documentation 2016-01-05 07:20:54 -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
James Agnew 9e110506f7 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-12-16 12:04:54 -05:00
James Agnew 9c37c3b2a0 Use ResponseHighlighterInterceptor in the JPA example project 2015-12-16 12:03:58 -05:00
jamesagnew a623003a56 Fix #240 - Support target resource type in server _include and _revinclude values 2015-12-14 21:50:35 -05:00
jamesagnew d95bd269c0 Correctly encode value[x] field names when the datatype is a profiled type such as markdown 2015-12-14 21:04:27 -05:00
jamesagnew 97d6d09663 Work on #240 - Not yet working in JPA 2015-12-14 08:17:33 -05:00
James Agnew bc9d1712d4 Credit for #265 2015-12-01 18:13:34 -05:00
James Agnew 4398040451 Add count(int) method to fluent client search 2015-12-01 10:22:50 -05:00
jamesagnew fcdf80c6a7 Only do one pass of validation during a JPA transaction 2015-11-29 16:48:57 -05:00
jamesagnew 07078e4ce3 Add GZip support to client and server for client-to-server uploads 2015-11-29 15:03:28 -05:00
jamesagnew d47e0e5e77 Add DSTU2.1 resources 2015-11-29 11:43:09 -05:00
jamesagnew 45502ba5ff Credit for #251 2015-11-27 15:03:05 -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 e78fcf91c5 Credit for #259 2015-11-26 07:03:01 -05:00
petervanhoute 94f309114b - add site-documentation for jaxrs base
- set example for operation on instance level
- remove not thrown exceptions
2015-11-25 15:34:41 +01:00
James Agnew 26e2e2527d Site updates 2015-11-23 18:14:56 -05:00
James Agnew c78be081ef Add CLI test 2015-11-20 10:30:10 +01:00
James Agnew c12dc82a37 Site updates for 1.3 release 2015-11-15 19:56:57 -05:00
James Agnew 8e24077bcf Credit for #254 2015-11-15 12:46:42 -05:00
James Agnew 326db08f0e Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-11-14 13:01:52 -05:00
James Agnew f2ac8a4767 Define Enums for child concepts 2015-11-09 12:54:42 -05:00
jamesagnew e7e820ee52 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-11-08 11:14:22 -05:00
jamesagnew 35a6b4dbf0 Fix #253 - Process JPA entries in the correct order 2015-11-08 09:36:04 -05:00
James Agnew 65c4250ed3 Update android distribution 2015-11-06 18:53:54 -05:00
jamesagnew 6fd5aecec7 Fix #250 - Honour Accept: text/xml and Accept: text/json 2015-11-05 07:32:33 -05:00
jamesagnew 23b35661ea Bump a few dependency versions 2015-10-31 17:48:25 -04:00
jamesagnew a6d4de1f3e Add support in JPA for _content and _text for $everything operation 2015-10-31 17:09:32 -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 01320ac1b1 Site updates 2015-10-29 09:14:23 -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
James Agnew 43c1212840 Revamp the interceptor framework for JPA 2015-10-27 18:34:27 -04:00
jamesagnew 5a2ee77142 Parser (XML and JSON) shouldn't encode an ID tag in resources
which are part of a bundle when the resource has a UUID/OID
				            ID.
2015-10-26 22:47:06 -04:00
jamesagnew 69658ab754 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-10-23 08:22:40 -04:00
jamesagnew eea406e10e ResourceReferenceDt#loadResource(IRestfulClient) did not
use the client's read functionality, so it did not
				            handle JSON responses or use interceptors. Thanks to
								            JT for reporting!
2015-10-23 08:21:25 -04:00
James Agnew fad59b75b9 Credit for #245 2015-10-21 12:03:36 -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 ae416dcd62 Improve nexted search/read handing in transactions in JPA server 2015-10-20 10:35:18 -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 e9d18af5d9 Bump library versions 2015-10-14 18:11:52 -04:00
jamesagnew 6d93cbcaae Get content search working correctly 2015-10-13 09:18:34 -04:00
jamesagnew 15b7da184e Credit for #239 2015-10-12 20:08:11 -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
James Agnew b62eb1168c Allow server operations to work at the type level 2015-10-06 11:45:49 -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 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 0a5e6043bd Fix #234 - Invalid entry in OSGi manifest 2015-10-01 18:37:00 -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
James Agnew 541e6cdcb1 Credit for #235 2015-10-01 11:45:33 -04:00
jamesagnew 900c93949a Work on subscriptions, and correct indexing of codes in JPA 2015-10-01 08:56:17 -04:00
James Agnew 9664174b6a Use updated valueset definitions 2015-09-30 16:35:51 -04:00
jamesagnew f9e4a3e1b5 Fix #233 - elementQuantity gets incorrectly encoded as elementDuration 2015-09-29 19:41:31 -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
jamesagnew 9492744018 Work on subsciprions 2015-09-28 09:06:57 -04:00
James Agnew 51a046ea26 Handle sort by number, uti and token 2015-09-25 16:53:22 -04:00
James Agnew 1361e69177 Respect server default encoding if an Accept header is received which
indicates equal weight for both encodings
2015-09-24 17:52:52 -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 7e6844be56 Improve error message when JSON parser finds an object where an array is expected 2015-09-24 07:27:43 -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 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 1dd7f4d22a Site updates 2015-09-18 08:50:31 -04:00
jamesagnew b1df85eb37 Validation now working completely in JPA server 2015-09-15 08:27:49 -04:00
jamesagnew 9b69f3a3f8 Credit for #223 2015-09-14 21:28:24 -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
jamesagnew 437625505c Add some tests and some cleanup of unused code 2015-09-09 22:41:10 -04:00
jamesagnew bb5816d8e9 Fix second part of #216 - Correctly encode choice elements on profiled datatypes 2015-09-08 08:01:51 -04:00
jamesagnew 9af3fcf02d Allow browser requetsts to force a raw response 2015-09-07 21:52:35 -04:00
jamesagnew 7217458681 Allow storage of Conformance resources in JPA 2015-09-07 21:31:10 -04:00
jamesagnew 08633066c6 Fix #216 - Unexpected attributes when parsing composite elements should be logged 2015-09-07 10:08:11 -04:00
James Agnew abdfb50b40 Fix a few tests and don't crash on old Woodstox 2015-09-04 13:59:57 -04:00
jamesagnew 773608f860 Validation documentation 2015-09-04 08:22:06 -04:00
jamesagnew f3e44eea3b Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-09-03 08:08:13 -04:00
jamesagnew 8b20f3a77d Sync to 1.0.0 FHIR definitions 2015-09-03 08:07:43 -04:00
James Agnew ae177b52e8 Populate Bundle.entry.fullUrl 2015-09-02 13:42:59 -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
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
jamesagnew e8f5451cc9 Fix a few issues found by FindBugs 2015-09-01 07:05:27 -04:00
jamesagnew a9f978a8a2 Udate to latest DSTU2 definitions 2015-08-31 08:20:24 -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
jamesagnew 5e0a8c476b Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-08-25 07:49:30 -04:00
jamesagnew d5f76f105d Credit for #211 2015-08-25 07:49:14 -04:00
James Agnew d6540a9759 Merge pull request #211 from pukkaone/tester-client-factory
FHIR Tester application use configured client factory
2015-08-25 07:46:17 -04:00
James Agnew 83a57f8e7c Auto qualify resource IDs 2015-08-24 18:21:34 -04:00
Chin Huang 21564528a0 Fix FHIR Tester documentation formatting 2015-08-24 15:01:47 -07:00
James Agnew df4d371edc Add profile and security params for generic search 2015-08-24 15:23:28 -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 ddc66d3ed0 Add support for $validate-code in JPA server 2015-08-20 14:27:19 -04:00
jamesagnew 6941f92090 Fix #207 - Confusing error message parsing invalid contained resources 2015-08-17 20:46:56 -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
James Agnew 2766af2693 Update definitions and correctly handle exceptions in
incomingRequestPreProcessed method in server interceptors
2015-08-13 16:59:10 -04:00
James Agnew b36e4e5841 Merge branch 'master' into dstu2_final 2015-08-06 18:07:34 -04:00
James Agnew 43dd081098 Fix compile issues and keep working on android build 2015-08-06 13:13:03 -04:00
James Agnew af9c8faf89 Don't crash if resrouce references being parsed have unexpected child
elements
2015-08-06 10:50:36 -04:00
James Agnew 63defc2f30 Merge branch 'master' into dstu2_final 2015-08-05 13:29:20 -04:00
James Agnew fd91ce76ce Fix #192 - Correctly unescape search parameters in the server when they
have a trailing comma or an escaped backslash
2015-08-05 12:57:04 -04:00
James Agnew 5b09a3d2b6 Add trasnaction BATCH support to JPA 2015-07-31 09:29:25 -04:00
James Agnew ab2129d651 Implements support for _tag in JPA server and client 2015-07-30 07:47:37 -04:00
James Agnew 27a1d68d5f Documentation updates 2015-07-28 14:47:58 -04:00
James Agnew 85f686cde2 Credit for #200 2015-07-28 12:23:11 -04:00
James Agnew 75798cf9fe Use HttpServletRequest.getContextPath to get the context path 2015-07-27 11:19:29 -04:00
James Agnew 56a4c1b04b Add serialization support and fix build regression 2015-07-21 09:45:53 -04:00
jamesagnew 48917684fd Finish off #152 2015-07-21 08:28:40 -04:00
jamesagnew 9476a785ba Docs 2015-07-19 22:25:45 -04:00
jamesagnew a774a654ce Property document OperationDefinitions generated automatically by server 2015-07-19 11:10:46 -04:00
jamesagnew a35d20b999 Fix #158 - Don't encode empty tags 2015-07-18 17:35:54 -04:00
jamesagnew 3bff020c54 Add exception pre processing method to server interceptors 2015-07-18 16:31:32 -04:00
jamesagnew 626f4677e7 Fix #198 - Sorting should only sort on the individual parameter searched on, not all params of the same type 2015-07-18 15:29:24 -04:00
jamesagnew 41283d4ed4 Add $get-resource-counts operation to JPA server 2015-07-17 18:28:47 -04:00
jamesagnew ddbe79cb86 For #126 - Don't use BoundCodeableConcept for empty enums 2015-07-17 08:34:44 -04:00
jamesagnew 2fc0d4c7a2 Clean up exception handling in server, and add QuestionnaireAnswers validation for JPA server 2015-07-16 20:16:51 -04:00
jamesagnew 818c40498c Site updates 2015-07-15 08:37:56 -04:00
jamesagnew 2b69817ad9 Site updates 2015-07-14 08:54:28 -04:00
jamesagnew c8ce723a1d DOcumentation updates 2015-07-13 08:16:48 -04:00
James Agnew 350028be73 Implement meta operations in client 2015-07-10 17:36:55 -04:00
James Agnew d20b7e2c94 A few cleanups to allow example resources to commit cleanly 2015-07-07 17:27:10 -04:00
James Agnew 0f76ba81e1 Fix #196 - Support deep chained parameters in JPA. Also add support for
Prefer header.
2015-07-07 10:41:07 -04:00
jamesagnew 8b65a9aedf Indicate support for conditional create/update/delete in DSTU2 server conformance statement 2015-06-25 22:22:19 -04:00
James Agnew af33664e7c Support _count on JPA search in transaction 2015-06-25 10:32:03 -04:00
James Agnew 75f5b47762 Doc cleanup 2015-06-24 17:42:46 -04:00
James Agnew dd9f80ecb1 Clean up warnings 2015-06-24 12:26:40 -04:00
jamesagnew fed9f4d61e Add unit tests and update healthconnex server 2015-06-23 08:29:13 -04:00
James Agnew 70d4abdf06 Server should include lastUpdated in search responses if one is supplied
by the implementation. Also automatically include in this in JPA server
2015-06-22 16:27:08 -04:00
James Agnew ccc49e975f Fix #188 - Support reference parameter for sorting in JPA server 2015-06-22 14:41:43 -04:00
jamesagnew a4157c1339 Add sort on reference param for JPA server 2015-06-22 08:34:47 -04:00
jamesagnew 685fa6d164 Code and site cleanup 2015-06-21 22:10:13 -04:00
James Agnew e8c75c5a45 Add support for _lastUpdated parameter in client and JPA server 2015-06-19 17:46:14 -04:00
James Agnew 886fa76ef2 Support ifNoneMatch in transaction request 2015-06-19 16:08:35 -04:00
James Agnew 84571f993c Support Questionnaire.answers indexing in JPA server 2015-06-18 18:51:11 -04:00
James Agnew 269106074d DSTU2 server should indicate conformance for transaction operation 2015-06-18 17:49:33 -04:00
James Agnew a27acb9b79 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-06-17 14:32:42 -04:00
James Agnew 39dd48bc41 Automatically populate Bundle.entry.base when encoding a bunde 2015-06-17 14:32:11 -04:00
jamesagnew 1bde9ac5b3 Fully implement content type negotiation, and add checkstyle 2015-06-17 13:51:05 -04:00
jamesagnew 81bfc28147 Support $validate operatioh in DSTU2 client 2015-06-16 08:05:27 -04:00