Commit Graph

418 Commits

Author SHA1 Message Date
Grahame Grieve 1d4eefa62b Rename implySystem to inferSystem per TI decision 2023-08-13 19:55:52 +10:00
Grahame Grieve 6041660e9b Improved error messages on server failure 2023-08-11 14:16:09 +10:00
Grahame Grieve 952dedd06b #1343 - addChild error in PEBuilder 2023-08-09 19:48:01 +10:00
markiantorno 9c3a6a7f37 Updating version to: 6.0.26-SNAPSHOT and incrementing test cases dependency. 2023-08-04 17:55:11 +00:00
markiantorno bc3f348108 Release: v6.0.25
## Validator Changes

* Fix problem with evaluating extension contexts
* Fix up support for inactive codes and fix error message syntax
* Fix issue with collection status of resolve() being wrong
* Improved paths in profile error messages
* Fix problem with extension slicing being missed sometimes.
* Fix problem with code validation caching ignoring whitespace
* Produce useful error message when whitespace is wrong in display name
* Support for x-version extensions when generating snapshots

## Other code changes

* Render inactive property in expansions
* Resolve URL for x-version extensions
* Don't warn for loading a wrong version package more than once
* Do not supercede R4 terminology when loading R5 IGs
* Migrate type support when generating differentials
***NO_CI***
2023-08-04 17:27:42 +00:00
markiantorno 011167a218 Updating version to: 6.0.25-SNAPSHOT and incrementing test cases dependency. 2023-08-02 23:28:12 +00:00
markiantorno 42274a7bd3 Release: v6.0.24
## Validator Changes

* Create warnings for status on terminology resources
* Don't load resources from core examples package

## Other code changes

* fix up copy directory for case differences
***NO_CI***
2023-08-02 23:02:37 +00:00
markiantorno 0165495626 Updating version to: 6.0.24-SNAPSHOT and incrementing test cases dependency. 2023-07-27 14:23:16 +00:00
markiantorno db5d2b07c3 Release: v6.0.23
## Validator Changes

* Update IPS versions for -ips parameter (and get it working again)
* fix up validation of constraints in differentials (wasn't always happening)
* add warnings when collection status isn't right
* Better information messages when CodeSystem.content = not-present
* Add character check in validator for illegal XML Unicode characters
* Fix path problem in NpmPackage (some simplifier packages couldn't be processed)
* Fix NPE validating codes in value sets with improper expansions

## Other code changes

* Add support for Liquid assign
* Switch to DateTime type for Android Support
* Code clean up: remove unused imports
* Fix JSON unicode encoding handling of chars <32 code points
***NO_CI***
2023-07-27 13:56:32 +00:00
Grahame Grieve 95d30dee24 more fixing r4b test cases 2023-07-27 21:03:32 +10:00
Grahame Grieve 4677f319cb Fix R4B liquid processor 2023-07-27 20:07:36 +10:00
Grahame Grieve 3eef08dab8 remove unused imports 2023-07-26 08:31:21 +10:00
markiantorno 592fba54cc Updating version to: 6.0.23-SNAPSHOT and incrementing test cases dependency. 2023-07-22 17:06:10 +00:00
markiantorno b7fd3be910 Release: v6.0.22
## Validator Changes

* Add support for private NPM registries requiring authentication
* Don't check FHIRPaths on differentials - not enough type info to test reliably
* Fix bugs in FHIRPath handling of logical models
* Fix minor bugs in type handling for Logical Models and R3 Profile validation
* Remove spurious warning message validating CDA documents
* Add value set qa checking
* Fixes to validator for new CDA package (proper handling of logical model types)
* Fix up bi-di warning message
* Add provisional support for alternate codes
* Workaround ClinicalImpression definition problem in core spec
* Fix to get context variables right when running invariants + fix for parent not always being populated + check type in derived profiles
* Fix checking FHIRPath statements on inner elements of type slices
* Fix scan of naming systems (error validating namespaces)
* Fix issue checking invariant expressions in R5

## Other code changes

* FHIRPath in HAPI mode: Strip returned IIdType of qualifier, version, and resourceType
* Update R4 and R4B FHIRPath implementations for changes picked up in R5 usage
* Fix obligation rendering message
* Fix missing extensions when converting value set properties
* Fix type of x-unknown-code-system in $validate-code response
* Fix CDA validation test case
* Much work on TxServer test case framework + Update terminology server implementation and tests for changes to test cases
* OMOP Vocabulary and ICFImporter development
* Add OWASP dependency check (#1347), upgrade many packages, remove ShEx
* Add github action to upload results
* Remove unused javalin dependency, also generate html reports
* Added test case for ExampleScenario conversion (R4/R5) and significantly bulked up the conversion process
* Remove unneeded resources (#1346) (help16.png)
* Add test for setVsAsUrl parameter setting (#1345)
***NO_CI***
2023-07-22 16:41:19 +00:00
dotasek 2654e85df3
Implement private NPM server (#1337)
* WIP start adding NPM data.

* WIP 2 Testing against verdaccio npm

* WIP private npm package servers

* WIP2 add server type config

* WIP3 parse tarball url

* Fix package date parsing, start mocking server tests

* Add dummy package, assert authorization and content

* Add more tests

* Add serverType to settings test

* Ignore tgz files for bidi check

* tighter bidi ignore

* different ignore regex

* Make packageManagement settings, allow ignoring default package servers

* New tests + token authentication

* Manage 404s when configured servers don't have package
2023-07-22 11:01:36 -04:00
dotasek b62f9afc5a
Remove resourceType, version, and qualifier from FHIRPath id results (#1357)
* Breaking test

* Strip returned IIdType of qualifier, version, and resourceType

* Add fix to r4b

* Add fix to r5
2023-07-22 11:01:13 -04:00
Grahame Grieve 4e8f0f0c0c
Merge pull request #1353 from hapifhir/2023-07-gg-context-fixes
2023 07 gg context fixes
2023-07-21 14:48:19 +10:00
Grahame Grieve 8cf086b203 update R4 and R4B FHIRPath implementations for changes picked up in R5 usage 2023-07-21 14:09:11 +10:00
dotasek 2f11af9bfa
Return HumanName getText() preferentially in getNameAsSingleString (#1355)
* Failing tests

* Return getText if it exists in HumanName
2023-07-18 12:22:53 -04:00
dotasek 8cf4a62f32
Remove unneeded resources (#1346) 2023-07-12 16:46:42 -04:00
markiantorno 6a187a9232 Updating version to: 6.0.22-SNAPSHOT and incrementing test cases dependency. 2023-07-07 12:36:19 +00:00
markiantorno 45ae02cf1d Release: v6.0.21
## Validator Changes

* Fix up processing conditions in -watch mode
* Fixes for validating against logical models (for fixed up CDA core package)
* Better testing of extension context (when limited to profile)
* Fix handling of UCUM codes when no terminology server
* Report hints and warnings on some code validation that had been not reported
* Better validation of valuesets when checking derived profiles

## Other code changes

* Render reference identifier if there is one when rendering references
* Hide empty place holder column when rendering by profile
* Fix npe rendering extensions + improve base64 presentation
* OMOP terminology importer
* update SPDX code system in R4/R4B for support for not-open-source
* Fix up type handling for conversions between R4/R4B and R5 (OperationDefinition fix)
***NO_CI***
2023-07-07 12:10:05 +00:00
Grahame Grieve 29e9f28add update SPDX code system in R4/R4B for support for not-open-source 2023-07-05 07:18:44 +10:00
markiantorno 6db701767a Updating version to: 6.0.21-SNAPSHOT and incrementing test cases dependency. 2023-06-30 23:19:08 +00:00
markiantorno 6a6c425562 Release: v6.0.20
## Validator Changes

* no changes

## Other code changes

 * Fix for SPDR not-open-source in code
 * fix name and title in VSAC import process
 * More work on Android support + fix issues in NPM package installation that caused
***NO_CI***
2023-06-30 22:52:51 +00:00
markiantorno 3c8e26f078 Updating version to: 6.0.20-SNAPSHOT and incrementing test cases dependency. 2023-06-30 05:37:45 +00:00
markiantorno 3b82a4d829 Release: v6.0.19
## Validator Changes

* no changes

## Other code changes

* Fix for SPDR not-open-source in code
* fix name and title in VSAC import process
* More work on Android support
***NO_CI***
2023-06-30 05:08:20 +00:00
markiantorno 06a1d523a3 Updating version to: 6.0.19-SNAPSHOT and incrementing test cases dependency. 2023-06-29 05:12:43 +00:00
markiantorno 76955fa3d5 Release: v6.0.18
## Validator Changes

* Fix issue loading SPDX value set + Fix missing code for 'not-open-source'
* Allow target to be treated as source when validating FML
* Fix issues validating names and urls for logical models
* Don't duplicate warnings about missing expressions on invariants in R5

## Other code changes

* Handle case where base hasn't got a snapshot generating snapshots
***NO_CI***
2023-06-29 04:47:28 +00:00
markiantorno 7ffbe7703d Updating version to: 6.0.18-SNAPSHOT and incrementing test cases dependency. 2023-06-28 07:13:43 +00:00
markiantorno 345151b132 Release: v6.0.17
## Validator Changes

* Fix check for correct type name use in logical models (for CDA)
* Fix bug loading packages (introduced working on minimal loading)
* Fir NPE processing R3 Structure Definitions
* exempt ele-1 from constraint consistency checking
* Add -watch-scan-delay and -watch-settle-time
* fix missing error validating structure maps
* Fix bug with erroneous warning in snapshot generation about profile not being found
* Update SPDX code system to latest version
* Output proper filename in validation log

## Other code changes

* Refactor version utility code
* Fix help placeholders
* Better error when handling loading resources
* fix duplicate element generation in CDA.AD type snapshot generation
* Fix message about rendering problem. Actual solution... not sure.
* Minimal Memory model changes for Npm for Android
***NO_CI***
2023-06-28 06:47:19 +00:00
Grahame Grieve 2f253f3457 Update SPDX implementation 2023-06-24 08:55:51 +10:00
markiantorno 67cb3006f2 Updating version to: 6.0.17-SNAPSHOT and incrementing test cases dependency. 2023-06-21 07:40:48 +00:00
markiantorno 8bd0f0b1ad Release: v6.0.16
## Validator Changes

Post DevDays Release - many significant changes!

* Add ```-watch-mode``` parameter (See [doco](https://confluence.hl7.org/display/FHIR/Using+the+FHIR+Validator#UsingtheFHIRValidator-Watchmode))
* Start checking constraint expressions defined in profiles and logical models, and update FHIRPath for logical models
* Start checking ElementDefinition.mustHaveValue and ElementDefinition.valueAlternatives
* Start validating derived questionnaires
* Tighten up checking on FHIRPath - enforce use of ```'```, and don't accept ```"``` for string delimiters
* Add ```-allow-double-quotes-in-fhirpath``` parameter ([doco](https://confluence.hl7.org/display/FHIR/Using+the+FHIR+Validator#UsingtheFHIRValidator-LegacyFHIRPathSetting))
* Fix error when validating profiles that mix canonical() and Reference() types
* Fix extension context checking
* Fix erroneous FHIRPath expression eld-11 when loading
* Fix incomplete support for ```-display-issues-are-warnings``` parameter
* Fix broken NullFlavor binding in R4
* Fix various NPE errors doing value set validation (+ logging tx operations)
* Minor performance improvements to start up time
* Auto-update implied slicing elements when min < slice min

## Other code changes

* Add CodeQL to the build process
* Various NPE fixes
* Add getValueAsString(TemporalPrecisionEnum) method to date/time types
* Fix rendering for unresolvable ValueSets
* Remove r4b eclipse project files
* Upgrade multiple dependency libraries (per CodeQL)
* Only record sorting errors when generating snapshots when debug mode is on
* Tighten up SSL certificate checking
* Partial refactor of CLI parameter handling
* Fix path regex (per CodeQL)
* Remove erroneous logging from conversion tests
* Rendering improvements for various profile related extensions
* More work on TxTests operation (lenient wrt extensions)
* Fix handling of summary extension (delete duplicate tools summary extension, and don't inherit it)
* Reprocess URLs in Markdown extensions on both StructureDefinition and ElementDefinition
* Improve URL detection in markdown when reprocessing URLs
***NO_CI***
2023-06-21 07:09:07 +00:00
Grahame Grieve 3f6ec1da47 Revert "update R4B FHIRpath implementation"
This reverts commit 3abd19cc4d.
2023-06-21 10:19:02 +10:00
Grahame Grieve 3abd19cc4d update R4B FHIRpath implementation 2023-06-21 09:19:19 +10:00
Grahame Grieve 4e5c501b1f
Merge pull request #1315 from hapifhir/do-20230619-datetimetype-string-precision
New getValueAsString(TemporalPrecisionEnum) method for DateTimeType
2023-06-20 09:56:40 +10:00
dotasek ae59d97ba5 Document new method, add to all FHIR versions 2023-06-19 15:41:04 -04:00
dotasek 84bd1e5fec
Remove eclipse specific files (#1314) 2023-06-19 14:26:37 -04:00
dotasek 829882773a
More use of dependencyManagement, bump guava (#1313) 2023-06-19 12:26:21 -04:00
dotasek ff7997d7d2
Fix older jetbrains annotations transitive dependency (#1299) 2023-06-09 14:43:49 -04:00
markiantorno 8237fb862b Updating version to: 6.0.16-SNAPSHOT and incrementing test cases dependency. 2023-06-08 21:23:36 +00:00
markiantorno cc14a4142f Release: v6.0.15
## Validator Changes

* no changes

## Other code changes

* Update commons-beanutils and apache.poi dependencies
***NO_CI***
2023-06-08 20:56:04 +00:00
dotasek 7b05c7514e
Bump poi version, remove unused old dependencies (#1296) 2023-06-08 10:47:37 -04:00
markiantorno 10f466487b Updating version to: 6.0.15-SNAPSHOT and incrementing test cases dependency. 2023-06-08 05:03:27 +00:00
markiantorno 3969ac75c4 Release: v6.0.14
## Validator Changes

* no changes

## Other code changes

* Fix bugs in language handling
* Implement Trivy vulnerability scanning and update POI and okhttp libraries
***NO_CI***
2023-06-08 04:33:30 +00:00
markiantorno 619703dbf8 Updating version to: 6.0.14-SNAPSHOT and incrementing test cases dependency. 2023-06-07 13:14:17 +00:00
markiantorno b704ea50fc Release: v6.0.13
## Validator Changes

* no changes

## Other code changes

* add clear() to JsonObject
***NO_CI***
2023-06-07 12:48:04 +00:00
markiantorno a605d944bc Updating version to: 6.0.13-SNAPSHOT and incrementing test cases dependency. 2023-06-06 21:27:18 +00:00
markiantorno 8edd61a197 Release: v6.0.12
## Validator Changes

* Improve message when there's multiple display options

## Other code changes

* Fix loading issue with r5 extensions
* NPM package compression improvements
* Update language file handling to handle context
* Remove logical models in minifier, and other improvements
* Auto update minimum slicing cardinality when slicer is assumed (extensions)
***NO_CI***
2023-06-06 20:55:08 +00:00