Commit Graph

2140 Commits

Author SHA1 Message Date
Vassil Peytchev c173df9f5b Updates for Capability Statement rendering 2023-10-27 15:03:19 -05:00
Grahame Grieve 322f0d4756 allow URL as a type of string in FHIRPath type checking 2023-10-28 06:37:42 +11:00
Grahame Grieve 681bc1ab36 Fix semver validation 2023-10-28 06:36:34 +11:00
Grahame Grieve a327f0312e code clean up 2023-10-28 06:35:20 +11:00
markiantorno b60d9e4f81 Updating version to: 6.2.1-SNAPSHOT and incrementing test cases dependency. 2023-10-24 23:01:44 +00:00
markiantorno 7c3863c6ad Release: v6.2.0
## Validator Changes

* Validation by templateId for CDA
* Fix NPE validating concept maps
* Update ViewDefinition validator for change (alias -> name)
* Fix for NPE validating sql-on-fhir ViewDefinition
* Fix for index out of bounds error when extension uses itself
* Fix issue where .resolve() in FHIRPath didn't work with URL values (and fix typo in i18n system)
* Implement FHIRPath slice() function in validator
* Fix bug where Snapshot generation can run off the end of the differential

## Other code changes

* Breaking API Change: Revise FHIRPath API so hosts can evaluate expressions in custom functions
* Add package use tracking to FHIR cache for validator.fhir.org
* Support for instance-name and instance-description in IG publisher
* Element.removeExtension (support for instance-name and instance-description extensions in IG publisher)
* Split terminology service tests
* Hack for wrong URLs in subscriptions backport
* Remove dependencies for unused UI experiment
* More improvements to profile code generation
***NO_CI***
2023-10-24 22:34:10 +00:00
Grahame Grieve e2ac0c56c7 bump minor version correctly 2023-10-25 08:20:34 +11:00
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 2f8a5a071e validation by templateId for CDA 2023-10-20 21:30:25 +11:00
Grahame Grieve 6a78fdd1e0 Add package use tracking to FHIR cache for validator.fhir.org 2023-10-20 16:32:16 +11:00
markiantorno 87b756e0c7 Updating version to: 6.1.17-SNAPSHOT and incrementing test cases dependency. 2023-10-16 22:48:30 +00:00
markiantorno b9338024a6 Release: v6.1.16
## Validator Changes

* Fix bug processing value sets containing URLs

## Other code changes

* Add initial support for http://hl7.org/fhir/tools/StructureDefinition/type-profile-style
* More work on sql-on-fhir implementation
* Allow for type parameter to custom functions in FHIRPath
* Fix bugs in processing current packages for XIG
***NO_CI***
2023-10-16 22:19:52 +00:00
Grahame Grieve ae037cb5d6 set up release 2023-10-17 08:37:43 +11:00
Grahame Grieve ac10ddc9ac Add initial support for http://hl7.org/fhir/tools/StructureDefinition/type-profile-style 2023-10-16 23:13:46 +11:00
markiantorno a31120f15f Updating version to: 6.1.16-SNAPSHOT and incrementing test cases dependency. 2023-10-13 16:03:08 +00:00
markiantorno 17b7528c0f Release: v6.1.15
## Validator Changes

* Support for CDA code validation

## Other code changes

* Update XML Parser & logical model renderer for XML choice groups
* Restore JSON Parser method for HAPI compatibility.
* Maintain OID to URL lookup index
* Fix json parsing of CDA
***NO_CI***
2023-10-13 15:36:00 +00:00
Grahame Grieve 9d742dcd24 rework OID handling 2023-10-13 10:27:53 +11:00
Grahame Grieve 3d039a89eb get tests passing 2023-10-12 21:50:39 +11:00
Grahame Grieve 84e3bec25f more XML checking for CDA + control over date rules 2023-10-12 20:15:16 +11:00
Grahame Grieve 04597eea27 OID related fixes 2023-10-12 20:13:48 +11:00
Grahame Grieve 1207e32e20 Support for CDA code validation 2023-10-12 12:54:25 +11:00
Grahame Grieve a10ac3c590 Build OID -> URL Index 2023-10-12 12:53:55 +11:00
markiantorno 65161437cb Updating version to: 6.1.15-SNAPSHOT and incrementing test cases dependency. 2023-10-10 10:28:06 +00:00
markiantorno faf0e0684c Release: v6.1.14
## Validator Changes

* Make sure logical models get a snapshot generated

## Other code changes

* Fix URL of concept map extension in version conversion
***NO_CI***
2023-10-10 10:01:13 +00:00
markiantorno 5f96bcd35d Updating version to: 6.1.14-SNAPSHOT and incrementing test cases dependency. 2023-10-09 19:09:40 +00:00
markiantorno 2d5efc33d1 Release: v6.1.13
## Validator Changes

* Improve language on constraint error message + add expression checking for SQL on FHIR project

## Other code changes

* Fix uuid() executing StructureMaps and don't throw errors processing StructureMaps
* Add support for test folder in NPM packages
* Fix rendering of XML Attributes in profiles
* Add support for hosts to manage certificate resolution using ISignatureServices + fix issue matching type names when validating logical models
* Make sure snapshots are generated when fetching types
* Workaround issue where R5 build wrongly adds ele-1 to base
* Fix conversion issue associated with ConceptMap.element.target.equivalence in versions previous to R5 (use proper extension URL, and move extension so it can be a modifier. And fix for modifierExtension handling)
* Fix birthDate editing in CmdLineApp
***NO_CI***
2023-10-09 18:43:48 +00:00
Grahame Grieve 9da31ae8ad improve language on constraint error message + add expression checking for SQL on FHIR project 2023-10-09 17:46:33 +11:00
markiantorno 9ec1c68cfc Updating version to: 6.1.13-SNAPSHOT and incrementing test cases dependency. 2023-10-05 02:20:25 +00:00
markiantorno d705905c8c Release: v6.1.12
## Validator Changes

* fix CDA parsing error for sdtc:raceCode
* fix xml output to deal with namespaces properly
* fix FHIRPath join implementation to make separator parameter optional

## Other code changes

* Improve rendering for xml_no_order extension
* add command line demo app
* rework xig into 3 steps
* add userData to JSON element
* Initial SQL On FHIR implementation
* Add getDistalNames() to FHIRPath for SQL-on-FHIR support
***NO_CI***
2023-10-05 01:50:02 +00:00
Grahame Grieve 752ab7a3d1
2023 10 gg cda parsing fix 2 (#1451)
* fix xml output to deal with namespaces properly

* Improve rendering or xml_no_order

* add command line demo app

* fix CDA parsing error for sdtc:raceCode

* Fix error message

* Bump test case version

---------

Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
Co-authored-by: dotasek <dotasek.dev@gmail.com>
2023-10-04 18:42:29 -04:00
Grahame Grieve d6eb345692
Merge pull request #1449 from hapifhir/2023-10-gg-xig_steps
2023 10 gg xig steps
2023-10-04 03:57:22 +03:00
Grahame Grieve fb7ad19218 add userData to JSON element 2023-10-03 16:12:02 +03:00
Grahame Grieve f70b3ac23b Initial SQL On FHIR implementation 2023-10-03 16:11:47 +03:00
markiantorno 627e40934b Updating version to: 6.1.12-SNAPSHOT and incrementing test cases dependency. 2023-10-02 13:18:11 +00:00
markiantorno 9b5c26be25 Release: v6.1.11
## Validator Changes

* Fix FHIRPath type resolution for logical models
* Update parsers to record the element format for logical model validation
* fix profile matching for CDA logical models

## Other code changes

* Upgrade PackageVisitor for XIG
***NO_CI***
2023-09-30 18:21:42 +00:00
markiantorno f9b3dbde57 Updating version to: 6.1.11-SNAPSHOT and incrementing test cases dependency. 2023-09-29 11:11:34 +00:00
markiantorno ddd3889268 Release: v6.1.10
## Validator Changes

* Change Mapping type validation error to warning validating maps
* Add support for special case codes in v2 (NNnnn)
* Fix problem parsing logical model cda fragments
* Fix parsing logical model list attributes
* Fix issue parsing parameters in a target expression

## Other code changes

* Handle additional bindings when generating snapshots for R5 profiles
* Fix problem rendering additional bindings in R5
* Fix for new pubpack version
***NO_CI***
2023-09-29 10:45:20 +00:00
Grahame Grieve 0d4e1af1a6
Merge pull request #1447 from hapifhir/2023-09-gg-cda-fixes
2023 09 gg cda fixes
2023-09-29 19:23:05 +10:00
Grahame Grieve cd79c491a0 fix for new pubpack version 2023-09-29 18:37:42 +10:00
Grahame Grieve 6fa4bb1061 change error to warning validating maps 2023-09-29 13:38:05 +10:00
markiantorno 90d683907d Updating version to: 6.1.10-SNAPSHOT and incrementing test cases dependency. 2023-09-27 16:01:56 +00:00
markiantorno b276d8a793 Release: v6.1.9
## Validator Changes

* Fix for issue parsing SHC and not recording line/col correctly
* Fix issue validating CDA FHIR Path constraints
* Better error handling validating codes in concept maps
* Validate special resource rules on contained resources and Bundle entries
* Improved error messages of observation bp
* Fix up WG internal model for changes to workgroups
* fix misleading error message inferring system when filters in play
* Fix type handling for logical models (CDA fixes)
* Fix up parsing of logical models
* Fix bug parsing extension with no value in JSON for the validator

## Other code changes

* Major uplift of PEModel to support generated code for profiles in R4 + R5
* Add removeChild in R4/R4B/R5 model
* Fix version conversion issue between r4 and r5 charge definition issue
* Fix rendering extension and missed profile on Reference()
***NO_CI***
2023-09-27 15:35:08 +00:00
Grahame Grieve f9971a027a release notes 2023-09-27 22:29:05 +10:00
Grahame Grieve 75f2d559ca Improve comparison of generated java code 2023-09-27 11:36:16 +10:00
Grahame Grieve 527b2cb35b Fix issue validating CDA FHIR Path constraints 2023-09-27 05:51:46 +10:00
Grahame Grieve ac7a7c5a83 Improved error messages 2023-09-25 13:49:39 +10:00
Grahame Grieve a77a8f5bda fix up WG internal model 2023-09-25 13:49:07 +10:00
markiantorno 7d4816f628 Updating version to: 6.1.9-SNAPSHOT and incrementing test cases dependency. 2023-09-21 19:51:51 +00:00
markiantorno 8413995d8b Release: v6.1.8
## Validator Changes

* no changes

## Other code changes

* Fix typo in CodeSystem renderer fixed string
***NO_CI***
2023-09-21 19:24:42 +00:00
Grahame Grieve d90665887b fix typo 2023-09-22 04:37:08 +10:00
markiantorno 14e6f210e6 Updating version to: 6.1.8-SNAPSHOT and incrementing test cases dependency. 2023-09-21 06:36:25 +00:00
markiantorno 23a0bc3f14 Release: v6.1.7
## Validator Changes

* Significant Performance improvements parsing JSON resources
* Refactor Type handling for faster performance
* Validate the stated publisher/WG/contacts for HL7 published resources
* Better error message when diff contains bad paths
* pass dependent resources to server and make sure cache-id is filled out properly in all contexts
* Fix error in FML parser parsing parameters
* Fix issue with dom-6 and contained elements (Internal ChildMap synchro issues)
* Better handling of errors from tx.fhir.org
* Fix bug checking for implicit value sets
* Fix bug checking of mixing snomed display types
* Reduce size of validatable concept map to 500 - for now + better handling of errors on server batches
* Improve UCUM validation BP rule

## Other code changes

* Fix up handling of includes in liquid templates
* Fix up rendering of profile names for abstract profile instantiations
* Improved rendering of codes in include when rendering valuesets
* Start generating .index.db as well as .index.json in packages for faster package reading
* Fix problem caching look up of implied value sets
* Add okio dependency for running vsac
***NO_CI***
2023-09-21 06:06:01 +00:00
Grahame Grieve 6f17713ae8 Improve UCUM validation BP rule 2023-09-21 12:41:23 +10:00
Grahame Grieve 7c2f403d55 fix problem with Element childMap getting out of sync 2023-09-21 12:40:30 +10:00
Grahame Grieve eecc6633d3 Improved rendering of codes in include when rendering valuesets 2023-09-20 11:12:50 +10:00
Grahame Grieve e0af2b7916 Add WG logic for rendering and validation 2023-09-20 11:11:42 +10:00
Grahame Grieve c8c65530f2 close possible handle leak generating .index.db 2023-09-20 11:10:41 +10:00
Grahame Grieve 8bae1a23ff fix wrong name 2023-09-20 06:55:37 +10:00
Grahame Grieve 46c12d1a22 Performance improvements for type handling, and rename NamedElement to ValidatedFragment 2023-09-19 09:58:36 +10:00
Grahame Grieve 2b2ded9321 improve text generated by xhtml -> text 2023-09-18 17:07:51 +10:00
Grahame Grieve 5151fa39de more support for .index.db 2023-09-18 17:07:19 +10:00
Grahame Grieve fa2168fc56 add doco 2023-09-18 17:07:05 +10:00
Grahame Grieve ea7cd290a8 More performance improvements for JsonParser 2023-09-17 15:45:02 +10:00
Grahame Grieve 3681614ce3 bug fix 2023-09-15 22:08:35 -07:00
Grahame Grieve 4d2868f21e Add support for validating WG info in HL7 resources 2023-09-15 22:01:30 -07:00
Grahame Grieve e7010d7af0 Add support for .index.db 2023-09-15 22:01:12 -07:00
markiantorno a68ba66d1a Updating version to: 6.1.7-SNAPSHOT and incrementing test cases dependency. 2023-09-15 22:58:19 +00:00
markiantorno 43e73b1281 Release: v6.1.6
## Validator Changes

* Add R4B binding-definition URL to validator exception list
* Correct validation when CodeSystem.content = example and server doesn't know code system
* Fix bug processing CDA snapshots
* Fix issue evaluating FHIRPath correctness on CDA.Observation
* Improve error message from validator when invariants fail
* Fix NPE validating concept maps
* Add parameter for easy CDA validation
* Suppress wrong invariants on compiler magic types
* fix NPE checking codes

## Other code changes

* Improve CodeSystem rendering - make parent property a link
* Add file tracking when npm package performing file unpacking
* Remove env variables from path builder
* Fix bug in version comparison
* fix for NPE in HAPI
* Performance improvements for IG Publisher
* Start working on cross-version extensions
* Improve rendering of message about logical target
***NO_CI***
2023-09-15 22:32:55 +00:00
Grahame Grieve 65ea3ddf95 Merge remote-tracking branch 'origin/master' 2023-09-15 13:13:40 -07:00
Grahame Grieve d40006ba8c Performance improvements for IG Publisher 2023-09-15 10:13:53 -07:00
Grahame Grieve a59a9619d9 Improve error message from validator when invariants fail 2023-09-15 10:13:02 -07:00
Grahame Grieve fada7b2f50 Fix bug in version comparison 2023-09-13 21:37:56 -07:00
dotasek 57f7e2d0ee Remove env variables from paths 2023-09-13 23:03:16 -04:00
Grahame Grieve 9b151c93b4 Add file tracking to file unpacking 2023-09-12 15:48:35 -07:00
markiantorno a8967b378f Updating version to: 6.1.6-SNAPSHOT and incrementing test cases dependency. 2023-09-11 01:26:15 +00:00
markiantorno a09216c6e8 Release: v6.1.5
## Validator Changes

* no changes

## Other code changes

* Add baseUrl and version methods to r5 CanonicalType
***NO_CI***
2023-09-11 01:00:01 +00:00
markiantorno 30ed1bf615 Updating version to: 6.1.5-SNAPSHOT and incrementing test cases dependency. 2023-09-10 01:22:26 +00:00
markiantorno 1c24341056 Release: v6.1.4
## Validator Changes

* Fix bug preventing Best Practice invariants being reported on, and add -best-practice parameter
* Fix issue not validating bundles when there are multiple profiles on entry.resource
* Add Japanese translations

## Other code changes

* Fixes for minor bugs discovered testing the XIG
* fix package program data path
***NO_CI***
2023-09-10 00:51:54 +00:00
Grahame Grieve 82406cbdb2
Merge pull request #1432 from hosanai/master
add Japanese messages
2023-09-10 09:30:11 +10:00
Grahame Grieve eef084f4b3
Merge pull request #1427 from hapifhir/do-20230905-fix-system-cache-directory
Fix system cache directory
2023-09-10 09:29:57 +10:00
dotasek 52428d761f Better resolution of Windows path 2023-09-09 14:53:41 -07:00
dotasek 448eeafa30 Avoid root directory in first entry. 2023-09-09 08:47:12 -07:00
dotasek eb81b0abb4 Path fix for Windows 2023-09-09 07:57:09 -07:00
hosanai 4fedeb46c0
Merge branch 'hapifhir:master' into master 2023-09-08 11:32:00 +09:00
Hisashi Osanai b3e2fd5fda Remove CR (Carriage Return) 2023-09-08 11:27:10 +09:00
Grahame Grieve 493f2f51f2 more xig fixes 2023-09-08 12:15:52 +10:00
Grahame Grieve 304fa3f493 Adjust tests for best-practice flag 2023-09-08 04:21:14 +10:00
Grahame Grieve a061db8f01 Fix issue not validating bundles when there are multiple profiles on entry.resource 2023-09-07 17:07:09 +10:00
Grahame Grieve e081b27fd5 XIG convenience methods 2023-09-07 17:05:32 +10:00
dotasek e9b1e63e04 Fix windows test
You continue to disappoint me, Windows.
2023-09-06 11:57:45 -04:00
Hisashi Osanai 33fc1fcdbe add Japanese messages 2023-09-07 00:44:13 +09:00
dotasek 430833616a Merge branch 'master' into do-20230905-fix-system-cache-directory 2023-09-06 09:26:05 -04:00
dotasek d0ec1544da Disable system mode test for Windows 2023-09-06 09:25:09 -04:00
markiantorno 980f04557c Updating version to: 6.1.4-SNAPSHOT and incrementing test cases dependency. 2023-09-06 08:22:50 +00:00
markiantorno 6d37127e63 Release: v6.1.3
## Validator Changes

* Test concept map code validity
* Rework type checking on target profiles to support imposesProfile
* Fix imposesProfile extension being missed on primary profile
* Add support for IPS-AU
* Fix warning/error message about experimental property on CodeSystems and ValueSets
* Fix unknown code message to include code system version
* Add provisional SHLinks validation

## Other code changes

* Render Requirements.reference
* Convert Requirements.reference between versions
* Fix test that breaks on local machines + Fix system path for FileSystemPackageCacheManager
* Update to cqframework 2.11 and remove unused common-beanutils declaration (#1419)
* Better xhtml logging for debugging
* Fix DF markdown engine to escape < properly
* Support for sub-packages in packagelist.json
* NPE proofing property handling for Code Systems
* rework the way intermediary content is handled in the validator
* Restore CodeQL regex queries (#1422) + Whitelist BSD 3-clause license
***NO_CI***
2023-09-06 06:12:07 +00:00
Grahame Grieve 87f7984f8b test concept map code validity 2023-09-06 09:12:25 +10:00
dotasek 82813a88d2 Fix system path for FileSystemPackageCacheManager 2023-09-05 15:35:21 -04:00
Grahame Grieve beb89b575a rework type checking on target profiles to support imposesProfile 2023-09-05 23:09:18 +10:00
Grahame Grieve cdda99c290 beter xhtml logging for debugging 2023-09-05 00:14:19 +10:00
Grahame Grieve 38cf5e01dc fix DF markdown engine to escape < properly 2023-09-05 00:13:24 +10:00
Grahame Grieve 84308e70b1 fix warning/error message about experimental property 2023-09-04 13:40:20 +10:00
Grahame Grieve 3fa9a6725a support for sub-packages in packagelist.json 2023-09-04 13:39:59 +10:00
Grahame Grieve bfac7f06de Add SHLinks validation 2023-09-02 23:21:32 +07:00
markiantorno bca705a3c6 Updating version to: 6.1.3-SNAPSHOT and incrementing test cases dependency. 2023-08-31 13:58:37 +00:00
markiantorno f5e218c279 Release: v6.1.2
## Validator Changes

* FHIRPath fixes checking types discovered testing R6 build

## Other code changes

* Fix rendering of impose-profile extension
* Improvements to performance tracking code
* get FHIRFormat from SHC code
***NO_CI***
2023-08-31 13:29:31 +00:00
Grahame Grieve 4bba1c2cde fix bugs in FHIRPath checking and track special time when validating resources 2023-08-31 06:30:29 +02:00
Grahame Grieve 2deb88cdc9 Merge remote-tracking branch 'origin/master' 2023-08-30 09:38:45 +02:00
Grahame Grieve a78aa25c14 #1415 review system.out.println() statements 2023-08-29 19:21:45 +02:00
markiantorno 9048983155 Updating version to: 6.1.2-SNAPSHOT and incrementing test cases dependency. 2023-08-29 08:56:09 +00:00
markiantorno 2f6c61af78 Release: v6.1.1
## Validator Changes

* Fix problem validating code systems with content = not-present
* Further development of multi-language support on the tx server, and:
* Change the validator so that the default language is '*' (all languages) not 'en'

## Other code changes

* Improve license scanning and readme documentation
* Change xpp3 dependency
* Add client version to tx user-agent requests
* Suppress spurious xml parsing messages to System.err
***NO_CI***
2023-08-29 08:27:41 +00:00
Grahame Grieve d0815682b8
Merge branch 'master' into language-rework 2023-08-28 20:13:42 +02:00
Grahame Grieve 684f6bd740 fix test cases 2023-08-28 12:56:47 +02:00
Grahame Grieve b4764afd1f fix displayLanguage representation 2023-08-27 13:27:29 +02:00
Grahame Grieve 7eaa723ec9 rewrite the way language works in value sets 2023-08-25 13:09:36 +02:00
dotasek 490e57fa7c Swap out xpp3 dependency 2023-08-23 15:51:44 -04:00
markiantorno fb64a720c8 Updating version to: 6.1.1-SNAPSHOT and incrementing test cases dependency. 2023-08-22 17:26:57 +00:00
markiantorno e90863a271 Release: v6.1.0
## Validator Changes

* Performance fix: Delay loading content when loading IGs
* CodeSystem validation around count and content
* Add checking around internal status consistency and across dependencies (draft/experimental/retired/deprecated)
* Improved error messages on server failure
* Fix bug in warning about No valid Display Names found
* Use Supplements when validating display names
* Fix issue in FHIRPath .combine focus handling
* Check Extension fixed values for URLs - enforce consistency
* Fix R4 FML parser problem
* Track and report inactive status when reported from terminology server
* Add defense against large terminology operations causing obscure java errors
* Fix bug with client sending too much data to tx.fhir.org (big performance hit in some cases)
* Fix obscure bug with designations in a more specific language the the code system they are in

## Other code changes

* Significant upgrade of version comparison for profiles/extensions, value sets, and code systems, and integration into rendering framework
* Many minor changes to terminology functionality (reconciliation with differences with OntoServer) including service protection
  * Rename implySystem parameter to inferSystem per TI decision
  * rework how definitions are handled after discussion with Michael
  * add flat mode to tests for Ontoserver, and add experimental functionality
* fix rendering issue in subscription topic
* Add a renderer for ExampleScenario
* Automatically render markdown in code system concept definitions
* Fix loading issues in test mode for simplifier packages
* Remove spurious logging in FHIRPath engine
* Fix addChild error in PEBuilder (#1343) + Add test case
* CPT Importer
* Dependencies fixed/updated: okhttp, thymeleaf, commonmark & UCUM
* Xhtml fluent improvements + related XHtmlNode improvements
* Release new pubpack for new icons
* Json Object comparison: fix bug in arrays with multiple optional elements + improved error messages + support for external strings
* fix cross-version extensions web references where possible
* Don't suppress exceptions in terminology clients
* Add first cut of Profile Generation code
* Stop putting invalid codes in expansions if they are not in the code system
***NO_CI***
2023-08-22 17:01:34 +00:00
dotasek 1b33d2a537 Bump minor version 2023-08-22 11:56:22 -04:00
Grahame Grieve b0a9bf27ed clean up file path messages for better troubleshooting 2023-08-22 21:47:25 +10:00
Grahame Grieve 390e25ddae more test fixes 2023-08-19 22:46:23 +10:00
Grahame Grieve 497a81a544 Track and report inactive status when reported from terminology server 2023-08-19 20:17:42 +10:00
Grahame Grieve 6f0d54a8dc terminology service bug fixes 2023-08-19 09:03:59 +10:00
Grahame Grieve c32492a66b improve error draft error where possible 2023-08-18 13:46:56 +10:00
Grahame Grieve eacffd11df Add support for external strings for tx tests 2023-08-17 11:14:34 +10:00
Grahame Grieve 4d7ecec87c more status checking 2023-08-16 22:39:28 +10:00
dotasek 976915f3bc Merge branch 'master' into do-20230815-bump-okhttp-dependencies 2023-08-15 17:41:02 -04:00
dotasek dacc73a114 Bump okhttp dependency, exclude vulnerable transitives 2023-08-15 12:52:01 -04:00
Grahame Grieve ea4e592910 CodeSystem validation around count and content 2023-08-15 19:34:24 +10:00
Grahame Grieve cc5069ccb3 xhtml fluent improvements 2023-08-15 19:34:08 +10:00
Grahame Grieve ebc755bc2a Check consistency between standards status and resource status 2023-08-14 21:11:49 +10:00
Grahame Grieve 2e49456ce1 more rendering fixes 2023-08-14 15:38:24 +10:00
Grahame Grieve 87b3a17ac0 XHtmlNode improvements for rendering fixes in IGs 2023-08-14 15:38:05 +10:00
Grahame Grieve 3300785484 release new pubpack for new icons 2023-08-14 15:36:53 +10:00
Grahame Grieve 991a2defee Start working on showing changes when rendering 2023-08-11 12:26:21 +10:00
Grahame Grieve 1208d691b2 Fix loading issues in test mode for simplifier packages 2023-08-11 12:25:01 +10:00
Grahame Grieve 5aefd6a268 add flat mode to tests, and add experimental functionality 2023-08-11 12:11:22 +10:00
Grahame Grieve 952dedd06b #1343 - addChild error in PEBuilder 2023-08-09 19:48:01 +10:00
Grahame Grieve 4b006f82ab delay loading content when loading IGs 2023-08-08 21:36:46 +10:00
Grahame Grieve 752f0e1983 fix bug in warning about No valid Display Names found 2023-08-08 19:58:51 +10:00
Grahame Grieve 1dd1c4ad90 better error when extension URL not fixed 2023-08-05 20:58:49 +10:00
Grahame Grieve 5a59db667f Merge remote-tracking branch 'origin/master' 2023-08-05 20:58:24 +10:00
Grahame Grieve 1fd7efe28b CPT Importer 2023-08-05 20:58:16 +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
Grahame Grieve e237f289bd Don't warn for loading a wrong version package more than once 2023-08-04 18:45:23 +10:00
Grahame Grieve 4727bc57ff Fix up support for inactive codes and fix error message syntax 2023-08-04 18:44:40 +10:00
Grahame Grieve ad08255740 Merge remote-tracking branch 'origin/master' 2023-08-04 11:49:19 +10:00
Grahame Grieve 45b5631e62 Fix issue with collection status of resolve() being wrong 2023-08-04 11:47:44 +10:00
Grahame Grieve 6d0883468b
2023 08 gg extension paths (#1380)
* fix problem with whitespace in terminology caching

* Support for x-version extensions when generating snapshots

* Fix problem with evaluating extension contexts

* Produce useful error message when whitespace is wrong in display name

* Resolve URL for x-version extensions

* render inactive property in expansions

* fix tests

* ping build

* Point to correct test-cases version

---------

Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-08-03 16:12:48 -04:00
Grahame Grieve 73127f1f3a ping build 2023-08-04 00:07:10 +10:00
Grahame Grieve b668f4a04a fix tests 2023-08-03 21:33:57 +10:00
Grahame Grieve 3a5dffa4a7 Produce useful error message when whitespace is wrong in display name 2023-08-03 20:28:42 +10: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
Grahame Grieve db0413c735 Don't load resources from core examples package 2023-08-02 22:11:43 +10:00
Grahame Grieve 882d18251b fix up copy directory for case differences 2023-08-02 19:58:24 +10:00
Grahame Grieve 32f2f6acc7 warnings for status on terminology resources 2023-08-02 18:12:02 +10:00
Grahame Grieve 0eb96f1f0a fixes for extensions IG testing 2023-07-31 20:46:30 +10:00
Grahame Grieve b42c908328 More improved FHIRPath checking when validating 2023-07-31 14:37:41 +10:00
Grahame Grieve 5026ff3506 Fix invalid integer detection 2023-07-29 08:49:38 +10:00
Grahame Grieve c58703c63f Improved invariant checking 2023-07-29 08:49:27 +10: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 efa52981d5
Merge pull request #1365 from hapifhir/do-20230726-android-remove-timestamp
Remove usage of java.sql.TimeStamp
2023-07-27 22:00:04 +10:00
Grahame Grieve 774440d0a7 Fix path problem in NpmPackage 2023-07-27 17:50:08 +10:00
Grahame Grieve 4eff9a3b68 fix up validation of FHIRPaths in differentials, and add warnings when collection status isn't right 2023-07-27 17:49:57 +10:00
Grahame Grieve 6afb151dff Better information when CodeSystem.content = not-present 2023-07-27 17:49:03 +10:00
dotasek 50047af493 Switch to ZonedDateTime implementation get tests passing 2023-07-26 17:08:08 -04:00
dotasek f88dae6ab8 WIP tests 2023-07-26 10:43:54 -04:00
dotasek 07a697c653 WIP tests 2023-07-26 10:43:37 -04:00
Grahame Grieve a3c32d86a0 add support for Liquid assign + Fix JSON unicode encoding and add character check in validator for illegal XML Unicode characters 2023-07-26 12:32:51 +10:00
Grahame Grieve 3eef08dab8 remove unused imports 2023-07-26 08:31:21 +10:00
Grahame Grieve fefd1ad1d6 fix -ips parameter and add -check-ips-codes parameter 2023-07-26 00:59:02 +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
Grahame Grieve 672ebf0348 Fix CDA validation test case 2023-07-21 21:17:51 +10:00
Grahame Grieve 8980df2364 add value set qa checking 2023-07-21 21:17:12 +10:00
Grahame Grieve d8e2e020af fix failing tests 2023-07-21 12:41:56 +10:00
Grahame Grieve fc75c0ea6b fix up bi-di warning message 2023-07-20 08:21:34 +10:00
Grahame Grieve 616cf5fdb3 Add provisional support for alternate codes 2023-07-20 08:21:19 +10:00
Grahame Grieve 4fb70ba1e8 other missed code 2023-07-18 11:08:57 +10:00
Grahame Grieve ced714305d Fix to get context variables right when running invariants + fix for parent not always being populated + check type in derived profiles 2023-07-18 11:05:06 +10: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 2cb7c052af OMOP importer 2023-07-05 07:23:47 +10:00
Grahame Grieve 09b653d9ed better testing of extension context (when limited to profile) 2023-07-05 07:23:32 +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
Grahame Grieve 5382025b44 Fix bug in Package installation 2023-07-01 07:31:51 +10:00
Grahame Grieve eb20ad87e8 Merge remote-tracking branch 'origin/master' 2023-06-30 17:11:09 +10:00
Grahame Grieve bef82f5630 remove bad logging 2023-06-30 16:32:29 +10: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
Grahame Grieve adfa344e5e pay attention to closing streams 2023-06-30 14:38:04 +10:00
Grahame Grieve dfb0e0d5b9 Fix windows file renaming issue 2023-06-30 13:42:46 +10:00
Grahame Grieve 99d6060363 Android support 2023-06-30 08:41:27 +10:00
Grahame Grieve 1dd41134a0 Stream line Package install process for Android 2023-06-30 08:41:18 +10: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
Grahame Grieve bb66eccf45 Allow target to be treated as source when validating FML 2023-06-29 13:18:01 +10:00
Grahame Grieve 2cdd92868b SPDX: Fix missing code for 'not-open-source' 2023-06-29 13:14:28 +10: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 a0c776e61d
Merge pull request #1327 from hapifhir/do-20230627-fix-help-placeholders
Fix CLI '-help' text placeholders
2023-06-28 15:51:29 +10:00
Grahame Grieve 9b94e6a1ec Fix test for correct type name in logical models (CDA) 2023-06-28 15:10:20 +10:00
Grahame Grieve 284ad1c2be fix bug loading package 2023-06-28 11:06:09 +10:00
dotasek a114d751db Refactor version utility code 2023-06-27 11:29:24 -04:00
Grahame Grieve 4b07f4f7dc fix missing error validation structure maps 2023-06-27 22:18:56 +10:00
Grahame Grieve ba27fc9da7 fix testing bugs 2023-06-24 09:36:45 +10:00
Grahame Grieve 3570bcb07f Finish changes for Npm loading changes 2023-06-24 09:05:14 +10:00
Grahame Grieve 2f253f3457 Update SPDX implementation 2023-06-24 08:55:51 +10:00
Grahame Grieve ff44e50fc3
Merge pull request #1318 from hapifhir/gg-202206-android-1
Allow custom folder for NPM Cache, for Android
2023-06-22 15:06:55 +10:00
Grahame Grieve 0615f2a163 Minimal Memory model for NpmPackage 2023-06-22 15:05:59 +10:00
Grahame Grieve 74c30d9143 Merge remote-tracking branch 'origin/master' 2023-06-21 18:50:41 +10:00
markiantorno 67cb3006f2 Updating version to: 6.0.17-SNAPSHOT and incrementing test cases dependency. 2023-06-21 07:40:48 +00:00
Grahame Grieve 189d9811c0 Allow custom folder for NPM Cache, for Android 2023-06-21 17:13:17 +10: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 fea8d5c29a fix test cases 2023-06-21 11:40:39 +10:00
Grahame Grieve ea8e26df62 update release notes 2023-06-21 10:53:54 +10:00
Grahame Grieve 098b8d5520 fix extension context checking 2023-06-21 09:22:47 +10:00
Grahame Grieve 551892c095 Merge remote-tracking branch 'origin/master' 2023-06-20 09:11:51 +10:00
Grahame Grieve ec7b79bc1e Fix rendering for unresolvable value sets 2023-06-20 07:02:26 +10:00
dotasek 829882773a
More use of dependencyManagement, bump guava (#1313) 2023-06-19 12:26:21 -04:00
Grahame Grieve ac68a99429 More validate invariants 2023-06-19 22:43:24 +10:00
Grahame Grieve 19d3952b11 Validate FHIRPath constraints in IGs and profiles 2023-06-19 22:42:02 +10:00
Grahame Grieve 8e0e360350
Merge pull request #1306 from hapifhir/do-20230612-ssl-too-trusting
Get rid of too trusting SSLCertTruster
2023-06-19 02:31:17 +10:00
Grahame Grieve 712582d941 fix test cases 2023-06-18 19:48:33 +10:00
Grahame Grieve ff92de7c1d Fix failing tests 2023-06-18 18:18:19 +10:00
Grahame Grieve dfb4404ce6 Add support for mustHaveValue and valueAlternatives + render imposesProfile + compliesWithProfile 2023-06-18 13:00:58 +10:00
Grahame Grieve 64f84274af Validation Derived Questionnaires 2023-06-17 09:41:06 +10:00
dotasek 7fa80ac80b Get rid of too trusting SSLCertTruster 2023-06-12 15:53:41 -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
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
Grahame Grieve 8fea7e3710
Merge pull request #1294 from hapifhir/gg-202206-languages
fix bugs in language handling
2023-06-07 22:19:42 +02:00
Grahame Grieve 8c412d78ef fix bugs in language handling 2023-06-07 21:31:25 +02: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
Grahame Grieve bfdb28b96e add JsonObject.clear() 2023-06-07 13:57:56 +02: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
Grahame Grieve a4f54f519f
Merge pull request #1290 from hapifhir/gg-202206-cardinality-fixes
Gg 202206 cardinality fixes
2023-06-05 23:26:13 +02:00
Grahame Grieve 33d60c2496 clean up display error messages 2023-06-05 21:17:12 +02:00
Grahame Grieve 0bcb9d6196 make NPM packages slightly smaller 2023-06-05 21:17:02 +02:00
Grahame Grieve 01b4219259 update language file handling to handle context properly 2023-06-05 21:16:51 +02:00
markiantorno 72eee9cab7 Updating version to: 6.0.12-SNAPSHOT and incrementing test cases dependency. 2023-06-02 14:24:34 +00:00
markiantorno 44db954743 Release: v6.0.11
## Validator Changes

* no changes

## Other code changes

* Increment CQFramework dependency
***NO_CI***
2023-06-02 13:58:04 +00:00