Commit Graph

512 Commits

Author SHA1 Message Date
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
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