Commit Graph

261 Commits

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