Commit Graph

731 Commits

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