Commit Graph

3066 Commits

Author SHA1 Message Date
Grahame Grieve af0f9bc765 Add support for hosts to manage certificate resolution using ISignatureServices + fix issue matching type names when validating logical models 2023-10-09 17:45:38 +11:00
Grahame Grieve 33776523ae make sure snapshots are generated when fetching types 2023-10-09 17:44:03 +11:00
Grahame Grieve f860af857d 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) 2023-10-09 17:41:26 +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
dotasek ff29b09083 Fix junit detection of sql on fhir, temporarily disable
***NO_CI***
2023-10-04 13:28:30 -04:00
Grahame Grieve 7698ee4b7f
Merge pull request #1443 from hapifhir/do-20230921-shc-validation-service
SHC Validation
2023-10-04 06:01:07 +03: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 64403db109 rework xig into 3 steps 2023-10-04 03:16:07 +03:00
Grahame Grieve f70b3ac23b Initial SQL On FHIR implementation 2023-10-03 16:11:47 +03:00
Grahame Grieve 264e289bb3 Add getDistalNames() to FHIRPath for SQL-on-FHIR support 2023-10-03 16:11:18 +03:00
Grahame Grieve ee819e3f08 fix join implementation to make separator parameter optional 2023-10-03 16:10:48 +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
Grahame Grieve 589d566c0a fix FHIRPath type resolution for logical models 2023-09-30 22:29:42 +10:00
Grahame Grieve 1ba4d276c0 update parsers to record the element format for logical model validation 2023-09-30 22:29:32 +10:00
Grahame Grieve 6c08e58d7a fix type fetching to use either URL or type 2023-09-30 22:29:03 +10:00
dotasek 2a6538cd02 Merge remote-tracking branch 'origin/master' into do-20230921-shc-validation-service 2023-09-29 11:00:19 -04:00
dotasek c2071379f4 Use txt extension for shc fragment 2023-09-29 11:00:01 -04: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 3de8aa69fe handle additional bindings when generating snapshots for R5 profiles 2023-09-29 13:42:25 +10:00
Grahame Grieve ed07d18506 Add support for special case codes in v2 (NNnnn) 2023-09-29 13:35:36 +10:00
Grahame Grieve bd52aa5277 Fix problem rendering additional bindings in R5 2023-09-29 13:35:15 +10:00
Grahame Grieve a22923f193 fix problem parsing logical model cda fragments 2023-09-29 13:34:39 +10:00
Grahame Grieve 104973a1d9 fix parsing logical model list attributes 2023-09-29 13:34:19 +10:00
Grahame Grieve 69526476ba fix issue parsing parameters in a target expression 2023-09-29 13:33:04 +10:00
dotasek 7548ea37ae Merge remote-tracking branch 'origin/master' into do-20230921-shc-validation-service 2023-09-28 15:19:02 -04: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
dotasek c0f61dac17 Merge branch 'master' into do-20230921-shc-validation-service 2023-09-27 10:16:06 -04:00
Grahame Grieve e819ea6e8f improve error message 2023-09-27 16:35:19 +10:00
Grahame Grieve 75f2d559ca Improve comparison of generated java code 2023-09-27 11:36:16 +10:00
Grahame Grieve e18ba8a2e1 fix up removeChild in R4/R4B/R5 2023-09-27 09:52:34 +10:00
Grahame Grieve ec1d61f177 fix bom 2023-09-27 09:45:09 +10:00
Grahame Grieve 79b45832e4 Fix timezone issue in PE tests 2023-09-27 09:06:04 +10:00
Grahame Grieve 24905a2c16 fix path issue parsing SHC 2023-09-27 09:05:38 +10:00
Grahame Grieve 6bd1354f46 remove BOM 2023-09-27 07:10:23 +10:00
dotasek d850944057 WIP track derived content for ValidatedFragment 2023-09-26 16:46:22 -04:00
Grahame Grieve 2fdf1f626d fix up generation ValidationFragment generation parsing SHC fragments 2023-09-27 06:40:14 +10:00
Grahame Grieve f48c6a26f2 Major upgrade of PE subsystem - pass initial tests 2023-09-27 05:49:25 +10:00
Grahame Grieve a159ce7db5 Add removeChild to generated model 2023-09-27 05:48:36 +10:00
Grahame Grieve a77a8f5bda fix up WG internal model 2023-09-25 13:49:07 +10:00
Grahame Grieve 4eb6563adf fix type handling for logical models 2023-09-25 13:48:49 +10:00
Grahame Grieve 0ae55e7b1f fix misleading error message 2023-09-25 13:48:26 +10:00
Grahame Grieve b078560645 fix rendering extension and missed profile on Reference() 2023-09-25 13:48:05 +10:00
Grahame Grieve 957dc3f733 fix up parsing of logical models 2023-09-25 13:34:43 +10:00
Grahame Grieve 798a93bbec fix bug parsing extension with no value in JSON for the validator 2023-09-25 13:34:15 +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
dotasek c79fa08473 Refactor "focus" ValidatedFragment usage 2023-09-21 13:59:41 -04:00
dotasek ef6f92a21e WIP return validation fragments 2023-09-21 09:50:08 -04: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 7c2f403d55 fix problem with Element childMap getting out of sync 2023-09-21 12:40:30 +10:00
Grahame Grieve 3801f2e702 fix problem caching look up of implied value sets 2023-09-21 12:39:49 +10:00
Grahame Grieve 73051109b4 better handling of errors on server batches 2023-09-21 12:38:15 +10:00
Grahame Grieve 483477c9c4 don't load type definitions from example package 2023-09-20 16:58:56 +10:00
Grahame Grieve 1326108207 better error message when diff contains bad paths 2023-09-20 11:15:15 +10:00
Grahame Grieve 8d3fff4d4e pass dependent resources to server and make sure cache-id is filled out properly 2023-09-20 11:14:56 +10:00
Grahame Grieve 96469972de fix error in FML parser parsing parameters 2023-09-20 11:14:31 +10:00
Grahame Grieve bf00cc17b4 Fix error in FML parser parsing parameters 2023-09-20 11:14:10 +10:00
Grahame Grieve 980ff89de3 Fix Liquid Include processing 2023-09-20 11:13:53 +10:00
Grahame Grieve 7517f181c7 Fix up rendering of profile names for abstract profile instantiations 2023-09-20 11:13:43 +10:00
Grahame Grieve 366cb85506 Fix up handling of includes in liquid templates 2023-09-20 11:13:21 +10:00
Grahame Grieve eecc6633d3 Improved rendering of codes in include when rendering valuesets 2023-09-20 11:12:50 +10:00
Grahame Grieve 8a81237bd0 Better handling of errors from tx.fhir.org 2023-09-20 11:10:20 +10:00
Grahame Grieve 19e651b7bf minor fixes from testing 2023-09-19 10:37:10 +10:00
Grahame Grieve d3ba55018b fix for abstract types 2023-09-19 10:09:32 +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 30dfcfe3a6 turn logging off in JsonParser 2023-09-18 17:06:46 +10:00
Grahame Grieve ebf706b837 Fix NPE in version comparison 2023-09-18 17:06:31 +10:00
Grahame Grieve 0565b27f02 more performance improvements 2023-09-17 16:54:47 +10:00
Grahame Grieve ea7cd290a8 More performance improvements for JsonParser 2023-09-17 15:45:02 +10: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 daf69cef37 fix NPE checking codes 2023-09-15 12:46:56 -07:00
Grahame Grieve 6b5ca97aa8 Fix error in Comparisons 2023-09-15 12:46:45 -07:00
Grahame Grieve 34a029d5df cross-version extensions 2023-09-15 10:15:50 -07:00
Grahame Grieve 71def00e24 Improve rendering of message about logical target 2023-09-15 10:15:31 -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 55c800e80d fix issue evaluating FHIRPath correctness on CDA.Observation 2023-09-14 19:38:06 -07:00
Grahame Grieve f72dfa83ef fix for NPE in HAPI 2023-09-14 19:31:15 -07:00
Grahame Grieve 771947a958 remove unused code 2023-09-14 19:31:04 -07:00
Grahame Grieve 906c7dea45 fix bug processing CDA snapshots 2023-09-14 19:29:50 -07:00
Grahame Grieve 518adf9826 Correct validation when CodeSystem.content = example and server doesn't know code system 2023-09-13 05:40:13 -07:00
Grahame Grieve aa46d3698d make parent property a link 2023-09-12 15:47: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
Grahame Grieve ef401d0fe8 canonical helper methods 2023-09-10 13:12:05 -07: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 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
Grahame Grieve 3a6e6fe39a more xig related fixes 2023-09-08 13:03:51 +10:00
Grahame Grieve 493f2f51f2 more xig fixes 2023-09-08 12:15:52 +10:00
Grahame Grieve 71ff6a81db Another XIG fix 2023-09-08 10:22:13 +10:00
Grahame Grieve f67596f25b fix for npe in xig 2023-09-08 10:07:06 +10:00
Grahame Grieve 307623fd05 Fix failing tests due to jvm difference 2023-09-08 09:00:05 +10:00
Grahame Grieve 6b38a730e9 SHC signature verification 2023-09-08 07:35:11 +10:00
Grahame Grieve 4e92a7759a fix bug overwriting source package on canonical resources 2023-09-07 17:06:24 +10:00
Grahame Grieve c270f1761f Allow suppressing snapshot errors for XIG 2023-09-07 17:05:23 +10:00
dotasek 430833616a Merge branch 'master' into do-20230905-fix-system-cache-directory 2023-09-06 09:26:05 -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 b980eeddf2 Render Requirements.reference 2023-09-06 09:51:09 +10:00
Grahame Grieve 87f7984f8b test concept map code validity 2023-09-06 09:12:25 +10:00
dotasek cf398fbbcd Fix test that breaks on local machines 2023-09-05 15:36:33 -04: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 68b30fe819 fix unknown code message to include code system version 2023-09-04 13:39:45 +10:00
Grahame Grieve 808acb9d29 NPE proofing property handling for Code Systems 2023-09-04 13:38:37 +10:00
Grahame Grieve 5cc4e3ef03 rework the way intermediary content is handled in the validator + fix impose-profile handling for IPS-AU 2023-09-04 13:38:22 +10:00
Grahame Grieve be4957c9af fix typos 2023-09-02 23:35:00 +07: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 ab8f84f492
Merge pull request #1421 from hapifhir/2023-08-gg-fhirpath-validation-fixes
2023 08 gg fhirpath validation fixes
2023-08-31 14:23:53 +02:00
Grahame Grieve 3cd1119c2f fix wording mistake 2023-08-31 13:09:09 +02:00
Grahame Grieve 4bba1c2cde fix bugs in FHIRPath checking and track special time when validating resources 2023-08-31 06:30:29 +02:00
dotasek 8709e946d9 Get FhirFormat from shc code 2023-08-30 16:32:15 -04:00
Grahame Grieve 2deb88cdc9 Merge remote-tracking branch 'origin/master' 2023-08-30 09:38:45 +02:00
volodymyr-korzh 119bfcba4e
Fixed Out Of Memory issue during resource validation with local reference check enabled (#1413)
* Fixed Out Of Memory issue during resource validation with local reference check enabled

* Fixed Out Of Memory issue during resource validation with local reference check enabled - fix
2023-08-29 13:29:22 -04:00
Grahame Grieve a78aa25c14 #1415 review system.out.println() statements 2023-08-29 19:21:45 +02:00
Grahame Grieve ac33590b96 #1412 - fix out of memory issues 2023-08-29 17:34:03 +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 4201d51d63 Merge remote-tracking branch 'origin/master' 2023-08-29 09:18:56 +02:00
Grahame Grieve 51003669db no meld 2023-08-29 06:43:46 +02:00
Grahame Grieve f3112342d6 ping build 2023-08-28 21:06:28 +02:00
Grahame Grieve d0815682b8
Merge branch 'master' into language-rework 2023-08-28 20:13:42 +02:00
Grahame Grieve 4e43c425b1 syntax fixes 2023-08-28 17:30:06 +02:00
Grahame Grieve 47f5da6b3f fix failing test 2023-08-28 16:50:49 +02:00
Grahame Grieve a22338cd54 fix up failing tests 2023-08-28 15:58:37 +02:00
Grahame Grieve 9899906045 Suppress XML fatal errors to System.err 2023-08-28 12:57:01 +02:00
Grahame Grieve 684f6bd740 fix test cases 2023-08-28 12:56:47 +02:00
Grahame Grieve 84edac9abe Better cache control 2023-08-25 18:43:36 +02:00
Grahame Grieve 333ffc340e Accept-Language 2023-08-25 16:21:56 +02:00
Grahame Grieve 7eaa723ec9 rewrite the way language works in value sets 2023-08-25 13:09:36 +02:00
dotasek 985b66c276 Add version to agent header
+ remove unused getValidationEngine methods in Common
2023-08-24 15:31:09 -04: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 54eb35fa1a fix bug with client sending too much data to tx.fhir.org 2023-08-22 21:47:02 +10:00
Grahame Grieve e11f03bd8a Fix erroneous handling of designations with a matching language to the base display 2023-08-22 12:08:53 +10:00
Grahame Grieve f795394fd2 Sorting ValueSet.expansion.contains in the tx tests 2023-08-21 19:35:10 +10:00
Grahame Grieve 69d2a12a2b fix bug handling invalid codes when expanding 2023-08-21 16:29:54 +10:00
Grahame Grieve 2c6be77ee2 fix comparison logic 2023-08-21 11:06:04 +10:00
Grahame Grieve 6d3e555620 First cut at profile code generation 2023-08-20 19:06:20 +10:00
Grahame Grieve 390e25ddae more test fixes 2023-08-19 22:46:23 +10:00
Grahame Grieve e4f6ec5a7b more revisions to tests 2023-08-19 20:18:15 +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 2acf546059 Don't suppress exceptions in clients 2023-08-19 20:15:29 +10:00
Grahame Grieve d2698f115c debugging fix 2023-08-19 11:36:41 +10:00
Grahame Grieve 1248bae5e4 $externals works like $fragments when no external string provided 2023-08-19 09:13:32 +10:00
Grahame Grieve b8d89d253e fix cross-version extensions URLs where possible 2023-08-19 09:04:19 +10:00
Grahame Grieve 6f0d54a8dc terminology service bug fixes 2023-08-19 09:03:59 +10:00
Grahame Grieve fa54f7748e fix java exception 2023-08-18 13:48:08 +10:00
Grahame Grieve a87e4728a4 fix bug in structure definition creating links to core spec 2023-08-18 13:47:53 +10:00
Grahame Grieve d571f48376 fix bug in compare utilities around json arrays with multiple optional elements 2023-08-18 13:47:34 +10:00
Grahame Grieve bb2e87c250 automatically process markdown in code system concept definitions 2023-08-18 13:47:16 +10:00
Grahame Grieve c32492a66b improve error draft error where possible 2023-08-18 13:46:56 +10:00
Grahame Grieve 87a9a58771 fix for testing IGs 2023-08-17 21:19:56 +10:00
Grahame Grieve f7c606e88b rendering fixes for IGs 2023-08-17 18:29:59 +10:00
Grahame Grieve 0d1072616e rework comparison and related rendering 2023-08-17 18:14:12 +10:00
Grahame Grieve eacffd11df Add support for external strings for tx tests 2023-08-17 11:14:34 +10:00
Grahame Grieve c71d3a107d always return x-caused-by-unknown-system when system is unknown 2023-08-16 22:38:21 +10:00
Grahame Grieve 57d1a973e4 fix return paths when validating codes 2023-08-16 22:38:01 +10:00
Grahame Grieve 3cb9c195a0 change to used-xxx parameters instead of version 2023-08-16 22:37:48 +10:00
Grahame Grieve bf5a2ba768 More work on comparison functionality 2023-08-16 22:29:11 +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 ced8a36f37 Work on comparison and rendering for showing differences properly 2023-08-15 19:33:39 +10:00
Grahame Grieve ebc755bc2a Check consistency between standards status and resource status 2023-08-14 21:11:49 +10:00
Grahame Grieve e3dd645b75 more differencing improvements 2023-08-14 15:36:08 +10:00
Grahame Grieve dd70d185df improve error message when comparing JSON arrays 2023-08-14 15:35:53 +10:00
Grahame Grieve a57afef5a4 Fix up return issue code for unkown issues 2023-08-14 15:35:36 +10:00
Grahame Grieve 0fc4398dfc Rendering improvements for showing difference analysis (WIP) 2023-08-14 15:34:54 +10:00
Grahame Grieve b45f6caf60 Improve error message for unknown properties 2023-08-14 15:33:48 +10:00
Grahame Grieve 9cde582732 Update Comparers for annotating models with version differences 2023-08-14 15:33:24 +10:00
Grahame Grieve 1d4eefa62b Rename implySystem to inferSystem per TI decision 2023-08-13 19:55:52 +10:00
Grahame Grieve 2474c198c7 fix FML parser problem 2023-08-12 23:06:27 +10:00
Grahame Grieve a5ff5b50a8 rework how extensions are handled after discussion with Michael 2023-08-11 22:27:50 +10:00
Grahame Grieve ec31868486 improve version annotation presentation 2023-08-11 14:16:50 +10:00
Grahame Grieve 9c65d7a20f Fix for NPE validating codes 2023-08-11 14:16:29 +10:00
Grahame Grieve 4a11c5ffe1 fix failing test 2023-08-11 14:16:15 +10:00
Grahame Grieve 6041660e9b Improved error messages on server failure 2023-08-11 14:16:09 +10:00
Grahame Grieve 991a2defee Start working on showing changes when rendering 2023-08-11 12:26:21 +10:00
Grahame Grieve b7fd419509 Check experimental / draft in mini terminology service 2023-08-11 12:25:37 +10:00
Grahame Grieve 1208d691b2 Fix loading issues in test mode for simplifier packages 2023-08-11 12:25:01 +10:00
Grahame Grieve 9625f9b818 remove spurious logging 2023-08-11 12:24:38 +10:00
Grahame Grieve d9df51fa63 Add test case for PE Engine based on issue #1343 2023-08-11 12:24:25 +10:00
Grahame Grieve b85b588825 restructure validators to properly validate deprecated dependencies 2023-08-11 12:24:08 +10:00
Grahame Grieve 5aefd6a268 add flat mode to tests, and add experimental functionality 2023-08-11 12:11:22 +10:00
Grahame Grieve cce9d9cdac
Merge pull request #1388 from hapifhir/ExampleScenarioPause
Added support for pause
2023-08-10 00:05:00 +10:00
Grahame Grieve 952dedd06b #1343 - addChild error in PEBuilder 2023-08-09 19:48:01 +10:00
Grahame Grieve 93868669fe Fix issue in FHIRPath .combine focus handling 2023-08-09 16:29:08 +10:00
Grahame Grieve 8d826aba44 fix rendering issue in subscription topic 2023-08-09 16:27:56 +10:00
Lloyd McKenzie d8c8f26e2b Fix bad link in response 2023-08-08 19:55:17 -06:00
Lloyd McKenzie 7155b940fd Added support for pause 2023-08-08 14:18:50 -06: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 4c132852c0 include ExampleScenario renderer in factory and refactor 2023-08-08 19:58:27 +10:00
Lloyd McKenzie 820a945807 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into ExampleScenarioRendering 2023-08-07 09:27:29 -06:00
Lloyd McKenzie 6eeeb2400f Removed debug code, handle escaping of aliases 2023-08-07 09:27:05 -06: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 4727bc57ff Fix up support for inactive codes and fix error message syntax 2023-08-04 18:44:40 +10:00
Grahame Grieve f1571ea2b4 Do not supercede R4 terminology when loading R5 IGs 2023-08-04 18:42:40 +10:00
Grahame Grieve e0b9a6dcc7 migrate type support when generating differentials 2023-08-04 18:42:18 +10:00
Grahame Grieve 7da1e419e9 remove unwanted debugging statements 2023-08-04 11:57:18 +10:00
Grahame Grieve c069538d2e what happened to that code? 2023-08-04 11:54:18 +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 8cc698af5d Improved paths in profile error messages, and fix problem with extension slicing being missed sometimes. 2023-08-04 11:47:08 +10:00
dotasek f835c7efe4 Only trim whitespace outside of the json 2023-08-03 16:38:42 -04: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 b668f4a04a fix tests 2023-08-03 21:33:57 +10:00
Grahame Grieve dfc8a006e2 render inactive property in expansions 2023-08-03 20:29:22 +10:00
Grahame Grieve ecefe55cd5 Resolve URL for x-version extensions 2023-08-03 20:29:00 +10:00
Grahame Grieve 3a5dffa4a7 Produce useful error message when whitespace is wrong in display name 2023-08-03 20:28:42 +10:00
Grahame Grieve df4432b49d Fix problem with evaluating extension contexts 2023-08-03 20:28:04 +10:00
Grahame Grieve 09b6fda419 Support for x-version extensions when generating snapshots 2023-08-03 20:27:20 +10:00
Grahame Grieve 24d67798d6 fix problem with whitespace in terminology caching 2023-08-03 20:26:57 +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
Lloyd McKenzie 9cb786bcd4 Changed to use StringBuilder as recommended 2023-08-02 10:59:05 -06:00
Grahame Grieve b23e31d44c fix narrative rendering 2023-08-02 22:53:57 +10:00
Grahame Grieve 42aef4ad40 fix for npe 2023-08-02 21:38:01 +10:00
Grahame Grieve 32f2f6acc7 warnings for status on terminology resources 2023-08-02 18:12:02 +10:00
Lloyd McKenzie 3c06f76df7 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into FixExampleScenarioConversion 2023-08-01 09:38:11 -06:00
Lloyd McKenzie cbebc13501 Added support for ExampleScenario rendering 2023-08-01 09:37:30 -06:00
Grahame Grieve d314a927af FIx up problem resolving URLs 2023-07-31 14:38:09 +10:00
Grahame Grieve be8276bd4a Add rendering for UsageContext 2023-07-31 14:37:51 +10:00
Grahame Grieve b42c908328 More improved FHIRPath checking when validating 2023-07-31 14:37:41 +10:00
Grahame Grieve bd3d718256 Update obligation handling code for split definitions 2023-07-29 08:48:54 +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 06c865badf Fix NPE validating codes in value sets with improper expansions 2023-07-27 17:50:42 +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 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 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