Commit Graph

2442 Commits

Author SHA1 Message Date
Grahame Grieve d9c632d9ad better error messages converting types 2023-03-17 07:55:32 +11:00
markiantorno 90bcab6554 Updating version to: 5.6.112-SNAPSHOT and incrementing test cases dependency. 2023-03-16 11:24:39 +00:00
markiantorno 7a9e5444c5 Release: v5.6.111
## Validator Changes

* Fixing issues parsing Bundle.issues in R5

## Other code changes

* Fix bugs handling XHTML
* Refactor package loading API - List(String) instead of String[]
***NO_CI***
2023-03-16 10:56:41 +00:00
Grahame Grieve 413cbb115a fix issues with R3R4MapTester 2023-03-16 14:08:00 +11:00
Grahame Grieve 27598a382d Fix issues with xhtml handling 2023-03-16 14:07:11 +11:00
Grahame Grieve 4a7abab5e8 Fix for parsing Bundle.issues 2023-03-16 14:05:54 +11:00
Grahame Grieve 19cb639d37 refactor how types are handled loading packages 2023-03-16 13:26:34 +11:00
markiantorno 2e36c8147a Updating version to: 5.6.111-SNAPSHOT and incrementing test cases dependency. 2023-03-14 12:43:23 +00:00
markiantorno e2967d923c Release: v5.6.110
## Validator Changes

* no changes

## Other code changes

* Fix NPE in string handling
***NO_CI***
2023-03-14 12:18:03 +00:00
Grahame Grieve 824f51f82e fixing broken links, and r4/r5 map testing 2023-03-14 13:24:00 +11:00
markiantorno b5bbe5108b Updating version to: 5.6.110-SNAPSHOT and incrementing test cases dependency. 2023-03-13 05:16:16 +00:00
markiantorno f48d413690 Release: v5.6.109
## Validator Changes

* Add format codes ```md``` and ```url``` to FHIRPath escape() and unescape()
* Add second parameter ```s_last``` to FHIRPath join() to use a different separator for the last time (e.g. ```.join(', ', 'and')```)

## Other code changes

* Parse status when parsing FML metadata
* Fix NPE in FHIRPath resolve() for contained resources ([discussion](https://chat.fhir.org/#narrow/stream/179167-hapi/topic/fix.20to.20FHIRPathEngine))
***NO_CI***
2023-03-13 04:45:19 +00:00
Grahame Grieve 46ed0157ce fix bug parsing FML metadata 2023-03-13 13:53:27 +11:00
Grahame Grieve a6466f4265 add url and md escaping and unescape in FHIRPath + 2nd param to join() 2023-03-13 13:53:04 +11:00
Grahame Grieve 753a90b463 fix bug listing types when old versions are loaded 2023-03-13 13:52:31 +11:00
Grahame Grieve 07a3962ac2
Merge pull request #1167 from hapifhir/gg-202303-misc3
Gg 202303 misc3
2023-03-13 06:36:00 +11:00
Grahame Grieve 7b30dc02f9 check for NPE 2023-03-13 05:10:08 +11:00
Grahame Grieve 96f265653e fix run time test 2023-03-12 23:02:46 +11:00
Grahame Grieve f11bdb9560 fix NPE 2023-03-12 21:55:44 +11:00
Grahame Grieve 2dc72fcaf1 fix bug parsing FML (id) 2023-03-12 21:54:21 +11:00
Grahame Grieve 43253e8d10 improve extension representation 2023-03-12 21:53:38 +11:00
markiantorno 209fcc8c0b Updating version to: 5.6.109-SNAPSHOT and incrementing test cases dependency. 2023-03-11 12:16:50 +00:00
markiantorno 35fb1b20c1 Release: v5.6.108
## Validator Changes

* no changes

## Other code changes

* Tdy up extensions for R5 release
* Hack R5 observation for fix after QA
* Improve StructureMap rendering again
* Clarify Error messages converting between versions
***NO_CI***
2023-03-11 11:49:55 +00:00
Grahame Grieve 525ba127e8 make sorter public and static 2023-03-11 18:59:31 +11:00
Grahame Grieve 26ed139031 fix up build extensions 2023-03-11 18:58:35 +11:00
Grahame Grieve 571c170e13 hack observation for change 2023-03-11 18:54:35 +11:00
Grahame Grieve 83f608597a fix errors rendering mapping file 2023-03-11 18:53:53 +11:00
Grahame Grieve 939d1d06c0 improve error message 2023-03-11 18:53:29 +11:00
markiantorno a3a9017bdb Updating version to: 5.6.108-SNAPSHOT and incrementing test cases dependency. 2023-03-10 13:09:53 +00:00
markiantorno 1e43fe43f0 Release: v5.6.107
## Validator Changes

* Add support for new ColorRGB code system (special case)

## Other code changes

* Add support for special case code systems internally
***NO_CI***
2023-03-10 12:44:48 +00:00
Grahame Grieve 10d560c859 Add support for locally processed special case code systems (and an example - rgb) 2023-03-10 21:28:08 +11:00
Grahame Grieve 1212b85b5e Change from Error to FHIRException when wrong value type is wrong on polymorphic element 2023-03-10 16:12:59 +11:00
markiantorno a3473354fd Updating version to: 5.6.107-SNAPSHOT and incrementing test cases dependency. 2023-03-09 21:19:20 +00:00
markiantorno d666d0aa80 Release: v5.6.106
## Validator Changes

* no changes

## Other code changes

* Additional checks in path construction for zip slip vulnerability
***NO_CI***
2023-03-09 20:50:18 +00:00
dotasek 909f7e64fe
Additional zip-slip tests (#1162)
* Additional zip-slip tests

* Fix windows path test
2023-03-09 14:30:53 -05:00
markiantorno f49eee623b Updating version to: 5.6.106-SNAPSHOT and incrementing test cases dependency. 2023-03-09 13:06:01 +00:00
markiantorno 0b8e2c3984 Release: v5.6.105
## Validator Changes

* More validation of StructureMaps

## Other code changes

* Add new R5 version to R4 version enumeration
* Fix for NPE generating profile comparison
* Add FML renderer for StructureMaps + various parsing fixes
***NO_CI***
2023-03-09 12:38:13 +00:00
Grahame Grieve 9e87e6915c Fix for NPE in R5 IG 2023-03-09 22:20:10 +11:00
Grahame Grieve 3338cfbe39 fix issues parsing test maps 2023-03-09 20:57:37 +11:00
Grahame Grieve 95813d9004 Fix FML Comments parsing, and add StructureMap rendering to pretty FML 2023-03-09 19:44:57 +11:00
Grahame Grieve ce246df4a0 fix comment parsing 2023-03-09 19:44:06 +11:00
Grahame Grieve 187d3e98c7 More fixes for structure map validation 2023-03-09 09:11:31 +11:00
markiantorno 8bd83810ea Updating version to: 5.6.105-SNAPSHOT and incrementing test cases dependency. 2023-03-08 08:23:43 +00:00
markiantorno 2a2fc497c7 Release: v5.6.104
## Validator Changes

* Fix up issues validating whitespace
* Multiple fixes to StructureMap and ConceptMap validation

## Other code changes

* rename ig-r4.json to ig-r4.jsonx in IGs
* move R5 package to test cases
***NO_CI***
2023-03-08 07:53:54 +00:00
Grahame Grieve 0e41463886 move test cases 2023-03-08 15:32:52 +11:00
Grahame Grieve eb852a8d03 mark location for input parsing FML 2023-03-08 11:48:37 +11:00
Grahame Grieve 6870c7a32c
Merge pull request #1157 from hapifhir/gg-202303-qa-sm-validation-5
Gg 202303 qa sm validation 5
2023-03-08 10:10:55 +11:00
Grahame Grieve 015d53e8ee fix problem parsing types 2023-03-08 09:11:00 +11:00
markiantorno d4d160eb29 Updating version to: 5.6.104-SNAPSHOT and incrementing test cases dependency. 2023-03-07 16:31:22 +00:00
markiantorno b18181ab7e Release: v5.6.103
## Validator Changes

* Fix structure map validation issues around type
* Revise whitespace handling for unicode conformance in validator
* Improved error message for output directory requirements
* Improve compact version sorting in renderer
* Add timestamp to compact format

## Other code changes

* Fix JSON escaping utility function
* Bug fixes in XHTML processing.
* Convertors: Bug Fixes in spec evaluation
* Convertors: patchUrls now patches fhir-type extension values
* R5: Fix FML parsing missing locations
* R5: Fix location bugs in FML parsing
***NO_CI***
2023-03-07 16:03:02 +00:00
Grahame Grieve 4486c12df5 fix location bugs in FML parsing 2023-03-07 21:47:38 +11:00
Grahame Grieve 6bf26255ab fix structure map validation issues around type 2023-03-07 20:58:51 +11:00
Grahame Grieve bbc3cd5121 Fix FML parsing missing locations 2023-03-07 20:58:01 +11:00
Grahame Grieve 0c26f09721 revise whitespace handling for unicode conformance in validator 2023-03-07 06:25:45 +11:00
markiantorno 8a546d37eb Updating version to: 5.6.103-SNAPSHOT and incrementing test cases dependency. 2023-03-06 12:05:52 +00:00
markiantorno a7507e9887 Release: v5.6.102
## Validator Changes

* Add ConceptMap validation
* Add StructureMap validation
* Validate using type regex (had been omitted to now, mostly affects decimal validation)
* Add new -output-style values compact and compact-split
* Fix bug validating CDA choice elements without [x] in their names

## Other code changes

* Various fixes and utilities to support StructureMap & ConceptMap validation
* Fix Observation.value conversion between R5 and other versions
* Recognise R4B and R5 core packages
* Improvements to specification diffference engine for R5 publication
* More efficient XHTML AST model
***NO_CI***
2023-03-06 11:39:27 +00:00
Grahame Grieve 6fe16d1812 fix bug parsing parameters in FML 2023-03-06 20:44:17 +11:00
Grahame Grieve 36d22c522a make xhtml nodes use less memory 2023-03-06 10:32:54 +11:00
Grahame Grieve bf202870d9 Merge remote-tracking branch 'origin/master' 2023-03-06 06:20:01 +11:00
Grahame Grieve 356e500ab6 finish ConceptMap validation 2023-03-05 23:25:12 +11:00
Grahame Grieve ec72b1fcdd fix parsing and validating of concept maps in structure maps + validate terminology part of structure maps 2023-03-05 18:29:11 +11:00
markiantorno ebd93f570f Updating version to: 5.6.102-SNAPSHOT and incrementing test cases dependency. 2023-03-03 04:08:44 +00:00
markiantorno f317bb15f6 Release: v5.6.101
## Validator Changes

* Fix NPE in Structure Map validation

## Other code changes

* Add back code missed when regenerating R5
* Update conversions for discovered issues for R5
***NO_CI***
2023-03-03 03:21:09 +00:00
Grahame Grieve b18e541b5f
Gg 202303 r5 fixes (#1148)
* update test package dependency

* Add back code missed when regenerating R5

* fix NPE

* update conversions for discovered issues for R5

---------

Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
2023-03-02 18:35:33 -05:00
Grahame Grieve 8ac01bd5a4 update conversions for discovered issues for R5 2023-03-03 06:30:49 +11:00
Grahame Grieve 5e070b226b Add back code missed when regenerating R5 2023-03-03 06:30:10 +11:00
markiantorno da62438802 Updating version to: 5.6.101-SNAPSHOT and incrementing test cases dependency. 2023-03-02 03:50:02 +00:00
markiantorno 578b964cf9 Release: v5.6.100
## Major change:

* New R5 release - rebuild R5 implementation, update a lot of related code

## Validator Changes

* Load separate R5 extensions package
* Load FML directly, and validate mapping as much as possible

## Other code changes

* Fix bugs in Java R5 code generator
* Add more control at the code level over how to handle unknown profiles when generating snapshots
* Rework ConceptMap for major R5 changes
* Fix bug in CommaGeneratedStringBuilder (calling toString() multiple times duplicated content)
* handle case [reference].where(resolve() is X) when analysing types+elements in FHIRPath statements
***NO_CI***
2023-03-02 03:21:29 +00:00
Grahame Grieve 99d2421014 fix using wrong version of extensions package 2023-03-02 08:49:22 +11:00
Grahame Grieve 042c1dd29e last qa fixes for R5 preview 2023-03-01 23:46:32 +11:00
Grahame Grieve 68090356cb Update for regenerated java code in 5.0.0-draft-final 2023-03-01 21:49:49 +11:00
Grahame Grieve 2e11041fc5 Regenerate R5 for 5.0.0-draft-final 2023-03-01 21:49:11 +11:00
Grahame Grieve 0425a2beff suppress spurious log message 2023-03-01 05:30:10 +11:00
Grahame Grieve fe9eaca741 Merge remote-tracking branch 'origin/master' 2023-03-01 04:54:25 +11:00
Grahame Grieve 94de728553
Merge pull request #1144 from hapifhir/do-20230227-fhircat-shex-fix
Fix for build failures in #1120
2023-03-01 04:54:10 +11:00
dotasek 792561c9ab Make shexs_2.12 optional to allow cli build 2023-02-28 10:33:17 -05:00
Grahame Grieve 85eea1df09 tidy up generator code 2023-02-28 22:51:16 +11:00
Grahame Grieve 4055635396
Merge pull request #1143 from hapifhir/gg-202302-fhirpath-where-cleverness
pick up types in FHIRPath when filtering references with .where(resol…
2023-02-28 21:44:10 +11:00
Grahame Grieve 18abfdc920 pick up types in FHIRPath when filtering references with .where(resolve() is X) 2023-02-28 20:51:08 +11:00
Grahame Grieve 64cea66959
Merge pull request #1141 from balhoff/anyuri-types
Output literal datatypes for anyURI types in RDF examples
2023-02-28 16:29:27 +11:00
Grahame Grieve 1a88c6ebc8 fix for R5 hack 2023-02-28 11:13:19 +11:00
Deepak Sharma 83a323ac33
Merge branch 'hapifhir:master' into master 2023-02-27 14:04:23 -06:00
Grahame Grieve c5d6e0f5f4 Merge remote-tracking branch 'origin/master' 2023-02-28 05:58:54 +11:00
Jim Balhoff 13fbf16daa Output literal datatypes for anyURI types. 2023-02-27 13:40:01 -05:00
dksharma 6ba6a0ae62 Removed BASE directive, sorted value-set rendering and correct imports 2023-02-27 12:23:20 -06:00
Grahame Grieve b0daf66672
Merge pull request #1140 from hapifhir/gg-202302-map-validation-3
structuremap validation and invariant fixes for forthcoming R5 release
2023-02-27 19:46:38 +11:00
dksharma a593e9a60d Minor correction to align with FHIR R5 RDF changes 2023-02-27 02:18:24 -06:00
Grahame Grieve 4c30621491 structuremap validation and invariant fixes for forthcoming R5 release 2023-02-27 18:32:38 +11:00
dksharma 5fde3a2106 Minor correction to align with FHIR R5 RDF changes 2023-02-26 21:44:07 -06:00
Grahame Grieve a62c8683f2
Merge pull request #1139 from hapifhir/gg-202302-map-validation-2
Work on StructureMap validation
2023-02-27 09:14:13 +11:00
Grahame Grieve 2bd73c650e Work on StructureMap validation 2023-02-27 07:30:04 +11:00
Grahame Grieve edf5ecf275
Merge pull request #1138 from hapifhir/gg-202302-map-validation
FML validation
2023-02-25 16:41:26 +11:00
dksharma e64461e940 Corrected TypeArcs and Node Roles 2023-02-24 23:12:43 -06:00
Grahame Grieve d3a407e369 FML validation 2023-02-25 14:05:03 +11:00
dotasek 76c01a98aa
Add basic checkstyle plugin config (#1122)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-02-24 15:05:49 -05:00
dksharma 9ca531ff0a Added IMPORT for all SDs, enabled batch SD ShEx Generation. Disabled Context translation temporarily 2023-02-23 23:19:13 -06:00
Grahame Grieve 3c0fb89cd7
Merge pull request #1121 from costateixeira/master
StructureDef: remove example label when no label is given
2023-02-24 11:40:20 +11:00
Grahame Grieve b12dbe2dfe
Merge pull request #1134 from hapifhir/gg-202302-conceptmap-hack
Gg 202302 conceptmap hack
2023-02-24 10:41:18 +11:00
Grahame Grieve 521e72a5ff
Merge pull request #1110 from balhoff/rdf-wg-r5-with-generated
Implement R5 RDF format changes
2023-02-24 10:21:19 +11:00
Grahame Grieve b2ef9a3336 fix typo 2023-02-24 09:02:52 +11:00
Grahame Grieve 17eaff9995 Merge remote-tracking branch 'origin/master' 2023-02-24 06:52:56 +11:00
Grahame Grieve cf2ddda8d7 workarounds for forthcoming ConceptMap change 2023-02-24 06:52:51 +11:00
markiantorno e9607783da Updating version to: 5.6.100-SNAPSHOT and incrementing test cases dependency. 2023-02-23 18:15:08 +00:00
markiantorno e2185d7d5c Release: v5.6.99
## Validator Changes

* Fix validation for query references with empty parameter values
* Fix validation for conditional references

## Other code changes

* Fix resource rendering for conditional references
* Fix bug caused by changing DiagnosticReport.conclusion to markdown
* Track target types on references in FHIRPath
* Minor type checking fixes for FHIRPath
* Fix bugs in FHIRPath type checking discovered during R5 preparation
* Add standardsStatus support to core model
* Update okhttp library
* Allow HTTPS for terminology server URL
* Update table generator to suppress external links in base row and column
***NO_CI***
2023-02-23 17:50:57 +00:00
dotasek 5d6636ba8c
Bump okhttp version (#1131)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-02-23 11:14:50 -05:00
dksharma 5728cf94c2 Adjusted Tests for Build 2023-02-22 00:10:15 -06:00
dksharma 2adf054733 Correction in ShEx Translation of FHIRPath Constraints 2023-02-22 00:05:56 -06:00
Grahame Grieve 3eda8580fc fix rendering for conditional references 2023-02-21 16:46:02 +11:00
Grahame Grieve b38c8c3ae7 track target types on references in FHIRPath 2023-02-20 23:47:50 +11:00
Grahame Grieve 8a354849a7 add standardsStatus support to core model 2023-02-20 16:47:02 +11:00
Grahame Grieve b653129d1a minor type checking fixes for FHIRPath 2023-02-20 10:43:53 +11:00
Grahame Grieve 98f4a02789 fix bugs in type checking discovered during R5 preparation 2023-02-18 15:14:24 +11:00
Grahame Grieve 1b86b29d1f fix bug caused by changing DiagnosticReport.conclusion to markdown 2023-02-18 15:13:37 +11:00
Grahame Grieve 38a55d261d update table generator to suppress external links in base row and column 2023-02-18 15:13:13 +11:00
dksharma dadc3701e4 Added method comments for better understand of utility method usage 2023-02-17 15:59:54 -06:00
Jose Costa Teixeira 0e2e333fa9
remove example label when not existing 2023-02-17 21:56:51 +01:00
dksharma 3eff78bdb9 Updated code to leverage EXTENDS and not duplicate datatype definitions with usage 2023-02-16 18:57:06 -06:00
dksharma 6ebda8c6fc pom changes reverted to match master 2023-02-15 23:47:47 -06:00
dksharma e6ca865d68 ShExGenerator Tests included from working branch 2023-02-15 23:28:50 -06:00
dksharma b248d00ee7 ShExGenerator.java Changes included from working branch 2023-02-15 23:21:58 -06:00
Jim Balhoff 53710b5390 Merge branch 'rdf-wg-r5' into rdf-wg-r5-with-generated 2023-02-15 10:00:28 -05:00
markiantorno 9c768415f2 Updating version to: 5.6.99-SNAPSHOT and incrementing test cases dependency. 2023-02-15 10:37:45 +00:00
markiantorno 7ec74d0321 Release: v5.6.98
## Validator Changes

* Fix bug checking canonical URLs in bundles with dashes in them
* Fix extension messages (modifier and normal messages reversed)
* Change how error location paths are reported in bundles for easier resolution (no counting!)
* fix bugs checking whether binding is allowed in corner cases

## Other code changes

* Rendering Improvements: Additional Bindings, Search Parameters, Operation Definitions
* FHIRPath implementations for comparable(), highBoundary(), lowBoundary()
* Fix list of canonical resources from VersionUtilities
* Fix bug parsing html entities in XHTML parser
* Rename extension to http://hl7.org/fhir/StructureDefinition/structuredefinition-imposeProfile
***NO_CI***
2023-02-15 10:13:36 +00:00
Grahame Grieve 7f454098b9 search parameter rendering improvements 2023-02-15 12:14:48 +11:00
Grahame Grieve 26f7b3a803 FHIR-38789 SD_Dependencies extension needs work 2023-02-15 12:12:28 +11:00
Grahame Grieve 5c413822bd Search Parameter Rendering improvements 2023-02-15 11:55:18 +11:00
Jim Balhoff 97772ada1e Merge branch 'master' into rdf-wg-r5 2023-02-14 13:47:28 -05:00
Grahame Grieve b46160bc8b FHIR-27761 Tooling issues around multi-level Operations 2023-02-14 15:08:55 +11:00
Grahame Grieve de3ec0d27b fix npe + render OperationDefinition parameter standards status 2023-02-14 12:34:19 +11:00
Grahame Grieve d9f98902b9 fix npe 2023-02-14 11:01:59 +11:00
Grahame Grieve d5d83bea9c fix broken links in R5 builds 2023-02-14 09:53:22 +11:00
Jim Balhoff d67470a6e1 Add MeSH triples. 2023-02-13 14:24:49 -05:00
Grahame Grieve 4ae0dfe8f4 rendering fixes 2023-02-13 20:29:56 +11:00
Grahame Grieve ccb5004766 fix issues with URL regex 2023-02-13 11:07:11 +11:00
Jim Balhoff a72ccaa0ed Merge branch 'rdf-wg-r5' into rdf-wg-r5-with-generated 2023-02-10 12:43:35 -05:00
Jim Balhoff a547458274 Update loinc namespace. 2023-02-10 12:43:15 -05:00
Grahame Grieve bd424e7b60 fixes after more testing 2023-02-10 16:18:33 +11:00
Grahame Grieve 11c887edc5 FHIR-34417: implementations for comparable(), highBoundary(), lowBoundary() 2023-02-10 10:02:40 +11:00
Jim Balhoff 92cae24b1b Add generated RdfParser code. 2023-02-08 14:09:01 -05:00
markiantorno 97604fdff5 Updating version to: 5.6.98-SNAPSHOT and incrementing test cases dependency. 2023-02-07 12:55:19 +00:00
markiantorno c91376f3b9 Release: v5.6.97
## Validator Changes

* no changes

## Other code changes

* Fix for Extensions moving in R5
***NO_CI***
2023-02-07 12:28:44 +00:00
Grahame Grieve ba731b0051 Fix R5 loading problem 2023-02-07 09:53:51 +10:00
markiantorno eec7c33e63 Updating version to: 5.6.97-SNAPSHOT and incrementing test cases dependency. 2023-02-05 21:04:53 +00:00
markiantorno 729e7afb33 Release: v5.6.96
## Validator Changes

* no changes

## Other code changes

* Fix bug with duplicate value in getResourceNames()
***NO_CI***
2023-02-05 20:42:24 +00:00
Grahame Grieve 1d4f1e9d90 fix bug with duplicate value in getResourceNames() 2023-02-06 05:38:02 +11:00
markiantorno b3cebe7bc6 Updating version to: 5.6.96-SNAPSHOT and incrementing test cases dependency. 2023-02-03 20:09:35 +00:00
markiantorno 1696b56b50 Release: v5.6.95
## Validator Changes

* Fixes for FHIRPath as() operator in r4 and r5

## Other code changes

* no changes
***NO_CI***
2023-02-03 19:45:12 +00:00
Grahame Grieve ea9333b322
Gg 202302 fhirpath as (#1102)
* fix type of issue source extension

* update extension extractor

* FHIRPath changes for as - case and singleton issues

* minor fixes for extension rendering

* Update test cases version

---------

Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-02-03 13:14:51 -05:00
markiantorno ea41a8b6a6 Updating version to: 5.6.95-SNAPSHOT and incrementing test cases dependency. 2023-02-02 17:07:22 +00:00
markiantorno 67329e20ad Release: v5.6.94
## Validator Changes

* no changes

## Other code changes

* Test release
***NO_CI***
2023-02-02 16:34:58 +00:00