Commit Graph

321 Commits

Author SHA1 Message Date
dotasek d9d0f22ff3 cache CapabilityStatement and TerminologyCapabilities 2022-01-18 16:09:59 -05:00
Grahame Grieve 5313706a9a fix compile problems 2022-01-14 06:24:46 +11:00
Grahame Grieve 554a458b57 fix up logging problem 2022-01-13 17:38:39 +11:00
dotasek 32bbcf14b6 Merge remote-tracking branch 'origin/master' into tx-server-cache-analysis 2022-01-06 11:43:10 -05:00
dotasek 36cc6defc2 Refactor with a mock + new test to catch exception 2022-01-06 10:10:45 -05:00
dotasek 2d4bbe3749 Clean code 2022-01-04 13:57:39 -05:00
dotasek 7ee5d0c5e4 Merge remote-tracking branch 'origin/master' into tx-server-cache-analysis 2022-01-04 13:23:32 -05:00
Paul Robson b785940a2b refactor: inline method 2021-12-22 12:58:35 -05:00
Paul Robson c80b7eae10 refactor: add display name to test 2021-12-22 11:54:19 -05:00
Paul Robson 9171c39d59 refactor: extract private helper methods 2021-12-22 11:53:24 -05:00
Paul Robson f941329fcc bug: check temporary variable hasn't been set yet 2021-12-22 11:50:43 -05:00
Paul Robson 369744488d test: check that coding is translated 2021-12-22 11:50:05 -05:00
Paul Robson 137592ecbf test: check that coding is translated 2021-12-22 11:47:23 -05:00
Grahame Grieve e4d3047138 #357: fix bug looking for contained resources inside bundles 2021-12-17 14:38:21 +11:00
Grahame Grieve 3118cdc132 Add support for new FHIR Versions 2021-12-17 12:08:40 +11:00
dotasek 80382865de Merge branch 'master' into tx-server-cache-analysis 2021-12-15 16:49:39 -05:00
Grahame Grieve c15e60f2c6 main Build fixes: new version of FHIR (4.3.0) + transit to using release indicators in version + fix various build issues 2021-12-15 07:28:19 +11:00
dotasek 1c1e7d22ca WIP track server requests 2021-12-07 16:08:28 -05:00
markiantorno 444c8951c6 removing jetbrains annotations 2021-12-06 12:54:40 -05:00
Mark Iantorno 4d0692ff61
Validate contains (#669)
* wip

* first go at this, still some failing tests

* post-pairing with Grahame

* wip

* failing test cases

* fixed InstanceValidator to respect new validation options for both references and contained resources

* removed dead code

* put copyright back in BaseValidator

* wip
2021-11-25 15:52:29 -05:00
Grahame Grieve dbf8179b6d
Merge pull request #663 from hapifhir/gg-202111-cs-work
Gg 202111 cs work
2021-11-18 11:43:37 +11:00
Grahame Grieve bbac44fc52 reduce spurious logging 2021-11-18 08:09:43 +11:00
dotasek cccf1cebae
Update maven config and tests to allow Java 8, 11 and 17 builds (#653)
* Updates to enable Java 8, 11, and 17 builds

* Set surefire args according to profile + update jacoco verison

* Add comments for surefire profile args.

* Temporarily skip failing test

* Object based parameters ***NO_CI***

* Cleanup skipped test, move new pipeline codo

* Update validator_test_case_version
2021-11-16 09:26:53 -05:00
Grahame Grieve 5a33d5c15a merge conflicts + rework rendering + gather all HTTP access to SimpleHTTPClient + add TerminologyCacheManager 2021-11-09 16:24:21 +11:00
Grahame Grieve 1aae6c8c76 rework HTTP client - all client calls route through SimpleHTTPClient + define CommonPackages infrastructure 2021-11-09 11:38:25 +11:00
markiantorno 7bcd2b6434 Adding changes for logging request and resp 2021-11-08 16:10:04 -05:00
Grahame Grieve d91b26e69b Add getServerVersion to tooling client 2021-11-09 06:13:18 +11:00
Grahame Grieve c8c96e13fd
Merge pull request #615 from lschmierer/graphql_fixes
Fix GraphQLSchemaGenerator to produce valid GraphQL schemas
2021-11-03 11:26:45 +11:00
Grahame Grieve 1c65a9b261
Gg 202110 validation various (#634)
* add explicit control over the User-Agent header, and make sure headers flow through properly to all calls

* #328 - wrong processing of markdown URLs

* test fixes for URL handling

* fix tests

* improved validation of UUIDs

* fix test case dependency

* Add Dicom Package builder
2021-10-29 16:26:50 -04:00
Grahame Grieve 237897965b
Gg 202110 misc validation (#617)
* NPE fixes

* Smart Health Cards support in validator

* Fix bug generating spreadsheets due to sheet name length limitations

* Implement descendent-of filter

* more NPE fixes

* add Element.removeChild

* fix issue generation snapshot and content reference, and work around old erroneous binding description in R4

* improve SHC validation error

* fix for NPE generating ConceptMap spreadsheet

* fix crash in IG publisher rendering illegal content

* Improve slicing error messages

* more improving error message resolving slicing

* add missing code + track prohibited / required elements (improve rendering of IGs)

* fix for broken links in R4B IGs

* fix bug related to logger in FHIRToolingClient

* fix bug related to logger in context

* enable detection of whether tx server knows about value set and better track returned errors from tx server

* make likely source URL visible outside ProfileUtilities

* fix renderers - don't make nonvalid URLs into html links + fix NPE +

* fix bug with sheetnames generating spreadsheets

* supper branches in current version of packages

* report slicing information automatically where slicing is based on profile + fix shc support + support codesystem-properties-mode + fix value set validation on profiles + fix wrong entry point on vaildating contained resources with profiles

* fix misleading validation message + add -ips parameter for validator

* hint not warning when it's an example questionnaire
2021-10-10 17:37:02 -04:00
Lukas Schmierer 6bf58e678e change import comment to be compatible with graphql-tools 2021-10-04 16:06:07 +02:00
Lukas Schmierer 04a72c6e29 use ElementBaseInput instead of ElementBase for input types 2021-10-04 16:03:17 +02:00
Lukas Schmierer 98a99ec630 fix duplicate scalar "date" 2021-10-04 13:21:29 +02:00
Lukas Schmierer d67f7c9926 print correct type in json format comment 2021-10-04 13:11:55 +02:00
Lukas Schmierer 6981e75765 fix parameter scalars to be lowercase 2021-10-04 12:11:36 +02:00
katiesmilecdr 3b6a2c91cf
update ListResource profile in r4 (#612) 2021-09-29 12:38:13 -04:00
Mark Iantorno 72b7300700
Adding blank case for ExpressionNode.toString() in r4 and r5. (#609) 2021-09-27 14:52:55 -04:00
Mark Iantorno ad18e131d8
Issue 602 (#607)
* r5 changes

* r4 changes

* dstu3 changes

* dstu2 changes

* updating release notes
2021-09-27 14:04:59 -04:00
Mark Iantorno e5a05f5562
Terminology client headers (#599)
* wip

* adding tests for headers in client

* fix

* r4 updated httpclient

* updating http client code for r4 and dstu3

* dunno why this didn't get added before
2021-09-09 16:32:19 -04:00
Grahame Grieve b5723bab50
Merge branch 'master' into issue-555 2021-08-24 06:00:27 +10:00
jnmeijer 66b9e180e6
Improved performance of hashNWS (#570) (#573)
Co-authored-by: Jonathan Meijer <jonathan.meijer@telus.com>
2021-08-11 15:44:20 -04:00
Mark Iantorno a9abd8f824
https://github.com/hapifhir/org.hl7.fhir.core/issues/557 (#571) 2021-08-11 10:07:43 -04:00
Louis Rolland 0a3cc93c2f fix: #555 Handling minValue/maxValue in generate snapshot process 2021-08-11 10:08:45 +02:00
Grahame Grieve c6f392b7e0 #466: fix problem checking types on logical models 2021-05-05 09:54:22 +10:00
Grahame Grieve 9ae04aed03 Fix compartment definitions of ListResource.source and subject for R3 and R4 2021-05-05 08:51:36 +10:00
Grahame Grieve 898665f356 fixes for #483: Quantity subclasses copy() functions not all transferring values 2021-05-04 12:43:07 +10:00
Grahame Grieve 30be8a0dc1
Merge branch 'master' into issue_438 2021-03-29 09:08:04 +10:00
Grahame Grieve 5187fdd398 fix issues related to R4B generation 2021-03-12 06:28:56 +11:00
palanm a3e003740a fixing crlf to lf 2021-02-17 14:13:37 -08:00
palanm cc03acb3c3 Junit test for Copy method 2021-02-17 11:32:18 -08:00
palanm c8fa589baa Added the copying of "extension" fiels 2021-02-16 17:27:53 -08:00
Grahame Grieve 8fac290ebe #426 - fix serialization of NULL enumerations 2021-02-08 09:33:36 +11:00
Grahame Grieve c95b07f0f1 #426 - fix serialization of NULL enumerations 2021-02-08 09:32:06 +11:00
Grahame Grieve b9664caec0 fix error message suppression on tooling client 2020-12-03 12:46:43 +11:00
jamesagnew eb1c67c1cb Account for review comments 2020-10-19 14:56:54 -04:00
jamesagnew 1922f549bb Improve multithreaded performance of datetime types 2020-10-19 14:56:54 -04:00
Gerlach, Winfried 0cb038ed0a performance: improve speed of comparing UriTypes 2020-10-07 19:36:03 +02:00
Grahame Grieve 77d33e8afa Fix comment parsing and add focus to FHIRPath function extensions 2020-10-01 11:04:34 +10:00
Grahame Grieve 46d1987cd0 refactor FHIRPath to report error locations for run time errors 2020-09-30 12:10:59 +10:00
Grahame Grieve 5be73ff9c5 rename org.hl7.fhir.utilities.cache to org.hl7.fhir.utilities.npm 2020-09-30 09:24:26 +10:00
Grahame Grieve 510344aa1b Fix FHIRPath engine for updated tests for date addition/subtraction 2020-09-30 09:22:16 +10:00
markiantorno dcf3f5f218 Upping UCUM dependency, fixing old junit dependencies 2020-08-26 17:26:39 -04:00
Grahame Grieve 6322aef891 Fix bug in parser around nulls in arrays 2020-08-12 04:03:41 +10:00
Grahame Grieve 4add0f3ac8 Continue to work on connection timeout issues 2020-08-07 11:26:44 +10:00
Grahame Grieve 3e33c8a835 ongoing work around connection problems with tx.fhir.org 2020-08-06 22:33:54 +10:00
Grahame Grieve 572016e40a fix compile 2020-08-06 07:53:18 +10:00
Grahame Grieve 3f6207bf4f improve handling of timeout issues in client 2020-08-06 07:35:49 +10:00
Oliver Egger 4f21c40f83 set equivalence relationship in parsing 2020-06-22 12:34:00 +02:00
Oliver Egger 8d59817d26 json parse r4 2020-06-08 10:47:55 +02:00
Grahame Grieve 94467b270a standardise terminology client across versions 2020-06-07 08:42:14 +10:00
Oliver Egger ae4c3bbe0c remove disabled r4 fml tests 2020-06-05 17:56:14 +02:00
jamesagnew 17411a3659 Merge branch 'master' into ja_20200524_npm_rework 2020-05-30 12:07:17 -04:00
Grahame Grieve 4af4925657 move turtle parser + tests to Utilities 2020-05-30 09:38:48 +10:00
jamesagnew 444b612805 Start reworking NPM manager 2020-05-24 15:02:37 -04:00
Grahame Grieve 463a557402 Release new version 4.2.30 2020-05-12 11:54:28 +10:00
Grahame Grieve edea997312 Clean up license 2020-05-12 08:55:27 +10:00
Grahame Grieve 1f5663bfdf update R4 code (issue #70) 2020-05-12 08:42:55 +10:00
markiantorno 89f98bb960 I cast you out unclean spirit. 2020-04-29 16:55:40 -04:00
markiantorno 368a45a150 Fix for HAPI-FHIR issue 1820 2020-04-29 14:08:36 -04:00
Grahame Grieve c829de2f86
Merge branch 'master' into testing_updates 2020-04-24 07:20:35 +10:00
markiantorno 9c83540c2f Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into validator_gui 2020-04-23 10:47:00 -04:00
markiantorno a7e874501e Tests updated to JUnit Jupiter. Various quality of life improvements. 2020-04-21 20:36:17 -04:00
markiantorno 5c06cfcfb8 removed hardcoded path 2020-04-17 14:34:52 -04:00
markiantorno 0b92c7efe5 removed hardcoded path 2020-04-17 14:16:54 -04:00
markiantorno 55622f53cb Fix for NPEs in Base64BinaryType. Added tests to cover the cases. Updated for all FHIR versions. 2020-04-14 22:28:32 -04:00
Grahame Grieve 53ef98198f fix for issue #148 - UuidType is not annotated 2020-04-09 10:56:14 +10:00
Grahame Grieve d2dc15e2c8 throw Error when a value is assigned to NamingSystem.url 2020-04-07 14:49:27 +10:00
Grahame Grieve 3edfeda13a Release new version 4.2.14 2020-04-06 10:20:49 +10:00
Grahame Grieve 1da57be1c0 support comments in json source when configured to do so 2020-04-02 11:00:42 +11:00
Rob Hausam 314380be77 Remove erroneous r5 model import statements from r4 NarrativeGenerator. 2020-03-30 09:47:58 -05:00
Rob Hausam 2defba63ec Fix incorrect appending of <br/> tag causing it to be escaped. 2020-03-29 16:42:07 -05:00
Grahame Grieve afb0453e7b
Merge pull request #160 from rhausam/multiple-expansion-version-notice
Support listing multiple "Expansion based on" versions.
2020-03-29 16:53:11 +11:00
Rob Hausam 49a6c9d746 Support listing multiple "Expansion based on" versions. 2020-03-28 20:37:56 -05:00
markiantorno 5d9f1d734a Full disclosure: this isn't really a 'bug' per say, it's more of a best practice thing. The only reason I'm making this change is because I'm working on a parser in my spare time that will most likely never see the light of day, and these accessors are causing me problems because both the line and column fields are private and need to be accessed through the appropriate accessor. 2020-03-28 16:48:37 -04:00
Grahame Grieve 239331ef76 improve parsing error message when parsing json 2020-03-28 06:09:37 +11:00
Grahame Grieve f732c7bf0c ICD11 Generator support 2020-03-20 05:15:24 +11:00
Grahame Grieve 851d1fc228 fix for 1.4.0 problems 2020-03-17 11:13:50 +11:00
Grahame Grieve c46d4dd779 fix bugs around XML version + add ICD-11 generator 2020-03-17 11:10:50 +11:00
patrick-werner 60474cd8c9 moved all Locale/Message handling Code to utils: I18nBase 2020-03-13 18:53:16 +01:00
patrick-werner 109b80ed6f start movin i18n code Contexts -> utilities 2020-03-13 09:53:59 +01:00
patrick-werner 86711ac16f readding all the i18n work 2020-03-12 23:26:05 +01:00
jamesagnew 109dea9a02 Use ValidationOptions instead of TerminologyServiceOptions 2020-03-02 06:18:00 -05:00
Grahame Grieve 137506f37f set id when parsing StructureMap 2020-03-02 09:04:16 +11:00
Grahame Grieve d535bbaacb Use packages.fhir.org 2020-02-18 14:31:09 +11:00
Ken Stevens 490aef6f9b fixed Meta.getSecurity(String,String) bug 2020-02-12 20:39:37 -05:00
Grahame Grieve 8c7eab4066
Merge pull request #126 from lmckenzi/igpub-validation-fixes
Keep new IGPublisher stuff from raising errors when down-converted to…
2020-01-22 06:30:16 +11:00
Lloyd McKenzie 01c34f6dd3 Keep new IGPublisher stuff from raising errors when down-converted to R4. Also changed Spreadsheet extension so it doesn't raise errors when used. 2020-01-20 18:41:06 -07:00
Oliver Egger b1802ac30e serialize item() func as [] and not .[] 2020-01-11 00:10:08 +01:00
Oliver Egger 0ad3882132 FML updates for tests and validator 2020-01-11 00:10:07 +01:00
Grahame Grieve 8b25da3443 re-org validator tests 2019-12-30 10:25:59 +11:00
Grahame Grieve 0fbbd1ff02 re-org R5 source core preparatory to regenerating 2019-12-22 08:05:58 +11:00
Grahame Grieve 6e0df466f7 fix SimpleDateFormat to not be locale dependent 2019-12-19 22:39:46 +11:00
Grahame Grieve 097ce2cfcd require id/active flag for all generated tables 2019-12-16 07:26:24 +11:00
Grahame Grieve 6993f763d8 move Mimic14Importers to different repo 2019-12-16 07:25:06 +11:00
Grahame Grieve 415193a792 Start working on active tables, fix testing bug 2019-12-14 07:54:48 +11:00
Grahame Grieve ea7f3a7957 refactor validation options, and improve codeableConcept validation, and improve code system rendering 2019-12-12 10:33:22 +11:00
Oliver Egger 9c7673c473 fhirpath indexOf support for R4 2019-12-04 15:06:20 +01:00
Grahame Grieve 60703efdd4 updates for packages changes 2019-11-26 18:56:52 +11:00
Grahame Grieve df2a378eb0 update Mimic importers 2019-11-15 08:16:12 +11:00
Grahame Grieve 1c4cceaf3c update reference version dates 2019-11-14 23:22:26 +11:00
Grahame Grieve 23b26c0930 update stated version to 4.0.1 2019-11-14 14:53:35 +11:00
Grahame Grieve 3de429ae6a Release new version 2019-11-13 07:49:12 +11:00
Grahame Grieve 9ffdf6e81c batchloader improvements for Mimic upload 2019-11-10 21:04:55 +11:00
Grahame Grieve 7a9bdd0cfc Release new version 2019-11-09 08:07:56 +11:00
Grahame Grieve 0fcb97aa2f validation documentation improvements, and batch loading 2019-11-09 07:54:16 +11:00
Grahame Grieve 02791ae21f update MIMIC code and reverse testing change (maven said no) 2019-11-07 20:57:16 +11:00
Grahame Grieve 7099f904f5 more work on cache management 2019-11-07 12:04:24 +11:00
Grahame Grieve 52187af17a Fix for R3 and R4 technical corrections and getting IGs publishing and passing (and fix version markers) 2019-11-01 11:21:06 +11:00
Grahame Grieve 888356999e Update to support new packages, new NPM specification 2019-10-31 21:54:10 +11:00
Grahame Grieve f60bb8a9c6 updates to enumerations for technical correction releases 2019-10-31 21:52:56 +11:00
Grahame Grieve 55c379dab8 improve error message when parsing json that is not a resource 2019-10-31 21:51:26 +11:00
Grahame Grieve cc496623a6 fix rendering of profiles in choice rows 2019-10-29 12:31:58 +11:00
Grahame Grieve efd20a22fe move test cases to fhir-test-cases repository 2019-10-28 18:06:41 +11:00
Grahame Grieve 08eb187b79 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2019-10-28 10:06:02 +11:00
James Agnew 34cf0628d1 Fix https://github.com/jamesagnew/hapi-fhir/issues/1549 - Account for
latest HAPI FHIR API interfaces
2019-10-27 17:44:22 -04:00
Grahame Grieve 958791d1cd more Mimic work 2019-10-25 08:19:59 +11:00
Grahame Grieve cccce9e9f0 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2019-10-23 14:48:14 +11:00
Grahame Grieve 044b08b8ea add Mimic Importer 2019-10-23 14:47:11 +11:00
James Agnew 2f380704de Fix precision and validator issues 2019-10-18 10:47:20 -04:00
James Agnew 0cf2cafb62 Improve efficiency of isEmpty() methods 2019-10-13 19:39:19 -04:00
James Agnew 215fdae37f Include the wrapper element when writing GraphQL responses 2019-09-06 10:29:31 -04:00
Grahame Grieve 512c3932a3 Reconcile R4/R5 implementations 2019-08-23 15:38:58 +10:00
Grahame Grieve 909535eea2 fix problems with skipping unknown content, and empty differentials 2019-08-18 17:47:48 +10:00
Grahame Grieve 028802f6fc update for HAPI release + add JsonParser constructor 2019-08-18 07:51:41 +10:00
Grahame Grieve 55259ab8dc Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2019-08-16 07:19:21 +10:00
Grahame Grieve fb249ea098 fix for narrative rendering problem with OperationDefinition 2019-08-16 07:16:24 +10:00
James Agnew ecfd55c368 Backport GraphQL support to DSTU3 2019-08-12 10:55:34 -04:00
Grahame Grieve 3842dbeb99 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2019-08-09 04:41:53 +10:00
Grahame Grieve 7ef320b6bb fix ref-1 constraint (define %rootResource) 2019-08-08 21:03:27 +10:00
James Agnew c1728a481d Refactor R4 infrastructure to use the new common
TerminologyServiceOptions, and tweak the validation of enableWhen to
handle a few edge cases correctly.
2019-08-06 18:27:45 -04:00