Commit Graph

200 Commits

Author SHA1 Message Date
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
Grahame Grieve b9902833c5 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir 2022-04-12 09:12:35 +10:00
Grahame Grieve 4927d23273 Add integrityt check utils for R4B integrity 2022-04-12 09:10:23 +10:00
dotasek a8da416ee3 Fix xml test + add unit tests 2022-04-11 14:57:10 -04:00
dotasek 2181cb14d5 Change tests to xml + fix breaking test 2022-04-11 14:10:53 -04:00
Grahame Grieve 404b4d4f79 fix r4b snapshot generation 2022-04-05 16:26:33 +10:00
dotasek d0feacaaa8 Add tests and changes for Decimal 2022-03-17 15:41:07 -04:00
dotasek b5b43836eb Add tests and changes for Base64Binary 2022-03-16 12:20:58 -04:00
dotasek 9903d15ecc Add tests for setValueAsString and contructor precision checking 2022-03-15 17:47:23 -04:00
dotasek 1a7e076479 Move precision checking code to setValueAsString 2022-03-15 16:49:51 -04:00
Grahame Grieve ef3aee75f1 make fhir version code case independent 2022-03-11 10:37:28 +11:00
Grahame Grieve 3f9d651b9b updates for r5 changes 2022-03-11 06:43:12 +11:00
Grahame Grieve a34c33c0c0 =fix r4b tests 2022-03-10 07:43:01 +11:00
Grahame Grieve e36e1d2973 fix list issues #722 2022-02-14 09:15:30 +11:00
Grahame Grieve 2a8dbcf8a4 fix r4b compile problem 2022-02-12 11:00:41 +11:00
Grahame Grieve 96538ba249
Merge pull request #704 from lmckenzi/Add_map_compile
Add map compile
2022-02-01 11:50:41 +11:00
Grahame Grieve cae92c8621
Merge pull request #727 from hapifhir/ja_20220130_graphql_cleanup
Updates to GraphQL
2022-02-01 11:49:10 +11:00
Grahame Grieve 54f280437f fix bug in tests 2022-02-01 10:46:14 +11:00
dotasek 99650f041b Fix DateTime formatting in r4b tests 2022-01-31 10:45:28 -05:00
jamesagnew 846866472b Updates to GraphQL 2022-01-30 17:04:10 -05:00
dotasek bd74bf3cee Fix typos 2022-01-14 14:53:36 -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
Grahame Grieve d5e98dbf94 fix snapshot build 2022-01-10 23:03:35 +11:00
Grahame Grieve c627ec43d9 Add R4B code + update generator for R4B generation 2022-01-01 16:33:10 +11:00