Commit Graph

2956 Commits

Author SHA1 Message Date
Grahame Grieve f3ddf1a0f4 Implement slice() function in validator 2023-10-23 10:25:03 +11:00
Grahame Grieve 40c996828a Revise FHIRPath API so hosts can evaluate expressions in custom functions 2023-10-23 10:24:54 +11:00
Grahame Grieve 2f8a5a071e validation by templateId for CDA 2023-10-20 21:30:25 +11:00
Grahame Grieve 7d15f271d0 update ViewDefinition validator for change (alias -> name) 2023-10-20 16:31:59 +11:00
Grahame Grieve 69a8c5b2e4 Support for instance-name and instance-description in IG publisher 2023-10-20 16:31:39 +11:00
Grahame Grieve c8357c8a13 fix for NPE building sql-on-fhir 2023-10-20 16:28:34 +11:00
Grahame Grieve 2b0d778767 Element.removeExtension (support for instance-name and instance-description extensions in IG publisher) 2023-10-20 16:26:46 +11:00
Grahame Grieve 20929abc58 fix for index out of bounds error 2023-10-20 16:25:27 +11:00
Grahame Grieve 12cdccf3bb Hack for wrong URLs in subscriptions backport 2023-10-20 16:25:09 +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 4100315ee7 fix bug processing value sets containing URLs 2023-10-16 23:14:02 +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
Grahame Grieve 1e98e69338 more work on sql-on-fhir implementation 2023-10-16 23:12:15 +11:00
Grahame Grieve 41eaad7356 allow for type parameter to custom functions in FHIRPath 2023-10-16 23:11:12 +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 5f9b169261 fix json parsing of CDA 2023-10-13 12:39:44 +11:00
Grahame Grieve c4c73ada42 Make .OfType(CDA.X) work for CDA types 2023-10-13 12:31:57 +11: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 2f304a6576 more 2023-10-12 20:15:31 +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 4917dd7815 fix typo 2023-10-12 20:12:43 +11:00
Grahame Grieve a10ac3c590 Build OID -> URL Index 2023-10-12 12:53:55 +11:00
Grahame Grieve e8a162cabb Update XML Parser & logical model renderer for XML choice groups 2023-10-11 22:54:09 +08:00
Grahame Grieve 62835ff54d restore JSON Parser short cut for HAPI 2023-10-11 22:53:37 +08: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
Grahame Grieve 2cc40452d7 make sure logical models get a snapshot generated 2023-10-10 15:43:09 +11:00
Grahame Grieve c83b232f7c Fix URL of concept map extension 2023-10-10 15:42:36 +11: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 d2a8c91214 fix UUID() and don't throw errors processing StructureMaps 2023-10-09 21:09:56 +11:00
Grahame Grieve d08039a3a7 fix issue in extension processing 2023-10-09 21:09:39 +11:00
Grahame Grieve 423e50c797 fix missed code 2023-10-09 17:57:25 +11:00
Grahame Grieve 97914518fa update test case dependency 2023-10-09 17:47:49 +11:00
Grahame Grieve 7b7484e08e Add support for test folder in NPM packages 2023-10-09 17:47:15 +11:00
Grahame Grieve 737c51f2a5 Fix rendering of XML Attributes in profiles 2023-10-09 17:46:49 +11:00
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