Commit Graph

174 Commits

Author SHA1 Message Date
James Agnew 0eca8d14ba Fix asStringValue on IdType 2023-05-23 17:02:23 -04:00
Grahame Grieve 37bf22f8e9 Add path to error message 2023-05-13 21:46:58 -07:00
Grahame Grieve 491b5ccb4a Fix for wrong display when server returns error 2023-05-08 07:09:32 -05:00
Grahame Grieve ae13abfc2a performance related changes 2023-05-07 11:04:04 -05:00
Grahame Grieve 89c1c8608c Fix up StructureMap R4/R5 conversion 2023-05-01 18:08:35 +10:00
Grahame Grieve 34f149f0c8 Add support for JSON in tx client batch handling 2023-04-29 08:41:05 +10:00
Grahame Grieve 9d53b738df Improved error message when code not in value set 2023-04-28 07:36:00 +10:00
James Agnew 2fd0a07d9f Return ID part when FhirPath expression result is converted to string 2023-04-18 09:07:57 -04:00
Grahame Grieve 02bd1d8ce7 more fixing for language handling issues 2023-04-18 09:40:49 +08:00
Grahame Grieve c9416e9a56 Merge remote-tracking branch 'origin/master' 2023-04-14 18:01:18 +10:00
Grahame Grieve 6ac00b8c68 rework terminology interface 2023-04-14 17:59:06 +10:00
Amir Toosi b09e536387
Fix HumanName getNameAsSingleString never returning text element (#1207)
* Fix HumanName getNameAsSingleString never returning text element

* Add test + gentle rename in joinStringsSpaceSeparated

* removed unused variable from unit test. added fix for getNameAsSingleString to r5.

* changed variable names in joinStringSpaceSeparated to more meaningful names

* Add tests and fixes for dstu2016may, dstu3, and r4b + gentle refactor

---------

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-04-12 14:31:58 -04:00
Grahame Grieve 03eb6e7bf0 more work doing terminology server testing 2023-04-08 15:06:51 +10:00
Grahame Grieve f1a4dad582 Fix R4B tests to be based on R4B 2023-04-04 06:54:12 +10:00
Grahame Grieve 0bbff8d14d rework package cache manager - add testing mode 2023-04-02 23:06:29 +10:00
Grahame Grieve e59c83855d Defining the existence of R6 2023-04-01 07:32:02 +11:00
Grahame Grieve 76c96a53d6 Work around issue with R5 path in extensions pack 2023-03-30 23:30:23 +11:00
Grahame Grieve 15909f8302 fix path failure in tests 2023-03-21 18:42:48 +11:00
Grahame Grieve f796ffc57f fix issues with help16.png 2023-03-21 18:21:42 +11:00
dotasek 909f7e64fe
Additional zip-slip tests (#1162)
* Additional zip-slip tests

* Fix windows path test
2023-03-09 14:30:53 -05:00
Grahame Grieve 0c26f09721 revise whitespace handling for unicode conformance in validator 2023-03-07 06:25:45 +11:00
dotasek 5f26efffec
Fix r4b FhirVersionEnum (#1132)
* Fix FhirVersionEnum

* Remove old comment

---------

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-02-23 09:21:46 -05:00
Grahame Grieve 38a55d261d update table generator to suppress external links in base row and column 2023-02-18 15:13:13 +11:00
Grahame Grieve 2628f6fac1 FHIRPath changes for as - case and singleton issues 2023-02-03 12:11:53 +11:00
dotasek b50aec5912
Advisory fix 1 (#1089)
* Update cache and comparison downloads to use https

* Zip Slip tests and fix

* Zip Slip tests 2 and fix

* Add missing tempDir child in ScannerTest

* Add win format zip test

* Add tests to r4b

* Add tests and fixes for slips in tgz processing

* Update fhir-test-cases version
2023-01-20 16:56:57 -05:00
Grahame Grieve f8e6371e1f
Merge branch 'master' into gg-202301-sm-errors 2023-01-20 19:44:24 +11:00
dotasek f58b7acfb5
Swaps isBase64 with internal implementation for Android compatibility (#1079)
* Adding animal sniffer to display all issues related to android compatibility.

* Duplicate isBase64 internally

Co-authored-by: Vitor Pamplona <vitor@vitorpamplona.com>
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-01-18 18:40:24 -05:00
Grahame Grieve 26027fa3d6 update FHIRPath implementation for discussion at 84a07a6a92 2023-01-19 06:59:45 +11:00
Grahame Grieve 7b99037199 fix BOM in java files 2023-01-17 12:49:14 +11:00
Grahame Grieve 01c131b29d see PR 1075 - fix issue with setProperty() ignoring extensions 2023-01-17 11:22:42 +11:00
Grahame Grieve 6c2a488402 fix type convertors to handle null 2023-01-16 10:12:59 +11:00
Grahame Grieve b894cc6da7
Merge pull request #1048 from qligier/pr-fix-text-appending
Fix appending text in ProfileUtilities
2022-12-31 09:10:24 +11:00
Grahame Grieve 9959183017 more work on PEDefinition 2022-12-26 13:28:22 +13:00
Quentin Ligier 858c06f097
Fix appending text in ProfileUtilities
If the base text was null, appending a text in the derived element (using "...") would show a "null" before the text. This commit adds the method Utilities.appendDerivedTextToBase() to implement to correct behavior.
2022-12-23 18:52:47 +01:00
Grahame Grieve 49f798de48 Consistency around rendering comments in examples in IGs 2022-11-26 22:24:17 -03:00
Grahame Grieve 80f275ff18 upgrade to new JSON parser 2022-11-24 17:57:46 -03:00
Grahame Grieve 8136b00c86 work on loading speed for validator 2022-11-21 18:46:47 -03:00
Grahame Grieve 8e3833f58a Fix broken LOINC link 2022-11-19 03:39:35 -03:00
Grahame Grieve b4d21b8263
Merge pull request #994 from hapifhir/gg-202211-xhtml-entities
Gg 202211 xhtml entities
2022-11-17 16:57:04 -03:00
Grahame Grieve 28d107b4ae Validate XHTML entities in XML 2022-11-17 15:21:17 -03:00
dotasek 82972d5216
Add https-proxy param + fix proxy authorization header (#888)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-11-17 11:27:21 -05:00
Grahame Grieve cb72792b7e More work on R4 <-> R4B guides 2022-11-14 18:03:22 +11:00
dotasek 11c369ea09 Remove all _PLURAL labels from constants 2022-11-07 16:52:47 -05:00
dotasek 183f9ecfd2 Remove _PLURAL labels from keys 2022-11-07 16:39:40 -05:00
dotasek ffec2ce1c5 Merge remote-tracking branch 'origin/master' into do-i18n-plurals 2022-11-07 09:23:36 -05:00
Grahame Grieve d19ff2e1f6
Merge pull request #972 from hapifhir/do-terminology-cache-filewpipechar
Fix pipes in terminologyCache files
2022-11-06 07:04:58 +11:00
Grahame Grieve c01d434b33 fix SDC rendering issue for R4B 2022-11-05 15:55:27 +11:00
Grahame Grieve 305f93ca26 Fix broken SDC links in Q & QR rendering 2022-11-05 11:30:27 +11:00
dotasek 14fdb713d9 Backport TerminologyCache changes to r4, r4b 2022-11-03 17:47:48 -04:00
dotasek fc7cd56335 Merge remote-tracking branch 'origin/master' into do-i18n-plurals 2022-11-03 13:35:40 -04:00
Grahame Grieve 1ae7093eef #934 Parameters object's getParameter(String theParameterName) is misnamed 2022-11-02 08:51:17 +11:00
dotasek 827d088732 More renaming 2022-10-28 16:43:38 -04:00
dotasek 2de6340cfa Rename PL to Plural in method signatures 2022-10-28 14:44:09 -04:00
Grahame Grieve cc38567c93 fix r4b test failure 2022-10-26 23:20:42 +11:00
Grahame Grieve b187d289b6 fixes for plural messages for i18n 2022-10-26 14:30:25 +11:00
Grahame Grieve 56e8774c8f Fix problem with R4B FHIRPath tests 2022-10-07 09:20:34 +11:00
Grahame Grieve b9036524d5 R5 FHIRPath engine fixes for polymorphism + update R4B FHIRPath engine to match R5 2022-10-07 08:08:04 +11:00
dotasek eabf51938b
Remove CapabilityStatement2 from reported and checked resource names (#935)
* Remove CapabilityStatement2 from reported and checked resource names

* Update RELEASE_NOTES.md

***NO_CI***

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-09-30 13:10:51 -04:00
dotasek c51f7c2327
Enhanced testing for character encoding issues (#928)
* Redo pull pipeline to check for alternate file encodings

* Fix jdkVersion references in pull-request-pipeline

* Failing test for Cp1252 encoded Java environments

* Fix file encoding mistake

* Add fix + refactor test

* Backport ParserBase changes and tests to previous versions

* And I mean it, this time

* Update tx cache resources

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-09-23 10:38:10 -04:00
Grahame Grieve df0bc26d47 rationalise extensions 2022-09-17 14:54:20 -04:00
Grahame Grieve ccc38e48df Fix NPE processing constraints without keys + fix for R5 terminology package problem 2022-09-16 23:49:26 -04:00
Grahame Grieve f4aed6f2a2 Fix bug in RDF generation in R4B 2022-09-15 08:58:52 +02:00
Grahame Grieve 35233ee1e5 R5 updates for IG publisher 2022-09-15 08:41:37 +02:00
Grahame Grieve 4cbbce4ec8 img conformance in xhtml 2022-09-08 22:22:17 +10:00
Grahame Grieve 7dd2f3edf6 r4b snapshot tests 2022-09-07 21:56:24 +10:00
Grahame Grieve f30f3e9ca9 fix failing rendering test 2022-09-07 11:12:57 +10:00
Grahame Grieve 44aeaa1a80 R4b Narrative tests fix up 2022-09-07 08:10:51 +10:00
Grahame Grieve 4dde247466 fix npe in narrative generation (r4b) 2022-09-07 08:10:39 +10:00
Grahame Grieve 5220f2552b Merge remote-tracking branch 'origin/master' 2022-08-26 21:18:44 +10:00
Grahame Grieve 1c29587015 fixed 2022-08-26 21:18:39 +10:00
Grahame Grieve ac9a1fc2c7
Merge pull request #903 from hapifhir/do-datetimetype-gregorian-zero
Fix DateTimeType inconsistencies when using field setting
2022-08-26 06:43:03 +10:00
dotasek e79b2bf199
Return lists for FHIRPath constants in r4 (#902)
* Test for r5

* Test for r4b

* r4 test + fix

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-08-25 10:02:13 -04:00
dotasek cc2ec05afe Improve test 2022-08-24 15:24:45 -04:00
dotasek 5b1ac27b12 Fix 2022-08-24 14:54:08 -04:00
dotasek f8d7aa755e Failing tests 2022-08-24 14:53:56 -04:00
Grahame Grieve 84cb59683c r4b changes for r5 2022-08-10 22:22:50 +10:00
jamesagnew 056e41d19d Add Reference.resource to output of copy(). 2022-08-09 11:23:23 -04:00
Grahame Grieve 1aab88f6a7 migrate r5 changes to r4b 2022-08-09 22:29:59 +10:00
Grahame Grieve 1ac49bdce2 Add R4B / R5 Conversions 2022-07-28 21:30:12 +10:00
Grahame Grieve 780be4096a fix rendering note - more informative 2022-07-28 21:29:33 +10:00
Grahame Grieve b9d86aa5af fix classes that inherit from BackboneType in R4B 2022-07-28 21:29:02 +10:00
Grahame Grieve cc35c23c7d fixes to validator for FHIRPath engine fixes 2022-07-28 08:48:33 +10:00
James Agnew f010804e44
Rework precision checking in datetime (#874) 2022-07-25 16:40:55 -04:00
Grahame Grieve 5284773527 fix up version annotations 2022-07-22 14:27:26 +10:00
Grahame Grieve ba7b0d8bfa reduce text logging running tests 2022-06-24 13:15:55 +02:00
dotasek 0ecba5bf2a Fix validation message for toCalendarZulu day validation 2022-06-20 09:26:11 -04:00
dotasek 1fee28fe84
Feature - run JUnit tests from validator_cli (#835)
* WIP add initial test running code

* Importing test modules fix breaking tests 1

* Clean up pom dependencies, move execution before context load

* Re-org and document cli pom

* Set more dependencies to compile. Print entries in classpath

* Try running via internal Executors

* Clearer class names + provide clear output

* Clean up test summarys and output + update class regex to junit default

* Refactor to avoid having to extend class

* Trim down dependency additions in pom + javadoc

* Add the rest of the modules to TestExecutor

* Parse additional params for classname filter and module

* Add experimental JUnit 4 runner in case JUnit 5 hates us.

* Include JUnit4 tests via adapters. Need to refactor for better naming.

* Update LoadIgTests to JUnit 5

* Gentle refactor, print execution time

* Remove unnecessary interface, organize packages

* Remove cached resources (need to fix this)

* Allow setting of txCache globally for tests + fix r5 tests

* Mild refactor of TestExecutor + Reorder test execution

* Add fhirTestCasesDirectory to testConfig + get r4 tests working

* Add dstu2016may and dstu3 tests

* Add dstu2 tests

* Add convertors tests

* Refactor resourceNameForFile + don't copy existing files

* Get all txCache directories centrally and allow all to live in same dir

* Start extracting txCache resources

* Finish extracting txCache resources

* Fix failing GraphQLEngineTest

* Try an mvn install for the pull pipeline

* Clean and refactor

* Test coverage

* Fix GraphQLEngineTests for local jar run

* More refactoring, more tests

* Add bare test for TxCacheResourceExtractor

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-06-14 17:04:00 -04:00
Grahame Grieve dd7c607155 Regenerate R4B 2022-06-13 21:40:33 +03:00
Grahame Grieve b0dfc9f281 fix bug counting children + fix issue with automatic string conversion in FHIRPath + fix bug in HTTP client + fix bug rendering profile comparison 2022-06-08 08:56:46 +10:00
dotasek a435beb29c
Backport ProfileUtilities changes from r5 to r4b (#827)
Plus update fhir-test-cases version

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-06-02 09:30:43 -04:00
Grahame Grieve 4cc0a8dfba Add support for 4.3.0 2022-05-27 22:17:32 +10:00
Grahame Grieve 919d6e6d8b extend FHIRPath to support lowBoundary(), highBoundary() and precision() 2022-05-14 00:19:08 +10:00
dotasek 8a8bbb7308
Add tests for evaluate transforms using json StructureMap (#807)
* Add tests for evaluate transforms using json StructureMap

Fixes issues/802

* Reduce test chatter, fix missing ',' in EVALUATE render

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-05-11 12:52:47 -04:00
Grahame Grieve 4b1b99a61c r4b changes to match r5 2022-05-11 02:48:22 +10:00
dotasek 1645982389
Fix for issues/766 - reverse references with _history in GraphQL (#790)
* Create and use getIdPart

* Add tests and changes for dstu3, r4, r4b, and r5

* Update get/set Id javadoc

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-04-22 18:06:24 -04:00
Grahame Grieve 8c610c1a01 Regenerate R4B code 2022-04-22 11:56:24 +10:00
Grahame Grieve fa92f85f3c Merge remote-tracking branch 'origin/master' 2022-04-22 07:36:53 +10:00
Grahame Grieve 10f2325e19 R4B quality fixes 2022-04-22 07:36:28 +10:00
Grahame Grieve c58516ce44 remove references to c:\temp 2022-04-20 09:59:30 +10:00
dotasek 4d9bb2c76a
Fix generated temp file that breaks git pulls for windows (#788)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-04-14 12:52:59 -04:00