Commit Graph

79 Commits

Author SHA1 Message Date
Grahame Grieve e431770caf
2023 10 gg code gen (#1469)
* Revise FHIRPath API so hosts can evaluate expressions in custom functions

* Implement slice() function in validator

* more improvements to profile generation

* Fix issue where .resolve() in FHIRPath didn't work with URL values (and fix typo in i18n system)

* release notes

* Fix test ignore/exclude issues, bump test cases

---------

Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-10-24 15:26:24 -04:00
Grahame Grieve 333ffc340e Accept-Language 2023-08-25 16:21:56 +02:00
Grahame Grieve 2acf546059 Don't suppress exceptions in clients 2023-08-19 20:15:29 +10:00
Grahame Grieve 952dedd06b #1343 - addChild error in PEBuilder 2023-08-09 19:48:01 +10:00
Grahame Grieve 3eef08dab8 remove unused imports 2023-07-26 08:31:21 +10:00
dotasek ae59d97ba5 Document new method, add to all FHIR versions 2023-06-19 15:41:04 -04:00
Grahame Grieve dfb4404ce6 Add support for mustHaveValue and valueAlternatives + render imposesProfile + compliesWithProfile 2023-06-18 13:00:58 +10:00
dotasek a4ed6a02f5 Increase digital signature size to 2048 2023-06-12 15:18:43 -04:00
James Agnew 0eca8d14ba Fix asStringValue on IdType 2023-05-23 17:02:23 -04:00
Grahame Grieve 13254f39a2 support for NamingSystem conversion of url, version, and title (for THO) 2023-05-09 18:46:39 -05:00
Grahame Grieve 20f73e2094 fix spelling mistakes 2023-04-24 23:07:09 +10:00
dotasek 9b4b1ae2cc
Add -fhir-settings param to Validator CLI (#1203)
* Start work

* Tests for new Param

* More tests, add param, refactor

* Rename + JsonProperty annotations

* Logging for API keys

* WIP rename search parameter + add settings object for serialization

* Switch to JSON based settings file.

* Rename FHIRSettings and remove ToolGlobalSettings

* Update default path for settings file + expand test

* Only allow single instantiation with explicitFilePath

* Move and expand tests

* Fix failing test

* Add test for FhirSettings param precedence

* Refactor to only call getInstance() internally in FhirSettings
2023-04-19 17:18:29 -04:00
Grahame Grieve 81d26c5160 work on no-network-access mode 2023-04-18 09:39:59 +08:00
Grahame Grieve 0c26f09721 revise whitespace handling for unicode conformance in validator 2023-03-07 06:25:45 +11:00
Grahame Grieve 38a55d261d update table generator to suppress external links in base row and column 2023-02-18 15:13:13 +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
dotasek ee9fc6e924
Add missing space to FHIRException message (matches r5 ResourceType now) (#1067)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-01-11 16:28:46 -05: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 8e3833f58a Fix broken LOINC link 2022-11-19 03:39:35 -03: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
jamesagnew 056e41d19d Add Reference.resource to output of copy(). 2022-08-09 11:23:23 -04:00
James Agnew f010804e44
Rework precision checking in datetime (#874) 2022-07-25 16:40:55 -04:00
dotasek de3eaad982
Remove all expired entries in SessionCache on validator init (#846)
+ fix typo in JsonParserBase

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-07-18 13:26:53 -04:00
Grahame Grieve c58516ce44 remove references to c:\temp 2022-04-20 09:59:30 +10:00
dotasek a8da416ee3 Fix xml test + add unit tests 2022-04-11 14:57:10 -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
markiantorno 260d8474bf issue_761 fix 2022-03-14 11:27:18 -04:00
Grahame Grieve c627ec43d9 Add R4B code + update generator for R4B generation 2022-01-01 16:33:10 +11: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 d91b26e69b Add getServerVersion to tooling client 2021-11-09 06:13:18 +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
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
Louis Rolland 0a3cc93c2f fix: #555 Handling minValue/maxValue in generate snapshot process 2021-08-11 10:08:45 +02:00
markiantorno 30e45f54ed wip 2021-05-25 13:36:07 -04: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 f73147523a
Gg v5.0.20 work (#294)
* ongoing work around connection problems with tx.fhir.org

* fix for bug processing CCDA constraints (logical model constraints)

* fix for bug loading Measures from packages

* fix NPEs loading invalid packages

* Start Working on i18n for Rendering + Fix case bug rendering bundles and parameters

* Fix for problem with expansion code checking and incomplete value sets

* release notes
2020-08-06 10:51:05 -04:00
markiantorno 3eed00d2f7 some changes 2020-07-20 13:16:16 -04:00
Grahame Grieve 94467b270a standardise terminology client across versions 2020-06-07 08:42:14 +10: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
markiantorno 89f98bb960 I cast you out unclean spirit. 2020-04-29 16:55:40 -04:00
markiantorno a7e874501e Tests updated to JUnit Jupiter. Various quality of life improvements. 2020-04-21 20:36:17 -04:00