Commit Graph

471 Commits

Author SHA1 Message Date
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
James Agnew 77f151901a Get coded valuesets working once again for DSTU2 resoruces 2015-08-13 17:58:31 -04:00
James Agnew 4d8efb6455 Merge branch 'dstu2_final' of github.com:jamesagnew/hapi-fhir into dstu2_final 2015-08-09 17:38:19 -04:00
James Agnew 28d35fe1fe Add tests 2015-08-09 17:28:29 -04:00
jamesagnew b28dba3540 Merge branch 'dstu2_final' of github.com:jamesagnew/hapi-fhir into dstu2_final 2015-08-09 17:20:30 -04:00
jamesagnew 12735a1446 Handle contact search params better 2015-08-09 17:17:53 -04:00
James Agnew 24634880db Update for QA version of DSTU2 2015-08-09 11:18:04 -04:00
James Agnew 5b09a3d2b6 Add trasnaction BATCH support to JPA 2015-07-31 09:29:25 -04:00
James Agnew d9d192cc04 Merge branch 'master' into dstu2_final 2015-07-30 22:34:45 -04:00
James Agnew ab2129d651 Implements support for _tag in JPA server and client 2015-07-30 07:47:37 -04:00
jamesagnew e457366ffa Start work on upgrading DSTU2 to QA version 2015-07-25 11:56:47 -04:00
James Agnew f2bf199ac7 Fix build and sync RI 2015-07-21 10:58:02 -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 93c04bd939 Another unit test for #198 2015-07-20 21:12:00 -04:00
jamesagnew 61cb60b293 Operations which are not resource type specific were not showing up in REST server's conformance 2015-07-18 18:44:46 -04:00
jamesagnew 5a450227b2 Fix unit test issues 2015-07-18 17:05:10 -04:00
jamesagnew 22ffa16bb3 Fix examples 2015-07-18 16:42:59 -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 3bdf846a3d Improve error messages in JPA server 2015-07-16 22:47:41 -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
James Agnew 901c5c29cf Version bunp for 1.2 2015-07-14 18:08:06 -04:00
James Agnew 3fa7c54526 Tag 1.1 release 2015-07-13 10:31:02 -04:00
James Agnew 350028be73 Implement meta operations in client 2015-07-10 17:36:55 -04:00
James Agnew c22aa14d29 Clean up the validation framework and integrate the QuestionnaireAnswers
validator
2015-07-10 16:05:40 -04:00
James Agnew f2a725ae53 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-07-10 09:18:14 -04:00
jamesagnew 89965fb6bd Working on valueset operations in JPA 2015-07-10 08:30:58 -04:00
James Agnew 75e9b711a5 Cleanup $everything for Patient and Encounter in JPA 2015-07-09 09:47:28 -04:00
James Agnew ad0c51f600 Rename DAO classes per request from Ismael Sarmento Jr 2015-07-07 17:41:59 -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 8a86ad5e76 Wide sweeping changes to get RI structures working in server mode 2015-07-05 17:14:15 -04:00
James Agnew 2d05b48bdc Fix broken unit test 2015-06-25 10:44:44 -04:00
James Agnew af33664e7c Support _count on JPA search in transaction 2015-06-25 10:32:03 -04:00
James Agnew dd9f80ecb1 Clean up warnings 2015-06-24 12:26:40 -04:00
James Agnew e616fc85d3 Fix build 2015-06-24 09:26:33 -04:00
jamesagnew da2d4d0497 Stlye issues only 2015-06-24 08:22:05 -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 9c89eb2dee Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-06-22 10:52:13 -04:00
James Agnew 4b0e390366 Add Unit Test 2015-06-22 10:52:07 -04:00
jamesagnew a4157c1339 Add sort on reference param for JPA server 2015-06-22 08:34:47 -04:00
jamesagnew 6907009cab Travis 2015-06-21 00:12:33 -04:00
jamesagnew 7acacda758 Travis 2015-06-21 00:07:48 -04:00
jamesagnew 772c9d1e7b Travis 2015-06-20 23:50:49 -04:00
jamesagnew 71fbfe5214 Add consolidated test package and clean up tests for cobertura 2015-06-20 14:23:34 -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
jamesagnew d0cffbf8c7 Revert change to make IdDt#isLocal() return true if the base is "urn:". This caused all kinds of regressions and was obviously a bad idea. 2015-06-18 09:00:56 -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
James Agnew 6f7ef96b97 Support $validate operation correctly in DSTU2 clients and in testpage
overlay
2015-06-16 11:56:30 -04:00
jamesagnew 81bfc28147 Support $validate operatioh in DSTU2 client 2015-06-16 08:05:27 -04:00
James Agnew a46890b0d2 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-06-12 11:09:55 -04:00
James Agnew 9b280e0ab7 Remove dependency on servlet-api in client 2015-06-12 10:02:52 -04:00
jamesagnew 0479a48a41 Correctly handle Bundle.entry.base 2015-06-12 08:27:03 -04:00
jamesagnew e536486638 Accept placeholder IDs in the JPA server even if they have no resource type in references to them (as is actually correct) 2015-06-11 21:20:27 -04:00
James Agnew 6077114b32 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-06-11 14:24:58 -04:00
James Agnew f40955c2cb Remove dependency on ServletInputStream 2015-06-11 14:24:40 -04:00
jamesagnew 4ab8871a41 POM cleanup 2015-06-09 08:22:46 -04:00
jamesagnew 78d98d4728 Fix brokebn unit test 2015-06-08 19:19:00 -04:00
James Agnew 09d97106d3 Clean up exception handling 2015-06-05 11:57:13 -04:00
James Agnew 62b0707b36 Support attributes longer than 512kb. 2015-06-04 12:19:10 -04:00
James Agnew 9b97fb0e97 Enable validation ($validate) operation in DSTU2 style 2015-06-04 10:56:13 -04:00
jamesagnew 064f113133 Clean up resource parameter handling 2015-05-31 19:38:01 -04:00
jamesagnew 8f27462db7 Add support for _revinclude in web tester UI 2015-05-31 17:31:04 -04:00
James Agnew 3280375486 Fix $everything operation in generic client if the server returns JSON 2015-05-29 17:50:18 -04:00
James Agnew b89ee3d2a7 Add unit test for JPA 2015-05-22 16:30:14 -04:00
James Agnew 0f9d4b8059 Add interceptor for syntax highlighting 2015-05-15 18:59:54 -04:00
James Agnew 7517709edb Fix #149 - Respect server address strategy for link-self on search
results
2015-05-15 17:51:06 -04:00
James Agnew da3ec668de Work on #164 - Correct performance issue 2015-05-15 15:14:55 -04:00
James Agnew fbcd15a16d Test updates 2015-05-12 18:08:10 -04:00
James Agnew 2ce921f39b Merge branch 'master' of github.com:jamesagnew/hapi-fhir into hl7org_structs 2015-05-08 18:59:00 -04:00
James Agnew 3e382ab760 More work on RI structs 2015-05-08 18:49:31 -04:00
James Agnew eeba5812cb Finalize 1.0 release 2015-05-08 17:15:50 -04:00
James Agnew e7450941bc Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-05-08 11:19:32 -04:00
jamesagnew 0f2976358f Version bump to 1.1-SNAPSHOT with more loggging 2015-05-08 08:54:40 -04:00
jamesagnew a731557516 Merge branch 'hl7org_structs' of github.com:jamesagnew/hapi-fhir into hl7org_structs 2015-05-07 21:28:31 -04:00
jamesagnew 8e81b069af Merge 2015-05-07 21:24:52 -04:00