Commit Graph

1399 Commits

Author SHA1 Message Date
jamesagnew 9c9ffe1fb7 Remove dependency on JDK 7 2015-11-26 06:56:52 -05:00
James Agnew 1fe3bb9ff0 Updates from DevDays 2015-11-23 06:13:02 -05:00
Nick Peterson 13b3601843 Make IBoundCodeableConcept and IValueSetEnumBinder extend java.io.serializable; add a test to verify that MaritalStatusCodesEnum in DSTU2 is now serializable. 2015-11-20 12:15:31 -08:00
James Agnew c78be081ef Add CLI test 2015-11-20 10:30:10 +01:00
James Agnew 2f12c9ed01 Bump version to 1.4-SNAPSHOT 2015-11-15 20:11:05 -05:00
James Agnew f9f33f059b Version bump to 1.3 2015-11-15 12:53:02 -05:00
jamesagnew 6fd5aecec7 Fix #250 - Honour Accept: text/xml and Accept: text/json 2015-11-05 07:32:33 -05:00
jamesagnew 3fc7a16735 Fulltext searching works 2015-11-02 08:12:36 -05:00
petervanhoute 63db1b646f test in weblogic: fix interceptor + stateless on abstract 2015-10-30 11:35:11 +01: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
petervanhoute 367163c46a fix return url 2015-10-29 15:55:37 +01:00
petervanhoute a262bf64d0 fix paging 2015-10-29 15:54:09 +01:00
jamesagnew 65598c200e Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-10-28 07:39:18 -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
jamesagnew e93f7542a5 Remove unused check 2015-10-23 07:22:15 -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 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 6729ea0479 Work on support for transaction searches with paging in JPA 2015-10-19 20:21:06 -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
James Agnew a2bf374470 Merge pull request #239 from botunge/master
Make dependencies truly optionel and clean up android pom.
2015-10-12 20:06:24 -04:00
jamesagnew 81a90ecca8 Temporarily restore file 2015-10-12 20:05:21 -04:00
jamesagnew cb886c2975 Remove unused BeanUtils 2015-10-12 19:54:23 -04:00
jamesagnew b827823004 Improve efficiency of JPA queries with _lastUpdated 2015-10-12 09:32:25 -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
James Agnew 4dbd180cf6 Clean up testing 2015-10-08 17:38:14 -04:00
petervanhoute 1afaea81d6 rename jax-rs classes + add unit tests to example project 2015-10-08 09:08:22 +02:00
petervanhoute 7f910974a2 create seperate response and server interfaces and classes for servlets and jaxrs 2015-10-07 17:11:16 +02:00
jamesagnew ad868038a8 Work on Lucene searching 2015-10-07 09:01:32 -04:00
James Agnew 9fef4f6bab Allow valueset operations to work against type in JPA 2015-10-06 18:53:09 -04:00
Thomas Andersen 828a7966c7 some more test 2015-10-06 22:13:18 +02:00
Thomas Andersen 7ad5d6bba8 Move dependency on java.util.jar and java.beans to optional dependency
Move some more dependencies to optionel dependencies and write more test
for different base methods.
2015-10-06 22:13:15 +02:00
James Agnew b62eb1168c Allow server operations to work at the type level 2015-10-06 11:45:49 -04:00
James Agnew 80575b5380 Generic client now allows search by URL 2015-10-05 15:30:30 -04:00
Thomas Andersen 91afb99b7b make sure hapi fhir base creates sources jar
In order to streamline build of android jar with dependencies all
dependencies should publish a sources jar also.
2015-10-05 21:18:59 +02:00
James Agnew 43aad1eb98 Properly support chains in JPA conditional URLs 2015-10-04 15:38:58 -04:00
Thomas Andersen e040ef3f43 Merge remote-tracking branch 'upstream/master' 2015-10-04 21:07:46 +02:00
Thomas Andersen 64b70d412a move schematron validator to sub package 2015-10-04 21:05:55 +02:00
Thomas Andersen f4f57fd480 Make dependencies truly optionel + clean up / minimize android build
both Phloc and Schematron was not truly optionel since they was referred
from different files. So the references has been moved to a factory and
ObjectUtil extended for some of the missing methods, where Schematron
was used. Android pom file is cleaned so that all artifcates are build
using the same base configuration and then schematron, phloc and some
server components have been removed from artifact to minimize android
artifacts.
2015-10-04 21:05:30 +02: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
petervanhoute b4df6f9612 add server using jaxrs 2015-10-02 11:27:21 +02:00
Thomas Andersen 9560ab8dd2 Remove server code from android client and make android client smaller 2015-10-02 00:13:19 +02: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 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 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
James Agnew bd4d7e276f Fix tests 2015-09-24 10:10:05 -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 ec8b3b68f6 Work on subscription 2015-09-22 08:06:23 -04:00
jamesagnew 04c2cce13f Start working on JPA subscriptions 2015-09-21 09:08:19 -04:00
jamesagnew 70e942e9f8 Version bump to 1.3-SNAPSHOT 2015-09-19 11:00:57 -04:00
James Agnew 00bf8231ba Upgrade coveralls plugin 2015-09-16 14:02:56 -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
jamesagnew 3f7e4374b7 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-09-15 09:09:29 -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
Bryce Van Dyk 8c9e4ff39a Adjust the checkstyle location to play nice on Win
Removed the file:// prefix on the checkstyle config location, this is
needed for the site build to work on Windows. I've tested this on Linux,
though not as thouroughly.
2015-09-12 16:46:29 +12:00
jamesagnew 847b382ee8 Add tests 2015-09-10 07:51:13 -04:00
jamesagnew 8120ab2228 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-09-09 22:46:48 -04:00
jamesagnew 437625505c Add some tests and some cleanup of unused code 2015-09-09 22:41:10 -04:00
James Agnew 1961042d11 Remove useless warning 2015-09-09 16:16:18 -04:00
James Agnew 2a3088f2e2 Add tests 2015-09-09 16:08:21 -04:00
jamesagnew aa8334a99a Merge remote-tracking branch 'upstream/master' into osgi-pull-request 2015-09-09 08:41:45 -04:00
bdenton 9de81a1bd8 Providers can bedynamicaly registered at runtime 2015-09-09 07:01:15 -04:00
bdenton daedf63c46 Decouple RestfulService and ServerConformanceProvider to avoid cycle in
Spring wiring
2015-09-09 07:01:03 -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
James Agnew 69596abdc9 Once more fixing the build 2015-09-08 10:31:47 -04:00
jamesagnew a733ad0949 Fix build 2015-09-08 08:58:23 -04:00
jamesagnew 403fe28bd8 FIx build 2015-09-08 08:32:33 -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 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 8b20f3a77d Sync to 1.0.0 FHIR definitions 2015-09-03 08:07:43 -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
de Beaubien, Bill bac4c4a2e9 Fix #214 - added totalResults to the hash of valid dstu1 keywords 2015-09-01 09:58:25 -04:00
jamesagnew f04147dcfd Fix compile problem 2015-09-01 07:07:45 -04:00
jamesagnew e8f5451cc9 Fix a few issues found by FindBugs 2015-09-01 07:05:27 -04:00
James Agnew 08b19f55ad Merge pull request #213 from SingingTree/javadocs_reference_github
Update Javadocs to reference Github docs
2015-08-31 16:18:38 -04:00
jamesagnew a9f978a8a2 Udate to latest DSTU2 definitions 2015-08-31 08:20:24 -04:00
Bryce Van Dyk eb7b405419 Update Javadocs to reference Github docs
Several Javadoc comments still reference the old Sourceforge based
documentation. These have been updated to point to the Github based
documentation where relevant, or removed in one case where the Github docs
do not appear to have such a section.
2015-08-31 18:46:05 +12:00
James Agnew 98a0d5a07a Delete old deprecated classes 2015-08-28 18:19:16 -04:00
James Agnew eaa2519696 iAdd some tests 2015-08-28 18:00:32 -04:00
James Agnew 110abf7cb2 Switch from Cobertura to JaCoCo 2015-08-28 17:06:56 -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 1577859340 Fix build 2015-08-24 18:46:07 -04:00
James Agnew 2733812535 Fix build 2015-08-24 18:39:49 -04:00
James Agnew 11c5ab7892 More auto qualify resource references 2015-08-24 18:33:28 -04:00
James Agnew 83a57f8e7c Auto qualify resource IDs 2015-08-24 18:21:34 -04:00
miantorno a5a18b9a14 DateTimeDt now returns an instance of itself when the TimeZone is set. 2015-08-24 16:48:00 -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
jamesagnew 44ac164eca Work on #125 - Support _summary and _elements 2015-08-23 13:29:57 -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 6941f92090 Fix #207 - Confusing error message parsing invalid contained resources 2015-08-17 20:46:56 -04:00
James Agnew c2fba2ce21 More work on interceptors 2015-08-17 18:35:51 -04:00
James Agnew bb1e8b9ddd Last commit broke cobertura 2015-08-17 15:54:00 -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 89a7750bf4 Start working on action interceptor framework 2015-08-14 17:05:07 -04:00
James Agnew c859c9da91 Add withId(long) to fluent client read() method 2015-08-14 15:43:35 -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
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 b36e4e5841 Merge branch 'master' into dstu2_final 2015-08-06 18:07:34 -04:00
James Agnew c838d651dd Fix fluent client search call so that it can be mocked with Mockito 2015-08-06 18:06:32 -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 137a2cf7ec Enhancements to Android build 2015-08-06 10:15:58 -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 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
James Agnew 75798cf9fe Use HttpServletRequest.getContextPath to get the context path 2015-07-27 11:19:29 -04:00
jamesagnew e457366ffa Start work on upgrading DSTU2 to QA version 2015-07-25 11:56:47 -04:00
James Agnew f1d7fb7b8a Cleanup 2015-07-21 11:46:16 -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 99e92d8fca Operations in server generated conformance statement should only appear once per name, since the name needs to be unique. 2015-07-19 19:17:39 -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 5a450227b2 Fix unit test issues 2015-07-18 17:05:10 -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 57ee1fe220 Fix unit tests failing due to OperationDefinition changes 2015-07-18 14:43:59 -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 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 3bba0c0425 Add validation module for QuestionnaireAnswers 2015-07-15 17:28:12 -04:00
jamesagnew 818c40498c Site updates 2015-07-15 08:37:56 -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
jamesagnew d5b99c2c10 Fix broken build 2015-07-08 22:27:49 -04:00
James Agnew 3bfecb27a8 Update RI structures 2015-07-08 17:57:53 -04:00
James Agnew 373859c36c Fix regression 2015-07-07 18:18:11 -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
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 da2d4d0497 Stlye issues only 2015-06-24 08:22:05 -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
jamesagnew 685fa6d164 Code and site cleanup 2015-06-21 22:10:13 -04:00
jamesagnew b48843a128 More work on test coverage 2015-06-21 12:16:33 -04:00
jamesagnew 591f16fa9d Fix cobertura 2015-06-21 00:56:23 -04:00
jamesagnew e9ac63688c Finally have travis and coveralls working! 2015-06-21 00:48:10 -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 12f3cfcab8 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-06-18 17:49:54 -04:00
James Agnew 269106074d DSTU2 server should indicate conformance for transaction operation 2015-06-18 17:49:33 -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
jamesagnew 0f2d742872 Documentation updates 2015-06-17 19:56:57 -04:00
James Agnew 9cf2b18d5d Fix broken unit test 2015-06-17 16:17:16 -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
jamesagnew 7086508ead Start working on DSTU2 support for testpage overlay 2015-06-15 08:33:18 -04:00
James Agnew 0cc53ca742 Documentation updates 2015-06-12 17:50:01 -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
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 fc4d2ae7e2 Work on conformance generation for operations 2015-06-04 22:23:57 -04:00
jamesagnew 4d9b2c6e8c Fix #175 - Correctly parse ™ 2015-06-04 20:24:47 -04:00
James Agnew f9a9232926 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-06-04 12:20:17 -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 8c3c8e215f Fix #178 - Allow links in Bundle.entry when parsing old Bundle in DSTU2 mode 2015-06-04 08:19:17 -04:00
jamesagnew e5b402cb14 Allow raw access to resource body in create/update/etc 2015-06-01 09:21:41 -04:00
jamesagnew 064f113133 Clean up resource parameter handling 2015-05-31 19:38:01 -04:00
jamesagnew 4a5e13b301 Work on synchronizing the HL7.org structures 2015-05-31 16:52:31 -04:00
James Agnew 3280375486 Fix $everything operation in generic client if the server returns JSON 2015-05-29 17:50:18 -04:00
jamesagnew 11d22b1b1f Site updates and clean up RI IdType 2015-05-28 08:35:49 -04:00
jamesagnew 834710df9b Work on #152 - Improved validation framework to enable failing if unexpected elements are found 2015-05-26 21:03:49 -04:00
jamesagnew e22f52ca44 Add paging methods to generic client for DSTU2 bundle 2015-05-25 07:59:06 -04:00
James Agnew ec3c94a823 Update RI structures 2015-05-22 17:32:36 -04:00
James Agnew ff6884223e Fix #170 - Better addXXX methods in structures. Also don't incorrectly
include IDs in client create requests, and add better getLink methods
to the bew Bundle resource structure.
2015-05-21 15:18:46 -04:00
James Agnew 30c7027616 Fix #149 - Use correct base URL on subsequent pages 2015-05-20 17:29:27 -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
jamesagnew e9c09c6ba0 Encode meta element even if it only contains tags 2015-05-09 18:01:53 -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
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
jamesagnew dfbe2415d1 Merge branch 'master' of github.com:jamesagnew/hapi-fhir into hl7org_structs 2015-05-07 21:24:34 -04:00
jamesagnew 924ebf062e Preparing for 1.0 release 2015-05-07 20:51:37 -04:00
James Agnew fcbe969967 Disable broken unit test in JPA server for now 2015-05-06 10:24:27 -04:00
James Agnew 3a5d2e892a About to commit to SVN as well 2015-05-05 18:16:22 -04:00
James Agnew 05cccdb6e5 More work on structs 2015-05-05 13:16:10 -04:00
James Agnew 496333b5e0 Merge branch 'master' of github.com:jamesagnew/hapi-fhir into hl7org_structs 2015-05-04 11:08:37 -07:00
James Agnew 7585256037 Add some logging 2015-05-04 11:08:01 -07:00
James Agnew ab6cb24f5a Merge branch 'master' of github.com:jamesagnew/hapi-fhir into hl7org_structs 2015-05-04 10:05:57 -07:00
James Agnew 0af3518772 Merge pull request #171 from joel-costigliola/master
Fix #169 - Add an exception for HTTP 403 Forbidden error
2015-05-04 10:04:27 -07:00
James Agnew ab7b1c3a4f Merge branch 'master' of github.com:jamesagnew/hapi-fhir into hl7org_structs 2015-05-02 14:38:14 -07:00
James Agnew ae81ad29f6 Unit tests all passing 2015-05-02 14:04:43 -07:00
James Agnew aa2f2cee96 Merge branch 'hl7org_structs' of github.com:jamesagnew/hapi-fhir into hl7org_structs 2015-05-01 13:52:24 -07:00
James Agnew 880ab84ce8 More work on structs 2015-05-01 12:27:56 -07:00
James Agnew 3fe60c3f1b Start syncing changes with SVN 2015-05-01 13:07:47 -04:00
James Agnew cb9716f885 More work to get build working 2015-05-01 11:44:06 -04:00
James Agnew 61f2838b3a More work getting unit tests passing 2015-05-01 11:16:41 -04:00
James Agnew 629bc5b7d3 HL7org unit tests all pass 2015-05-01 11:09:29 -04:00
James Agnew 9755ae8d35 Merge branch 'master' of github.com:jamesagnew/hapi-fhir into hl7org_structs 2015-05-01 10:24:15 -04:00
James Agnew 20a16d62fe More work on bugfixing #164 - Support for :missing 2015-05-01 08:20:01 -04:00
Joel Costigliola 00f83ee3a7 Fix #169 - Add an exception for HTTP 403 Forbidden error 2015-05-02 00:19:04 +12:00
James Agnew 3fc6958ff2 Work on #164 - Add support for :missing in JPA server 2015-04-30 19:26:26 -04:00
James Agnew 5f4a966077 Work on #164 - Improve error messages when an invalid or missing content
type header is detected for creat/update requests
2015-04-30 12:04:51 -04:00
James Agnew 5cf5bb0473 Fix #167 - Rename "myEntityManagerFactory" to just
"entityManagerFactory" as this is the default expected in some spots in
Spring
2015-04-30 09:36:14 -04:00
James Agnew cb7d94841e Fix #168 - Client conformance check should use any registered client
interceptors
2015-04-29 20:02:01 -04:00
James Agnew b68ce95b3f Fix #36 - Allow removal of extensions 2015-04-28 13:58:22 -04:00
James Agnew 3a1cc48048 Fix broken unit test and allow invalid dates in web testewr UI 2015-04-28 10:33:14 -04:00
James Agnew 5e8fe01af1 Allow fluent client users to execute a transaction using a string as
input
2015-04-27 13:19:40 -04:00
jamesagnew f8dee1f47a Merge branch 'master' of github.com:jamesagnew/hapi-fhir into hl7org_structs 2015-04-24 09:05:34 -04:00
jamesagnew 3d00800212 Fix #163 - Parser doesn't populate resource ID's Resource type 2015-04-23 22:19:04 -04:00
jamesagnew e6d087b1f6 Add docs to explain #161 2015-04-23 21:46:49 -04:00
James Agnew 7db7097e25 Fix #162 - Allow web testing UI to configure the client 2015-04-23 17:52:51 -04:00
James Agnew 8072ca1bc1 Do HTTP post for tester UI create/updates 2015-04-23 16:57:50 -04:00
jamesagnew 5bcd6a4751 Don't include an mpty text element in Bundles being returned by the server 2015-04-23 08:04:05 -04:00
James Agnew e18433d709 Trying to remove empty text node 2015-04-22 17:45:00 -04:00
James Agnew 37ed62f863 Add advanced JPA example 2015-04-22 10:08:33 -04:00
jamesagnew 147305b70e More work on getting HL7org structs working 2015-04-22 07:46:33 -04:00
jamesagnew b222b76611 Merge branch 'master' of github.com:jamesagnew/hapi-fhir into hl7org_structs
Conflicts:
	hapi-fhir-android/pom.xml
	hapi-fhir-base/src/main/java/ca/uhn/fhir/parser/JsonParser.java
	hapi-fhir-base/src/main/java/ca/uhn/fhir/parser/XmlParser.java
	hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/server/RestfulServerUtils.java
	hapi-fhir-base/src/main/java/ca/uhn/fhir/util/FhirTerser.java
	hapi-fhir-testpage-overlay/.gitignore
	src/changes/changes.xml
2015-04-21 13:30:58 -04:00
James Agnew 91167733c6 Don't return a Content-Location header when returning the new bundle
format
2015-04-20 17:32:20 -04:00
James Agnew 4f1d2a3c75 Merging cleanup from local branch with commit from #153 2015-04-20 15:28:20 -04:00
James Agnew 02070affbf Merge pull request #153 from mochaholic/master
Read server interceptors from the spring context.
2015-04-20 14:47:24 -04:00
James Agnew b42737262b Work on HL7org structs 2015-04-20 07:31:45 -04:00
James Agnew eddcf5f4d8 Merge branch 'hl7org_structs' of github.com:jamesagnew/hapi-fhir into hl7org_structs 2015-04-15 16:37:35 -04:00
James Agnew 3db46c2db2 More work on hl7org strfucts 2015-04-15 16:37:24 -04:00
b.debeaubien de1effbf52 #157 - removed published from dstu1 bundle, as it should only be present for bundleEntry 2015-04-15 11:10:08 -04:00
James Agnew 41c215efe2 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-04-15 10:57:43 -04:00
James Agnew ddd68b8d57 Credit for #155 2015-04-15 10:57:15 -04:00
James Agnew 7f7ff5c936 Merge pull request #155 from wdebeau1/master
#154 - FhirTerser now uses the complete path to a resource when creating...
2015-04-15 10:48:52 -04:00
jamesagnew cfff2006ec More work on HL7org structs 2015-04-15 07:49:18 -04:00
jamesagnew 2edc7eadab Work on HL7.org structs 2015-04-13 08:32:49 -04:00
jamesagnew b6f2b57ed9 Work on HL7 structs 2015-04-10 08:02:05 -04:00
jamesagnew 8c873ef023 Remove hard coded persistence context name 2015-04-09 21:44:18 -04:00
b.debeaubien 6918bb6b4b #154 - FhirTerser now uses the complete path to a resource when creating ResourceReferenceInfo entries 2015-04-09 14:06:14 -04:00
mochaholic 3003b5e17b Update to the latest upstream. 2015-04-09 07:25:09 -06:00
mochaholic e4b5943314 Merge remote-tracking branch 'origin/master'
Conflicts:
	hapi-fhir-base/src/main/java/ca/uhn/fhir/parser/JsonParser.java
	hapi-fhir-base/src/main/java/ca/uhn/fhir/parser/XmlParser.java
2015-04-09 07:24:40 -06:00
jamesagnew 11507ef97c Fix #148 - Add _count support to everything operation 2015-04-05 14:53:15 -04:00
jamesagnew 8c37973a78 Fix #147 - no duplicates in 'everything' operation 2015-04-04 23:36:04 -04:00
jamesagnew 461fdb50ce Fix #143 and fix #146 - Issues with resource references for non contained resources when parsing a DSTU2 bundle, and issues encoding contained resources when encoding JSON 2015-04-03 15:42:02 -04:00
James Agnew 29140691d1 Add a bit of documentation to note the inclusion of #138 2015-04-02 13:06:17 -04:00
James Agnew 94af375e4d Fix #116 - Preserve _include links across pages 2015-04-02 12:49:45 -04:00
jamesagnew e63323ca5c Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-04-01 21:46:49 -04:00
James Agnew 065b87c31e Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-04-01 16:29:04 -04:00
James Agnew 25a9c254e3 Sync to DSTU2 again 2015-04-01 16:03:54 -04:00
b.debeaubien 243b9a71a4 #138 - rewrote to always use super's address base, then fixup the host name and protocol 2015-03-31 12:53:40 -04:00
b.debeaubien d111d19071 #138 - if x-forwarded-proto is set, use that 2015-03-30 17:23:50 -04:00
b.debeaubien dbc944f4fc #138 - AddressStrategy that can cope with addresses proxied by Apache http server 2015-03-30 12:20:47 -04:00
jamesagnew d6e8b66301 Add Google Errorprone compiler to build 2015-03-28 19:28:34 -04:00
James Agnew 690bcb4b68 Add support for a NarrativeModeEnum parameter to interact with
_narrative in the request URL
2015-03-27 16:52:48 -04:00
James Agnew c484425c78 Update license file generation and gitignores 2015-03-26 11:57:07 -04:00
jamesagnew 986094617a Fix #135 - Remove Eclipse and IntelliJ artifacts from version control 2015-03-26 07:56:24 -04:00
James Agnew f9b8432d65 Searching in JPA server with no search parameters returns deleted
resources when it should exclude them
2015-03-24 18:39:19 -04:00
James Agnew 0c8f50737f Sync to latest version of DSTU2 2015-03-24 17:19:34 -04:00
James Agnew c7558c7780 Fix #131 - Narrative generator incorrectly sets the Resource.text.status
to 'generated' even if the given resource type does not have a template
(and therefore no narrative is actually generated).
2015-03-24 17:18:34 -04:00
James Agnew cffda7539f Work on support for $everything operation 2015-03-23 19:06:14 -04:00
James Agnew c8a70c1904 Fix #124 - Resource references shouldn't include version when they are
encoded
2015-03-23 07:55:32 +01:00
James Agnew e84fdb33b0 Fix up some regressions caused by move to DSTU2 style include paths and
work on revincludes
2015-03-22 16:59:10 +01:00
James Agnew 596dd664f9 Switch JPA server to use new include style 2015-03-22 13:04:52 +01:00
James Agnew 4426080374 Documentaiton on idempotence 2015-03-21 09:12:41 +01:00
James Agnew cc7e8c424c Merge branch 'master' of github.com:jamesagnew/hapi-fhir
Conflicts:
	hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/server/RestfulServer.java
	hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/server/interceptor/ExceptionHandlingInterceptor.java
2015-03-21 08:58:49 +01:00
James Agnew 8f93366a43 Allow operations to work with GET 2015-03-21 01:03:57 +01:00
b.debeaubien 5956ab75fd #128 - pass RestfulServer into exception handlers so they don't need to use the possibly null RequestDetail to sort out the server and server base 2015-03-19 10:05:29 -04:00
James Agnew 5ee0286914 Fix #128 - Regression in 0.9 - Server fails with an HTTP 500 and NPE if
the client requests an unknown resource type
2015-03-19 13:51:03 +01:00
James Agnew 1c46989d00 Fix unit test failure 2015-03-19 13:26:16 +01:00
James Agnew 6020368162 Add setEncoding and setPrettyPrint methods to generic client, and add
documentation for #113
2015-03-19 12:16:04 +01:00
James Agnew 95d5503a9a Fix #113 - Handle contained resources with non-local IDs 2015-03-19 11:49:25 +01:00
James Agnew c3877c1da9 Add tests for operations 2015-03-19 06:03:23 -04:00
James Agnew 75877c18eb Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-03-17 10:03:51 -04:00
jamesagnew 577f26cb74 Version bump a few dependencies 2015-03-17 08:11:42 -04:00
James Agnew 823bb4ed82 Add support for profiles and tags in meta for DSTU2 2015-03-16 17:02:44 -04:00
jamesagnew 43e2cd1653 Version bump to 1.0-SNAPSHOT 2015-03-16 09:06:53 -04:00
jamesagnew faf7c410e1 Fix transaction parsing bug for DSTU2 using old Bundle format. Finalize documentation for 0.9 2015-03-14 15:06:32 -04:00
James Agnew adfbfcb96b Site and dist updates for 0.9 release 2015-03-13 17:59:55 -04:00
jamesagnew 3c6febb668 Preparing for 0.9 release 2015-03-13 08:34:52 -04:00
jamesagnew 7540203836 Fix #108 - Don't check the server version from the client until the first actual request 2015-03-12 22:15:15 -04:00
b.debeaubien bac290bc89 #77 - Fixed wildcard string compare that was breaking inclusion 2015-03-12 10:32:22 -04:00
James Agnew 7f9b1baa14 Fix build problem 2015-03-11 22:31:20 -04:00
James Agnew 8434f96e97 Fix #111 - Don't return stack traces in server responses y default 2015-03-11 17:18:42 -04:00
James Agnew 4ac0ef4374 Add the ability to configure the default pretty-print and encoding for a
server
2015-03-11 14:16:32 -04:00
James Agnew a2e562de64 Implement sorting on _id and clean up create/update semantics for DSTU2 2015-03-11 12:49:47 -04:00
jamesagnew 1a4a23bdc5 Credit for #120 2015-03-11 09:11:36 -04:00
James Agnew 9a9501c53f JPA demo enhancements and site work 2015-03-10 17:56:55 -04:00
jamesagnew 009815786f Site updates 2015-03-10 08:40:15 -04:00
jamesagnew 102f509120 Merging #117 2015-03-09 19:29:54 -04:00
jamesagnew 2ca0b5e85b Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-03-09 19:21:18 -04:00
jamesagnew 4682f953bc Fix #122 - Thanks to Ryan for reporting! 2015-03-09 19:20:48 -04:00
James Agnew 1fec2d0d67 -Accept content type of "application/fhir+xml" as XML encoding
-Correctly handle back button in testing UI for Firefox searches
2015-03-09 13:35:21 -04:00
jamesagnew 5fd987c497 Work on sort support in JPA 2015-03-09 08:01:13 -04:00
jamesagnew da1d49a108 Correctly index Observation.applies[x] in JPA server 2015-03-08 16:55:42 -04:00
jamesagnew 32ad3ab22c Complete Extended Operations support 2015-03-08 15:40:04 -04:00
jamesagnew 06ea9a1453 More work on operation support for DSTU2 2015-03-06 17:55:35 -05:00
James Agnew 7a953bf5de More work on operations support for DSTU2 2015-03-06 13:05:56 -05:00
jamesagnew 967d44326b Reinstate DEV structures for now 2015-03-05 08:37:50 -05:00
James Agnew 082b9cfc4b Performance enhancements 2015-03-04 13:50:58 -05:00
jamesagnew b68d07b546 Work on operation support in client 2015-03-04 08:44:31 -05:00
James Agnew fc4fb07562 Work on history suport for fluent client 2015-03-03 18:31:01 -05:00
jamesagnew 27e126254c More work on operations in client 2015-03-03 08:22:26 -05:00
James Agnew 45f30deee2 Start working on operations in client 2015-03-03 07:45:37 -05:00
James Agnew dae2a810d6 Update resource definitions for DSSTU2 2015-03-02 22:39:53 -05:00
James Agnew 722f08de13 Site updates 2015-03-02 17:04:09 -05:00
James Agnew 748efc4a97 Site updates 2015-03-02 06:56:16 -05:00
jamesagnew a81e081798 Work on transaction support for DSTU2 2015-03-01 18:00:06 -05:00
James Agnew db65d5db59 Work on support for new bundle format in DSTU2 2015-02-27 18:09:24 -05:00
jamesagnew 6580abe5f2 Add some new tests for JPA DSTU2 operations 2015-02-27 08:45:34 -05:00
James Agnew 0f2eb230e7 More work on getting conditional updates working 2015-02-26 17:17:22 -05:00
James Agnew ecd3620e27 Add configurable default response encoding to server, and serve Binary
resources as FHIR resources instead of blobs if the user has explicitly
requested an encoding
2015-02-25 11:18:37 -05:00
jamesagnew 3812260a55 Fix #110 - Support DSTU2 Security Labels, merging in Pull Request from Mohammad Jafari - Merge branch 'master' of https://github.com/mochaholic/hapi-fhir into mochaholic-master
Conflicts:
	hapi-fhir-structures-dstu2/src/test/java/ca/uhn/fhir/rest/server/UpdateConditionalTest.java
2015-02-24 07:49:31 -05:00
mochaholic 8a2f9ff983 Fixed this bug: the security labels wouldn't be encoded if versionId or lastUpdated weren't present. 2015-02-23 21:10:38 -07:00
James Agnew c2a6e78e67 Add conditional deletes and updates 2015-02-23 18:27:13 -05:00
mochaholic 64715477bd Merged with the latest master snapshot. 2015-02-23 11:35:27 -07:00
James Agnew 819dc67d71 Just automated license file updates 2015-02-23 13:24:17 -05:00
mochaholic 9cd005e9e3 Merged with the latest master snapshot. 2015-02-23 09:14:29 -07:00
jamesagnew 315ad439e4 Work on adding conditional HTTP operations to client and JPA server 2015-02-23 09:08:59 -05:00
mochaholic c13b0363dd Merged with the latest master snapshot. 2015-02-21 23:57:47 -07:00
James Agnew 0f01260301 Get extensions working for HL7.org structures 2015-02-20 17:34:13 -05:00
mochaholic 31d4dcdb90 Added preliminary support for DSTU2-style security labels. 2015-02-19 18:14:02 -07:00
James Agnew cf3a78ecd2 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-02-19 10:27:52 -05:00
jamesagnew 4f93ab9313 Work on JPA Transaction for DSTU2 2015-02-18 22:23:46 -05:00
James Agnew dbeb6c09c6 More work on new structures 2015-02-18 17:00:47 -05:00
James Agnew 7d62951f71 Fix the build for real! 2015-02-17 16:06:28 -05:00
jamesagnew 3631160269 Fix build 2015-02-17 13:54:26 -05:00
jamesagnew 7e1f9cfdbf More work on new bundle type 2015-02-17 08:45:40 -05:00
jamesagnew 70aa4e812d Work on build 2015-02-16 23:02:50 -05:00
jamesagnew e845ab7a40 Work on Android 2015-02-16 14:17:29 -05:00
jamesagnew 795041a514 More work on struct integration 2015-02-16 11:33:46 -05:00
jamesagnew 6a036dabe5 Remove most valuesets out of core 2015-02-14 16:14:52 -05:00
jamesagnew 6012a60ccf Tests all pass on deparated structure defs! 2015-02-14 13:27:11 -05:00
James Agnew 7492b25325 More work on separating versions 2015-02-13 18:01:55 -05:00
James Agnew 86e8103657 More work on splitting out resources to different versions 2015-02-13 14:17:44 -05:00
James Agnew 35a2f852fe Start work on decoupling dstu1 structures 2015-02-12 17:32:00 -05:00
jamesagnew 46b6979125 Unescape Read ID and Version IDs 2015-02-10 14:57:16 -05:00
jamesagnew 9828d27eec Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-02-09 22:26:17 -05:00
James Agnew c8bd93ba92 Fix #101 - Calling BaseDateTimeDt#setValue(Date, TemporalPrecisionEnum) did not always actually respect the given precision when the value was encoded. Thanks to jacksonjesse for reporting! 2015-02-09 14:50:13 -05:00
jamesagnew 5600ba6763 Implement DSTU2 transaction semantics in JPA 2015-02-08 19:21:29 -05:00
James Agnew f4805f83d1 Create DSTU2 project 2015-02-06 15:50:29 -05:00
James Agnew 91f8c3f26f Fix #103 - Don't encode contained resources unless they are actualy
referenced somewhere in the resource body
2015-02-05 12:07:37 -05:00
James Agnew 37e2abb4e2 Fix #100 - HAPI failed to initialize in an environment without Woodstox
on the classpath. Will deploy a new snapshot shortly.
2015-02-04 14:15:11 -05:00
James Agnew a474870a1e Work on JPA example 2015-02-03 17:53:22 -05:00
James Agnew 309ba79c6f Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-02-03 10:40:25 -05:00
James Agnew 3249b0cb12 Merge pull request #97 from twilson650/patch-2
Update DateClientParam.java
2015-02-03 10:36:59 -05:00
James Agnew a3be361e40 Add some tests for #82 - Not working, but we have tests at least 2015-01-29 14:37:55 -05:00
James Agnew 6c6685137f Lots of tweaks for DSTU2 support 2015-01-29 11:34:57 -05:00
jamesagnew af8bf42e1d Fix reression from #86 2015-01-28 07:52:47 -05:00
jamesagnew 9bee09efcd Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-01-27 21:56:23 -05:00
James Agnew 84cea27f44 Merge pull request #86 from harsha89/master
extracting request path generating code to protected method in order to ...
2015-01-27 17:49:58 -05:00
James Agnew 1f9d9a7957 Merge pull request #78 from ahenket/patch-2
Update RestfulServer.java
2015-01-27 15:04:39 -05:00
James Agnew 8f52954ec9 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-01-27 14:59:42 -05:00
James Agnew d3d242bc7e Documentation updates 2015-01-27 14:59:10 -05:00
James Agnew f463e0453e Merge pull request #74 from wdebeau1/master
#73 - added matchesToken method to BaseCodingDt and doesCodingListMatch ...
2015-01-27 14:57:47 -05:00
Tom Wilson 8eb659cf27 Update DateClientParam.java
method "second" has been using DAY precision.
2015-01-26 13:17:22 -08:00
jamesagnew c36cbb893d Fix some broken unit tests and do a few documentation updates 2015-01-24 16:17:20 +01:00
jamesagnew e19e96db28 Fix #88 - Client should check which FHIR version the server implements and fail if it is incorrect for the client 2015-01-24 14:51:47 +01:00
jamesagnew aa8684c977 Working on #89 - Won't mark it until server is redeployed though 2015-01-24 13:01:32 +01:00
jamesagnew 15a57242aa Fix #91 - Unable to add more than two extensions with unknown orders to a custom resource 2015-01-24 07:42:14 +01:00
jamesagnew cc5c014331 Fix #84 - Use multiple <contained/> tags, one for each contained resource instead of putting all contained resources in a single <contained/> tag 2015-01-24 01:39:59 +05:30
jamesagnew 18acda7be2 Get all of the unit tests passing for DSTU1/DSTU2 split 2015-01-24 01:07:09 +05:30
harsha89 4c998d2f1b extracting request path generating code to protected method in order to users to have their own mapping to FHIR HAPI rest server #85 2015-01-15 14:45:21 +05:30
b.debeaubien f7209b45ef #73 - added matchesToken method to BaseCodingDt and doesCodingListMatch to TokenOrListParam 2015-01-12 08:18:36 -05:00
jamesagnew 96fe70de59 Clean up metadata parsing in XML parser 2015-01-10 13:44:40 -05:00
jamesagnew 6dfb5d03e4 Remove redundant <meta/> element from XML resource encoding 2015-01-10 11:18:42 -05:00
jamesagnew 8f8f9ed308 Server create and update methods failed with an IllegalArgumentException if the method type was a custom resource definition type (instead of a built-in HAPI type). Thanks to Neal Acharya for the analysis. 2015-01-10 07:42:46 -05:00
jamesagnew 1063b6cf1e Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-01-09 22:02:56 -05:00
jamesagnew fb5a775fbd Add support for bundle entry states 2015-01-09 22:02:31 -05:00
James Agnew 8e73705000 Work on Android binary - This commit appears huge because the License
plugin just updated the year on everything to 2015
2015-01-09 16:15:55 -05:00
Alexander Henket 261ed51c7f Update RestfulServer.java
I believe that in line 538 you are falsely assuming that multiple _* parts in the path could not happen. As of DSTU2 there's _meta/_delete. Unfortunately the DSTU for Comment erroneously lists _meta-delete.
2015-01-07 13:24:28 +01:00
jamesagnew 1fd3bd93b1 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-01-05 21:19:58 -05:00
jamesagnew f1c151b2f5 Documentation 2015-01-05 21:19:47 -05:00
James Agnew c786b00950 Add status to bundle entries 2015-01-05 17:57:35 -05:00
James Agnew 6b3d92fde1 Cleaning up JavaDocs to allow building in Java 8 2014-12-30 16:39:38 -05:00
James Agnew 0b44a32910 Fix #69 2014-12-29 17:20:34 -05:00
jamesagnew c73e867736 Merge branch 'master' of github.com:jamesagnew/hapi-fhir
Conflicts:
	hapi-fhir-jpaserver-uhnfhirtest/src/main/java/ca/uhn/fhirtest/TestRestfulServer.java
2014-12-29 09:35:34 -05:00
jamesagnew fd8ba68e62 Implementing ETag support 2014-12-29 09:33:36 -05:00
James Agnew b856c2386b Better logging for public server 2014-12-23 15:44:54 -05:00
James Agnew 81851f4808 Fix #65 - Correctly parse and encode extensions on non-repeatable
primitive fields
2014-12-23 14:10:53 -05:00
James Agnew 81f9e492f3 Merge branch 'master' of github.com:jamesagnew/hapi-fhir
Conflicts:
	src/changes/changes.xml
2014-12-23 09:43:46 -05:00
James Agnew c8adab5452 Better logging in JPA 2014-12-23 09:42:16 -05:00
jamesagnew 31d61100db Fix #67 - Correctly parse local IDs in IdDt even if they look like real IDs 2014-12-22 22:37:24 -05:00
James Agnew 5a0ef91337 Get public server working with DSTU2 2014-12-22 12:03:02 -05:00
jamesagnew 994e49057d Lots of work on DSTU2 server 2014-12-21 18:13:37 -05:00
jamesagnew 4ca405a8fc Unit tests all pass again, elements in baseresouerce reordered 2014-12-19 09:14:40 -05:00
James Agnew c5d014e9ee More work on getting unit tests passing for DEV resources 2014-12-18 17:34:33 -05:00
jamesagnew a044eb51d7 Working on binary resources in DEV 2014-12-18 08:21:07 -05:00
jamesagnew 1f3991caf9 Bump version to 0.9-SNAPSHOT 2014-12-17 17:04:10 -05:00
jamesagnew 3963bb68e8 Merge remote-tracking branch 'origin/master' into hl7org_structs
Conflicts:
	hapi-fhir-base/src/main/java/ca/uhn/fhir/model/api/IFhirVersion.java
	hapi-fhir-structures-dstu/src/main/java/ca/uhn/fhir/model/dstu/FhirDstu1.java
2014-12-17 16:08:59 -05:00
jamesagnew 7e8f81293e Tagging and deploying 0.8 2014-12-17 14:22:10 -05:00
jamesagnew a46183ddb8 Add some documentation for #59 2014-12-17 12:40:22 -05:00
James Agnew 2d5293c2ef Merge pull request #63 from wdebeau1/master
Fix for #59
2014-12-17 12:25:07 -05:00
James Agnew 35b5f90318 Merge remote-tracking branch 'origin/master' into hl7org_structs
Conflicts:
	hapi-fhir-structures-hl7org-dev/.gitignore
2014-12-16 11:32:58 -05:00
b.debeaubien 8865a77227 #59 - More sorting out profile vs id problem 2014-12-16 11:25:57 -05:00
James Agnew 326aa515a9 Fix #60 - Client did not correctly send charset declaration as a part of
content-type header on POST/PUT requests
2014-12-16 11:09:26 -05:00
b.debeaubien d0db838f45 #59 - More sorting out profile vs id problem 2014-12-16 09:25:12 -05:00
James Agnew 551ffb43b4 More work on DEV operations 2014-12-15 17:41:24 -05:00
jamesagnew 59ba1c9f7b Almost have unit tests passing 2014-12-14 22:29:15 -05:00
jamesagnew ebd0f222f4 Remove artifacts from merge 2014-12-13 13:03:38 -05:00
James Agnew e2aea7d1b2 More merging 2014-12-12 17:18:13 -05:00
b.debeaubien 1501b3e278 #59 - Start of sorting out profile vs id problem 2014-12-12 11:52:04 -05:00
James Agnew 2f7cbeb348 Merge branch 'hl7org_v08' of github.com:jamesagnew/hapi-fhir into hl7org_structs
Conflicts:
	hapi-fhir-base/src/main/java/ca/uhn/fhir/context/FhirContext.java
	hapi-fhir-base/src/main/java/ca/uhn/fhir/context/ModelScanner.java
	hapi-fhir-base/src/main/java/ca/uhn/fhir/model/primitive/IdDt.java
	hapi-fhir-base/src/main/java/ca/uhn/fhir/parser/JsonParser.java
	hapi-fhir-base/src/main/java/ca/uhn/fhir/parser/ParserState.java
	hapi-fhir-base/src/main/java/ca/uhn/fhir/parser/XmlParser.java
	hapi-fhir-structures-dstu/src/main/java/ca/uhn/fhir/model/dstu/FhirDstu1.java
2014-12-11 16:07:00 -05:00
jamesagnew e1aa3f335e Unit tests all pass! 2014-12-10 22:02:31 -05:00
James Agnew d8e14e4213 ...more work on HL7 structs 2014-12-10 17:40:47 -05:00
James Agnew ec8fdc7d68 More work on HL7.org structs 2014-12-10 14:28:25 -05:00
James Agnew 463fe249e6 Merge remote-tracking branch 'origin/master' into hl7org_structs 2014-12-10 11:09:44 -05:00
James Agnew c4c26e482f Fix a compile issue reported by Bill de Beaubien 2014-12-10 10:17:33 -05:00
jamesagnew 26e60b1b85 More work on hl7.org structs 2014-12-10 09:25:15 -05:00
jamesagnew cee02ea605 More structures work from hl7 2014-12-09 08:24:35 -05:00
James Agnew 45e48c62bf More structures work 2014-12-05 18:06:25 -05:00
James Agnew c901330583 Fix build failure 2014-12-04 11:41:13 -05:00
James Agnew ecadd83711 Return a better error message if the server finds multiple resource
providers for the same resource type
2014-12-04 11:04:53 -05:00
James Agnew a346219930 Just some work on the structs 2014-12-03 17:41:32 -05:00
James Agnew 29dab8bad9 Messing around with the POM to try and get android working 2014-12-03 17:09:13 -05:00
James Agnew 826fa1d7c1 Merge branch 'master' of github.com:jamesagnew/hapi-fhir
Conflicts:
	hapi-fhir-tutorial/simple-server/src/main/java/ca/uhn/fhir/example/ex3/Example03_PatientResourceProvider.java
	hapi-fhir-tutorial/simple-server/src/main/java/ca/uhn/fhir/example/ex3/Example03_SimpleRestfulServer.java
	src/changes/changes.xml
2014-12-03 13:49:19 -05:00
James Agnew 3ca9fbbebb Encoding a Binary resource without a content type set should not result
in a NullPointerException.
2014-12-03 13:46:46 -05:00
lmds1 df05f00b80 updated patient auditor to get patient name as a string from basehumannamedt 2014-12-03 13:21:23 -05:00
jamesagnew c294e1c064 Begin multi version work 2014-12-01 08:13:32 -05:00
jamesagnew 383d4929c8 Fix #57: Date/Time types should not throw exceptions for bad precision on setValue(String) but should for constructors 2014-11-25 09:14:11 +01:00
James Agnew 028c349d10 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2014-11-21 12:24:40 -05:00
James Agnew 24595ca6db Documentation updates 2014-11-21 12:24:31 -05:00
b.debeaubien 428af56c82 Fixed issue where empty narrative caused a StringIndexOutOfBoundsException
Fixed encoding issue on XmlParserTest so it'll run in windows
2014-11-21 12:19:18 -05:00
James Agnew 51f2ce1e37 Do not share interceptors between individual interface based client
instances
2014-11-21 11:39:21 -05:00
James Agnew 284625a1bc Merge pull request #54 from jjathman/master
Fixes #51 - cache whether or not validation was successful when the Vali...
2014-11-20 16:28:33 -05:00
James Agnew 06a1e459d4 Returned resource objects from server methods should not be modified
while converting to a bundle
2014-11-20 14:42:24 -05:00
James Agnew 87b5ac2449 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2014-11-20 10:16:18 -05:00
James Agnew 39cddf59ac More tutorial code 2014-11-20 10:15:58 -05:00
Tahura Chaudhry c95af615f1 Merge branch 'master' of https://github.com/jamesagnew/hapi-fhir 2014-11-19 14:22:35 -05:00
tahura 641e3cefd4 now adding Resources within contained to the Bundle 2014-11-19 14:19:39 -05:00
James Agnew 74b15e2295 Add a new date/time setter and update documentation 2014-11-19 11:29:33 -05:00
jamesagnew 8264f06ef7 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2014-11-19 07:28:30 -05:00
jamesagnew c01e2021d0 Documentation and samples 2014-11-19 07:27:52 -05:00
Joseph Athman 0cce1d21df Fixes #51 - cache whether or not validation was successful when the ValidationResult object is created so that mutations to the underlying OperationOutcome do not change the validation result success status. 2014-11-18 22:17:22 -06:00
James Agnew 7ca4bc30d2 Dont overwrite absolute IDs in the server 2014-11-18 14:29:57 -05:00
James Agnew d8fa4696d9 Merge pull request #53 from petromykhailysyn/master
In DateDt DEFAULT_PRECISION was added to default constructor.
2014-11-18 13:55:03 -05:00
James Agnew 14a8f4f4cf JPA module now handles search params with | in them - More work on #52 2014-11-18 13:11:05 -05:00
petromykhailyshyn e253d166c7 In DateDt DEFAULT_PRECISION was added to default constructor. 2014-11-18 16:21:54 +02:00
James Agnew 93c34fdbbe Fix issue #52 - JPA module won't save resource types with empty path
search params
2014-11-17 16:58:34 -05:00
jamesagnew 23de3c53b7 Merge branch 'issue50'
Conflicts:
	hapi-fhir-base/src/main/java/ca/uhn/fhir/model/primitive/BaseDateTimeDt.java
2014-11-17 14:41:27 -05:00
jamesagnew 1b7586f7ed Fix #50 - Primitive datatypes now retain their textual values as well as the "parsed" values 2014-11-16 21:38:25 -05:00
James Agnew cfcad3aabf More work on #50, almosty have all primitives done 2014-11-14 14:58:54 -05:00
James Agnew e2d59ef5ba Add unit test for BaseDateTimeDt 2014-11-14 14:36:26 -05:00
James Agnew d09e735a3d Start work on #50 2014-11-14 10:52:38 -05:00
lmds1 71b5c7d875 replaced files with trival changes with current version from master 2014-11-13 18:34:25 -05:00
lmds1 5074da9002 Merge branch 'master' of https://github.com/jamesagnew/hapi-fhir 2014-11-13 18:11:38 -05:00
James Agnew 9fe80dfee1 Cleanup some unused files and warnings 2014-11-13 15:53:52 -05:00
lmds1 66ddd25eb7 Merge branch 'master' of https://github.com/jamesagnew/hapi-fhir 2014-11-12 19:18:14 -05:00
lmds1 7e224d3ca1 Fixed POST parameter processing for long input and includes, removed extra unused param from IParameter.translateClientArgumentIntoQueryArgument 2014-11-12 19:16:26 -05:00
lmds1 40d127b274 removed unused import 2014-11-12 18:09:25 -05:00
lmds1 01878f0ad2 removed unused import from IResource 2014-11-12 18:08:27 -05:00
lmds1 fd60715e14 removed dependency on javax.xml.bind.DatatypeConverter for parsing dates to avoid XML parser conflicts 2014-11-12 18:05:25 -05:00
James Agnew 374d95ea76 Merge pull request #49 from wdebeau1/master
Added @Destroy annotation, which allows ResourceProviders to do cleanup ...
2014-11-11 14:05:50 -05:00
lmds1 039e5655a8 Merge branch 'master' of https://github.com/jamesagnew/hapi-fhir
Conflicts:
	hapi-tinder-plugin/src/main/resources/vm/resource.vm
	hapi-tinder-plugin/src/main/resources/vm/resource_dstu.vm
2014-11-10 18:17:29 -05:00
lmds1 5f3a366ab0 updated IResourceAuditor interface 2014-11-10 18:09:11 -05:00
James Agnew 4dcfdc88fd Fix build issues 2014-11-10 18:08:08 -05:00
b.debeaubien 21d058f86b Added @Destroy annotation, which allows ResourceProviders to do cleanup when the server shuts down; renamed "ResfulServer" tests to "RestfulServer" 2014-11-10 17:50:49 -05:00
James Agnew 479c09b174 Fix failure to parse child of type "any" for code values 2014-11-10 17:33:45 -05:00
James Agnew 030ad3934c DOcumentation updates 2014-11-10 10:59:48 -05:00
jamesagnew fcb9a80bbc DateRangeParam now correctly handles requests containing a single date 2014-11-08 12:17:42 -05:00
jamesagnew 450b270c00 Fix compile issues in previous merge 2014-11-08 11:18:04 -05:00
jamesagnew 66bb291e04 Merge branch 'master' of github.com:jamesagnew/hapi-fhir
Conflicts:
	examples/pom.xml.orig
	hapi-deployable-pom/pom.xml
	hapi-fhir-base/src/main/java/ca/uhn/fhir/model/base/resource/BaseOperationOutcome.java
	hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/server/RestfulServer.java
	hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/server/exceptions/BaseServerResponseException.java
	hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/server/exceptions/UnprocessableEntityException.java
	hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/server/interceptor/IServerInterceptor.java
	hapi-fhir-jpaserver-uhnfhirtest/.settings/org.eclipse.wst.common.component
	hapi-fhir-structures-dev/.gitignore
	hapi-fhir-structures-dstu/src/test/java/ca/uhn/fhir/context/CustomObservation.java
	hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/TinderStructuresMojo.java
	hapi-tinder-plugin/src/main/resources/vm/resource.vm
	hapi-tinder-plugin/src/main/resources/vm/resource_dstu.vm
	pom.xml
	restful-server-example/.settings/org.eclipse.wst.common.component
	restful-server-example/.settings/org.eclipse.wst.common.component.orig
	src/changes/changes.xml
	src/site/resources/svg/restful-server-interceptors.svg
	src/site/site.xml
2014-11-08 10:58:35 -05:00
jamesagnew 5c9cf8ddf8 More merging cleanup 2014-11-08 10:38:25 -05:00