Commit Graph

2691 Commits

Author SHA1 Message Date
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
Jim Balhoff d596a6c343 Use leading underscore for properties with objects with modifier extensions. 2023-02-01 19:49:24 -05:00
Jim Balhoff 12bf57886f For resources with a modifierExtension, use a leading underscore for the rdf:type. 2023-02-01 13:05:47 -05:00
markiantorno e922cc2a97 Updating version to: 5.6.94-SNAPSHOT and incrementing test cases dependency. 2023-02-01 07:27:59 +00:00
markiantorno 4e97bb0d5a Release: v5.6.93
## Validator Changes

* Fix for NPE rendering resources
* Consider CanonicalResource to be a CanonicalResource when validating profile references
* Work around error in R5 sdf-29 invariant

## Other code changes

* XHTML processing: Cater for "." in XML element and attribute names
* Handle R3 encoding of primitive values when validating profiles
* Improve error messaging when validating StructureDefinition
* Temporary Support for MedicationStatement in R5
* Work around for Identifier.use = ? in THO R5 package (old error)
* Rework Package API to allow for authentication on package servers
* Structure mapping now finds source Structure Definition by URI and sets ParserBase logical property appropriately.
* DOn't convert ig-r4 when converting package versions
***NO_CI***
2023-02-01 07:02:20 +00:00
Grahame Grieve 4a79e89f62 Merge remote-tracking branch 'origin/master' 2023-02-01 14:49:19 +11:00
Grahame Grieve 2cc8ff5e23 extension related validation fixes 2023-02-01 14:49:14 +11:00
Neelima Karipineni 61e63b128a
Enhancements to StructureMap transform to support logical models as source and value set lookup (#1092)
* implement resolveValueSet from AHDIS Matchbox

* get SD from map source type, set logical model

* test for getSourceResourceFromStructureMap DefinitionException

* test resolveValueSet

* test transform logical source

* fix formatting
2023-01-31 16:56:02 -05:00
Jim Balhoff 69ce2b45f2 Output lists in examples using RDF lists. Don’t output fhir:index. 2023-01-31 14:11:29 -05:00
Grahame Grieve 7ad4bd62c6 fix for NPE rendering resources 2023-01-31 07:23:12 +11:00
Grahame Grieve d859e0b4bd Temporary Support for MedicationStatement in R5 (going to be renamed again) 2023-01-31 07:22:33 +11:00
Jim Balhoff 890971d110 Output type triples for value[x] nodes. Use simple property names. 2023-01-27 17:35:36 -05:00
Jim Balhoff 00d1ab3517 Use fhir:v for literal values in examples. 2023-01-22 19:14:49 -05:00
Jim Balhoff b7576dee79 Don’t output ontology import declaration in examples. 2023-01-22 19:14:08 -05:00
markiantorno cb441456a8 Updating version to: 5.6.93-SNAPSHOT and incrementing test cases dependency. 2023-01-20 23:14:26 +00:00
markiantorno dc677cad51 Release: v5.6.92
## Validator Changes

* update FHIRPath implementation for corrections to 'as' (R5 only in validator)
* Critical Security fix: enforce correct paths when unpacking archives (SecurityAdvisory-1082, CVE TBA)

## Other code changes

* Update to latest FHIRPath for older versions
* Add new ElementModel based parser for StructureMaps
* go-publish related changes
* FTP Client upload and logging improvements
* Refactor base64 handling for Android compatibility

## Security Note

The validator unzips archive files to the local file system when
it is scanning zip files it has been asked to validate, and when it is
installing packages. These processes are now resistant to the zip-slip
vulnerability.
***NO_CI***
2023-01-20 22:57:29 +00:00
dotasek b50aec5912
Advisory fix 1 (#1089)
* Update cache and comparison downloads to use https

* Zip Slip tests and fix

* Zip Slip tests 2 and fix

* Add missing tempDir child in ScannerTest

* Add win format zip test

* Add tests to r4b

* Add tests and fixes for slips in tgz processing

* Update fhir-test-cases version
2023-01-20 16:56:57 -05:00
Grahame Grieve 2c93585bb6 better error message 2023-01-21 07:36:09 +11:00
Grahame Grieve f8e6371e1f
Merge branch 'master' into gg-202301-sm-errors 2023-01-20 19:44:24 +11:00
Grahame Grieve b16fc37b02 clean up error handling when parsing structure maps 2023-01-20 04:24:42 +11:00
dotasek f58b7acfb5
Swaps isBase64 with internal implementation for Android compatibility (#1079)
* Adding animal sniffer to display all issues related to android compatibility.

* Duplicate isBase64 internally

Co-authored-by: Vitor Pamplona <vitor@vitorpamplona.com>
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-01-18 18:40:24 -05:00
Grahame Grieve 7cc01ef7db update new FHIRPath for older versions 2023-01-19 07:57:05 +11:00
Grahame Grieve 26027fa3d6 update FHIRPath implementation for discussion at 84a07a6a92 2023-01-19 06:59:45 +11:00
Grahame Grieve d7071312ba
Merge pull request #1080 from hapifhir/gg-202301-sm-em-parser
Add ElementModel based StructureMap parser
2023-01-18 20:07:52 +11:00
Grahame Grieve 4f2fd817a3 Merge remote-tracking branch 'origin/master' 2023-01-18 12:33:59 +11:00
Grahame Grieve c9833f94d3 Add ElementModel based StructureMap parser 2023-01-18 12:32:06 +11:00
markiantorno 4367813a2c Updating version to: 5.6.92-SNAPSHOT and incrementing test cases dependency. 2023-01-17 21:59:38 +00:00
markiantorno 7b22d0355b Release: v5.6.91
## Validator Changes

* Fixed validation of URNs
* Check profiles don't have slicing on roof

## Other code changes

* Fix significant performance issue with profile xls generation
* Fix issue with setProperty dropping extensions in R3 - R5
* Debug logging improvements generating snapshots
* Fix issues with types missing in CDA IGs
* Fix problem converting ActivityDefinition R4(B)/R5
* More work on FTP Client
***NO_CI***
2023-01-17 21:40:28 +00:00
Grahame Grieve 7b99037199 fix BOM in java files 2023-01-17 12:49:14 +11:00
Grahame Grieve daf5638f3e Fix significant performance issue generating xlsx for multiple profiles 2023-01-17 11:23:39 +11:00
Grahame Grieve 8cb7e40815 Improved Error message if profile root has slicing 2023-01-17 11:23:14 +11:00
Grahame Grieve 01c131b29d see PR 1075 - fix issue with setProperty() ignoring extensions 2023-01-17 11:22:42 +11:00
Grahame Grieve 41abbb21a0 fix debug logging for snapshot generation 2023-01-17 05:36:44 +11:00
Grahame Grieve abf2e99ab6 Merge remote-tracking branch 'origin/master' 2023-01-16 10:53:57 +11:00
Grahame Grieve 1df68c95a4 Fix rendering when binding strength missing 2023-01-16 10:13:11 +11:00
Grahame Grieve 6c2a488402 fix type convertors to handle null 2023-01-16 10:12:59 +11:00
markiantorno c52777c462 Updating version to: 5.6.91-SNAPSHOT and incrementing test cases dependency. 2023-01-14 06:35:33 +00:00
markiantorno ac16aae300 Release: v5.6.90
## Validator Changes

* Better tracking and reporting of snapshot generation issues
* Update FHIRPath implementation to R4 with all corrections and extensions from R5 implemnetation

## Other code changes

* Inclusion of SAXON dependency for processing XSLT
* Error message spacing correction
* Basic FTPClient implementation
* test NPE in markdown processing
* go-publish support
* Start implementing loading structure maps with validation
***NO_CI***
2023-01-14 06:17:06 +00:00
Grahame Grieve 615ed8d63f
Update R4 FHIRPath implementation from R5, and get all tests passing (#1063)
* Update R4 FHIRPath implementation from R5, and get all tests passing

* test NPE in markdown processing

* go-publish support

* Start implementing loading structure maps with validation

* release notes

* more work on FTP

* Fix breaking test.

* Add fhir-test-cases to r4 pom to fix breaking test

Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-01-13 23:08:40 -05:00
Grahame Grieve a06803d936 Start implementing loading structure maps with validation 2023-01-14 08:45:13 +11:00
Grahame Grieve 90f7214195 test NPE in markdown processing 2023-01-10 11:34:41 +11:00
Grahame Grieve 8902898428 better tracking and reporting of snapshot generation issues 2023-01-09 08:03:24 +11:00
markiantorno b6cec730b5 Updating version to: 5.6.90-SNAPSHOT and incrementing test cases dependency. 2023-01-06 02:08:34 +00:00
markiantorno a6745a9016 Release: v5.6.89
## Validator Changes

* Add support for fhir_comments in R2/R2B
* Add validator checking around versions in extension URLs
* Fix bug generating cross-version extensions

## Other code changes

* Fix minor NPEs running IG publisher
* Add new PE module (PEDefinition/PEInstance)
* Add support for liquid filters (resolve FHIRPath conflict)
* Fix up round-tripping of XPath constraints R4/R5
* Refactor R5 ProfileUtilities (and move rendering to rendering package)
* Fix appending text when generating snapshots
***NO_CI***
2023-01-06 01:51:20 +00:00
Grahame Grieve c828ce9eb7 fix URL TO URI 2023-01-06 10:41:21 +11:00
Grahame Grieve 45cf907204 kindling compile fixes 2023-01-05 08:43:30 +11:00
Jim Balhoff 673e36b989 Merge branch 'master' into rdf-wg-r5-merging 2023-01-04 15:04:48 -05:00
Grahame Grieve f3fc19a906 refactor profile generation (utils -> renderer) + add new views 2023-01-03 14:54:11 +11:00
Grahame Grieve b014401dd4 refactor profile rendering (more to StructureDefinitionRenderer) 2023-01-01 11:12:44 +11:00
Grahame Grieve aacefd6581 Merge remote-tracking branch 'origin/master' 2022-12-31 11:06:47 +11:00
Grahame Grieve b894cc6da7
Merge pull request #1048 from qligier/pr-fix-text-appending
Fix appending text in ProfileUtilities
2022-12-31 09:10:24 +11:00
Grahame Grieve c1262d50c5 fix up cardinality issues 2022-12-30 07:20:06 +13:00
dotasek 1380c5e52d Fix test breakage caused by capitalization 2022-12-29 13:17:47 -05:00
Grahame Grieve be9c36e037 more PE work 2022-12-29 21:37:44 +13:00
Grahame Grieve 5e67c5a57e more work 2022-12-29 17:16:40 +13:00
Grahame Grieve 44ecfbf53d more PE work 2022-12-29 10:18:47 +13:00
Grahame Grieve d532af808b more work on PE definitions 2022-12-28 16:11:45 +13:00
Grahame Grieve 50bc157ab9 more work on PE 2022-12-28 08:38:27 +13:00
Grahame Grieve 44b25be2a5 warning 2022-12-26 13:51:54 +13:00
Grahame Grieve abf8dca07b more doco 2022-12-26 13:51:16 +13:00
Grahame Grieve 9959183017 more work on PEDefinition 2022-12-26 13:28:22 +13:00
Grahame Grieve 900f471dda upgrade test case dependency 2022-12-24 08:42:02 +13:00
Grahame Grieve f87394b46e start implementing ProfiledElement 2022-12-24 07:30:09 +13:00
Grahame Grieve 0827dc32f1 Merge remote-tracking branch 'origin/master' 2022-12-24 07:29:17 +13:00
Grahame Grieve a24d34a471 Merge remote-tracking branch 'origin/master' 2022-12-24 06:53:43 +13:00
Quentin Ligier 858c06f097
Fix appending text in ProfileUtilities
If the base text was null, appending a text in the derived element (using "...") would show a "null" before the text. This commit adds the method Utilities.appendDerivedTextToBase() to implement to correct behavior.
2022-12-23 18:52:47 +01:00
dotasek b404c89aa9
Profile Utilities Refactor 2 (#1047)
* Add test util for diff

* Start moving pathprocessor params into dedicated object

* Move diff to Params

* Move base and diff Limits to params

* Rename to newBaseCursor and newBaseLimit

* More renames

* Move url and webUrl to params

* Move profileName to params

* Add contextPathSource to params, adjust indent for processPaths calls

* Move contextPathTarget to params

* Code cleanup, unused variables + move trimDifferential to params

* Create PathSlicingParams

* Shuffle param order

* Move redirector to params

* Move sourceStructureDefinition to params

* Move derived to params

* Move debug statements to dedicated methods

* split processSimplePath

* split processPathWithSlicedBase

* Start splitting ProfilePathProcessor

* Move all params into ProfilePathProcessor

* Move all profile utility related classes to own package

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-12-23 09:27:42 -05:00
Grahame Grieve fd77fd16d0 round trip constraint xpath after R5 changes 2022-12-23 15:14:25 +13:00
Grahame Grieve 2f0a45046e liquid fixes to FHIRPath 2022-12-20 23:09:44 +13:00
Grahame Grieve e2dff7d118 change name 2022-12-20 08:48:55 +13:00
Grahame Grieve 96810c984b revise draft 2022-12-20 08:47:30 +13:00
Grahame Grieve b6d35314f6 fix bug in cross version extension generation 2022-12-19 22:51:04 +13:00
Grahame Grieve d8dacd260f Candidate service for working with profiles in applications 2022-12-19 17:20:31 +13:00
Grahame Grieve 4028d9930b
Merge pull request #1041 from alexey-tschudnowsky/ISSUE_1040_Profile_Compare_NullPointerException
fixes #1040 (NullPointerException while comparing profiles)
2022-12-17 08:09:12 +11:00
Grahame Grieve 6b1ae35ef3 * Add validator support for fhir_comments in R2/R2B (#1042) + Add validator checks around versions in extension URLs 2022-12-17 07:11:06 +11:00
Grahame Grieve 85931f9ff2 commit version-base 2022-12-17 05:56:37 +11:00
Alexey Tschudnowsky 84508415ef fixes #1040 2022-12-16 16:46:49 +01:00
markiantorno aaa5c9d6a4 Updating version to: 5.6.89-SNAPSHOT and incrementing test cases dependency. 2022-12-16 01:40:27 +00:00
markiantorno a3a1e79674 Release: v5.6.88
## Validator Changes

* Remove use of .fhir/package-client cache (only use the main .fhir/package now)

## Other code changes

* Hack work around for broken template input for R5 OperationOutcome
* Fix up problems with test case consistency in R5 test cases
* Add R5-snapshot3 version enum to R4 version list
***NO_CI***
2022-12-16 01:19:52 +00:00
Grahame Grieve bd85546820 reintroduce hack for invalid template OO json 2022-12-16 11:27:48 +11:00
Grahame Grieve 64cc3771a6 fix tests to get versions consistent 2022-12-16 08:49:14 +11:00
Grahame Grieve 415d8acc12 Add R5 snapshot3 to R4 versions enum 2022-12-16 08:48:24 +11:00
markiantorno ba67d790b8 Updating version to: 5.6.88-SNAPSHOT and incrementing test cases dependency. 2022-12-14 03:25:16 +00:00
markiantorno 6d8cd59f1e Release: v5.6.87
## Validator Changes

* Change Java minimum version from 8 to 11
* Fix Error message missing parameter (very minor fix)

## Other code changes

* Refactoring package-list.json handling
* Upgrade code to latest R5 release (Snapshot 3)
* Fix bug with version patching loading package for the first time + fix bug determining spec reference
* Add Ids to profile spreadsheets
***NO_CI***
2022-12-14 02:48:33 +00:00
Grahame Grieve 659457bb65
Merge branch 'master' into gg-202212-r5-update 2022-12-14 11:55:31 +11:00
Grahame Grieve 72eae55218 fix new bug in package manager 2022-12-14 09:59:25 +11:00
Grahame Grieve 2a7136021f Allow any for resource enum 2022-12-14 07:05:39 +11:00
Grahame Grieve 38c4785236 reverse SearchParameter.base change 2022-12-14 06:29:21 +11:00
Grahame Grieve 0cf8cbcba5 fix failing tests 2022-12-13 22:17:45 +11:00
Grahame Grieve d1d391496e upgrade to new R5 release 2022-12-13 21:13:29 +11:00
markiantorno 0e619971c4 Updating version to: 5.6.87-SNAPSHOT and incrementing test cases dependency. 2022-12-12 20:14:04 +00:00
markiantorno bbf74e6f91 Release: v5.6.86
## Validator Changes

* Change Java minimum version from 8 to 11
* Fix Error message missing parameter (very minor fix)

## Other code changes

* Refactoring package-list.json handling
***NO_CI***
2022-12-12 19:56:58 +00:00
markiantorno 915d5e89b7 Updating version to: 5.6.86-SNAPSHOT and incrementing test cases dependency. 2022-12-09 18:40:17 +00:00
markiantorno c01a9444a4 Release: v5.6.85
## Validator Changes

* Change rules around Document and Link Message validation (see [Jira](https://jira.hl7.org/browse/FHIR-39502) and [Zulip](https://chat.fhir.org/#narrow/stream/179252-IG-creation/topic/Entry.20isn't.20reachable.20by.20traversing.20from.20first.20Bundle.20entry) for details)
* Allow https://example in questionnaire example links

## Other code changes

* Rendering Improvements for deprecated codes Including deprecation reason
* Add Accept header fetching JSON
* Fix version comparison bug
* Fixes for producing profile summary in IGs
* Add contents to .index.json and bump to v2
* Fix stated package & version in alternate versions packages
* Refactor ProfileUtilities.generateSnapshot
* Fix bug in XHTML generation around empty tags
* Fix NPE appending slashes
* Fix rendering timing to not use a specific verb
* Fix R2 - RX ValueSet convertor for Code Systems
***NO_CI***
2022-12-09 18:23:37 +00:00
Grahame Grieve 5f2317a87c Merge remote-tracking branch 'origin/master' 2022-12-09 23:34:24 +11:00
Grahame Grieve dd7ca2182a rendering improvements for deprecated codes 2022-12-09 23:28:58 +11:00
Grahame Grieve f8a0e82785 Add standards status reason 2022-12-09 20:08:51 +11:00
Grahame Grieve 771fb0ac00 Changes related to validation of document and message links 2022-12-09 11:09:17 +11:00
Grahame Grieve 73cd123234
Merge pull request #1028 from hapifhir/gg-202212-xlsx-csv
Gg 202212 xlsx csv
2022-12-07 06:11:32 +11:00
Grahame Grieve 3ee52938d6 updates for all-profiles csv and xlsx 2022-12-06 16:21:33 +11:00
dotasek a67ca99786
Profile Utilities refactor (#1027)
* Refactor 1 rename and starter comments

* Refactor 2 more renaming make method for match

* Make final what can be final

* Wrap root call to processPaths

* WIP Create ProfilePathProcessor

* Redo method scoop, move internal classes

* Use profileUtilities instance

* Finish scoop. Tests pass.

* Finish scoop for real this time.

* Encapsulate cursors

* Delete unused params

* Split path processing into two branches

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-12-05 17:32:16 -05:00
Grahame Grieve a0c28f3326 Round trip XHTML faithfully wrt empty elements 2022-12-05 13:41:31 +11:00
Grahame Grieve cacf27428e Fix rendering of Timing to not have specific verb 2022-12-05 13:41:01 +11:00
Grahame Grieve 54875fd17e fix broken link to base spec 2022-12-05 13:40:17 +11:00
markiantorno 7966deb05c Updating version to: 5.6.85-SNAPSHOT and incrementing test cases dependency. 2022-12-01 05:52:06 +00:00
markiantorno b0d3dae149 Release: v5.6.84
## Validator Changes

* Perform canonical resolution using package dependencies even for version specific references (workaround for VSAC bad behaviour)

## Other code changes

* Fix conversion between R3 andR4/R5 for Immunization.notGiven
* Fix parameter handling for tx server responses
* Add cast support for more types in FML implementation
* Fixes to GQL Schema generation
***NO_CI***
2022-12-01 05:35:31 +00:00
Grahame Grieve 8b5cb283af suppress logging 2022-12-01 08:26:07 +11:00
Grahame Grieve d24cc6c5ee Merge remote-tracking branch 'origin/master' 2022-12-01 08:22:19 +11:00
Grahame Grieve 8d6f2ff57d
Merge pull request #1020 from ahdis/oe_r5_structuremap_cast
FHIR Mapping Language: cast support for more types #1019
2022-12-01 08:18:27 +11:00
Grahame Grieve fedfa88ffb refactor resource reference resolution to use package dependencies whereever possible 2022-12-01 08:16:00 +11:00
Grahame Grieve d79ac9ba66 Merge remote-tracking branch 'origin/master' 2022-11-30 16:34:51 +11:00
Michael Lawley 518e5559c7 fix for #1022 2022-11-30 10:20:57 +10:00
Grahame Grieve 8f9261febf #1022 - fix expected type for Code Validation parameters 2022-11-30 11:04:47 +11:00
markiantorno 19e957ef53 Updating version to: 5.6.84-SNAPSHOT and incrementing test cases dependency. 2022-11-29 23:46:32 +00:00
markiantorno b939b33040 Release: v5.6.83
## Validator Changes

* no changes

## Other code changes

* Update FHIR test cases to released version
***NO_CI***
2022-11-29 23:29:15 +00:00
Grahame Grieve aaa53cdfb0 #1005 - fix graphql processing issue 2022-11-30 08:32:25 +11:00
Grahame Grieve 5225640e50
Merge pull request #1018 from hapifhir/ja_20221129_graphql_type_cleanup
Correct GraphQL Schema Validation Errors
2022-11-30 08:18:35 +11:00
Oliver Egger 2d8885d4e3 FHIR Mapping Language: cast support for more types #1019 2022-11-29 22:15:02 +01:00
James Agnew 2744b5eeed Fixes to schema generator 2022-11-29 14:42:47 -05:00
dotasek 8f1f961315
Revert "BugFix: Accepts null base in all implementations of FHIRPathEngines.evaluate(Base base, String path) to match all other evaluate methods. (#1015)" (#1017)
This reverts commit ba828cbb0e.
2022-11-29 14:39:59 -05:00
Vitor Pamplona ba828cbb0e
BugFix: Accepts null base in all implementations of FHIRPathEngines.evaluate(Base base, String path) to match all other evaluate methods. (#1015) 2022-11-29 14:35:39 -05:00
markiantorno ab00f53ee7 Updating version to: 5.6.83-SNAPSHOT and incrementing test cases dependency. 2022-11-29 18:22:35 +00:00
markiantorno b11bf21f9b Release: v5.6.82
## Validator Changes

* no changes

## Other code changes

* Fix Turtle generation
***NO_CI***
2022-11-29 18:05:15 +00:00
Grahame Grieve 1048a483a2
Fix turtle generation (#1014)
Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
2022-11-29 11:29:04 -05:00
Grahame Grieve adfd0d26e6 Fix turtle generation 2022-11-30 01:40:07 +11:00
James Agnew 82bd4e5c25 Work on cleanup 2022-11-29 07:54:58 -05:00
markiantorno 63f905d184 Updating version to: 5.6.82-SNAPSHOT and incrementing test cases dependency. 2022-11-28 18:44:16 +00:00
markiantorno 2715d811dc Release: v5.6.81
## Validator Changes

* Avoid repeated R5 Extension loading in ValidatorService
* Fix problems validating logical models
* Fix `-locale` parameter functionality
* Add Spanish internationalization phrases

## Other code changes

* ProfileUtilities: Provide Standards Status in tree view
* JSONParser: numerous r4b/r5 speed improvements and fixes
* FHIRPathEngine: Catch exceptions resolving references in r5
* Handle null source and target in ConceptMap conversions
* Provide consistent rendering of comments in examples in IGs
* Preparations for changes to IG Publisher narrative generation
* Fix for Identifier.use conversion in dstu3
***NO_CI***
2022-11-28 18:23:09 +00:00
Grahame Grieve 1b07d221ea Merge remote-tracking branch 'origin/master' 2022-11-28 12:28:07 -03:00
Grahame Grieve a49a82aab5 capture exception chasing references 2022-11-28 12:27:41 -03:00
Grahame Grieve 9405d0b715 Fix problems validating logical models 2022-11-28 12:27:26 -03:00
Grahame Grieve 35774955ae Produce Standards Status in tree view 2022-11-28 12:26:58 -03:00
Grahame Grieve 65863d88d1
Merge pull request #1012 from hapifhir/gg-202211-json-comments
Consistency around rendering comments in examples in IGs
2022-11-27 05:33:35 -03:00
Grahame Grieve 49f798de48 Consistency around rendering comments in examples in IGs 2022-11-26 22:24:17 -03:00
Grahame Grieve 83b2921c2e
Merge pull request #1011 from hapifhir/gg-202211-json5
update JSON parser used by validator to JSON5 parser
2022-11-26 19:22:05 -03:00
Grahame Grieve 53fb08ab19 update JSON parser used by validator to JSON5 parser 2022-11-26 18:24:29 -03:00
Grahame Grieve e189ae2b76
Merge pull request #1001 from ahdis/oe_np_with_structuremaps
fix np and index out of bound exception
2022-11-26 01:00:34 -03:00
Grahame Grieve 21bd9bf7e9 improve parsing speed for json resources 2022-11-25 22:36:51 -03:00
Grahame Grieve 8f1e6f2c59 Improve parsing speed for Json resources 2022-11-25 22:36:38 -03:00
Grahame Grieve 275d83a4c7 work around bug in template OO 2022-11-25 22:36:14 -03:00
Grahame Grieve 962f3f09ea prepare for changing the way the IG publisher generates narrative 2022-11-24 18:02:21 -03:00
Grahame Grieve 80f275ff18 upgrade to new JSON parser 2022-11-24 17:57:46 -03:00
Oliver Egger b3cc460ccd fix nullpointer exceptions 2022-11-22 16:19:16 +01:00
markiantorno 01d212afac Updating version to: 5.6.81-SNAPSHOT and incrementing test cases dependency. 2022-11-22 14:28:51 +00:00
markiantorno 3ab720a6af Release: v5.6.80
## Validator Changes

* Improved Loading speed (20% reduction)
* Fix issue handling path on content references on deeply nested content

## Other code changes

* Fix rendering issue when reference.reference missing
* Add rule date to validation messages so new rules can be highlighted
***NO_CI***
2022-11-22 14:05:59 +00:00
Grahame Grieve 6bdf3389bb fix bug missing R5 definitions in publisher 2022-11-22 06:38:01 -03:00
Grahame Grieve 74b1b7f201 fix rendering issue when reference.reference missing 2022-11-22 05:58:17 -03:00
Grahame Grieve 24331956f1 Add rule date to validation messages so new rules can be highlighted 2022-11-22 05:58:02 -03:00
Grahame Grieve 8136b00c86 work on loading speed for validator 2022-11-21 18:46:47 -03:00
Grahame Grieve 68360cb110 Fix issue handling path on content references on deeply nested content 2022-11-21 18:45:33 -03:00
markiantorno cc842bc114 Updating version to: 5.6.80-SNAPSHOT and incrementing test cases dependency. 2022-11-20 19:32:31 +00:00
markiantorno ee7ba71b29 Release: v5.6.79
## Validator Changes

* no changes

## Other code changes

* fix references to LOINC codes in generated narrative
***NO_CI***
2022-11-20 18:59:55 +00:00
Grahame Grieve bce3f5464f Merge remote-tracking branch 'origin/master' 2022-11-20 12:57:48 -03:00
Grahame Grieve 5cda3573be fix for non-breaking space usage 2022-11-20 12:27:41 -03:00
Grahame Grieve 8e3833f58a Fix broken LOINC link 2022-11-19 03:39:35 -03:00
markiantorno d7d93b486b Updating version to: 5.6.79-SNAPSHOT and incrementing test cases dependency. 2022-11-17 21:34:46 +00:00
markiantorno 14a8c388fd Release: v5.6.78
## Validator Changes

* Validate HTML entities in XHTML in resources

## Other code changes

* Stop producing XHTML entities in resources when rendering
***NO_CI***
2022-11-17 21:15:59 +00:00
Grahame Grieve b4d21b8263
Merge pull request #994 from hapifhir/gg-202211-xhtml-entities
Gg 202211 xhtml entities
2022-11-17 16:57:04 -03:00
Grahame Grieve 4fa05d8297 fix bug producing html entities in XHTML in resources when rendering 2022-11-17 15:21:39 -03:00
Grahame Grieve 28d107b4ae Validate XHTML entities in XML 2022-11-17 15:21:17 -03:00
dotasek 82972d5216
Add https-proxy param + fix proxy authorization header (#888)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-11-17 11:27:21 -05:00
markiantorno bb8775bfdb Updating version to: 5.6.78-SNAPSHOT and incrementing test cases dependency. 2022-11-16 22:55:59 +00:00
markiantorno 41ffa42dc6 Release: v5.6.77
## Validator Changes

* Minor fix to jurisdiction output (+ handle case where JVM has no locale)
* Add support for extensions parameter
* Make all error messages include version of underlying resource if available
* Accept display for code from ValueSet CLD if no code system available
* Various minor improvements to error messages

## Other code changes

* Minor clean up in test cases
* Fix up i18n support to handle pluralization properly
* Refactor resource narrative generation rules (GenerationRules.X)
* Display resource type in generated narrative
* Add support for generating R4 and R4B packages
* Add support for generating XVer packages
***NO_CI***
2022-11-16 22:38:33 +00:00
Grahame Grieve 47443acaf3 prepare release 2022-11-16 18:36:02 -03:00
Grahame Grieve cf7ef7218a
Merge pull request #979 from lmckenzi/NewIGHelp
Change default help location for tables
2022-11-15 07:18:13 +11:00
dotasek d724d48f89
Do remove excluded tests 2 (#988)
* WIP remove excluded tests + disable breaking test

* Fix failing test, document test cases.

* Code cleanup

The following are cherry picked from GG branch:

* Fix problem with value set validator hiding errors

* Fix issue rendering resource by name

* fix error location

Co-authored-by: dotasek <david.otasek@smilecdr.com>
Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
2022-11-14 13:30:26 -05:00
Grahame Grieve db643e8eca fix typo 2022-11-10 10:00:26 +11:00
Grahame Grieve 21b0577249 track hint about code validation 2022-11-10 05:16:10 +11:00
Grahame Grieve b7a882114d accept code/display from CLD if no code system available 2022-11-10 05:15:27 +11:00
Grahame Grieve 96218a5ce4 refactor resource narrative generation rules 2022-11-10 05:14:59 +11:00
dotasek 11c369ea09 Remove all _PLURAL labels from constants 2022-11-07 16:52:47 -05:00
dotasek 183f9ecfd2 Remove _PLURAL labels from keys 2022-11-07 16:39:40 -05:00
dotasek 6b5d184f89 Merge remote-tracking branch 'origin/master' into do-i18n-plurals 2022-11-07 14:52:40 -05:00
Hank Yang a6ba8fd67a
Fixed HL7 Validator CLI Jurisdiction Output (#980)
* Failing test

* Fixed breaking jurisdiction test

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-11-07 11:59:33 -05:00
dotasek ffec2ce1c5 Merge remote-tracking branch 'origin/master' into do-i18n-plurals 2022-11-07 09:23:36 -05:00
markiantorno 212096f228 Updating version to: 5.6.77-SNAPSHOT and incrementing test cases dependency. 2022-11-06 12:50:41 +00:00
markiantorno cc634aecd5 Release: v5.6.76
## Validator Changes

* Add support for R4B to validator (parts were missing)
* Fix bugs in Logical Model snapshot generation and validation (both instances and logical models themselves)
* Check min/max value for decimal values

## Other code changes

* Fix broken links rendering questionnaires
* Fix issue with converting ActivityDefinition.kind between R5 and R4/R4B/R3 (+ update R5 code)
* Fixes to terminology cache management for test cases
* Process relative links in markdown in code descriptions when rendering value sets
* Fix issue with contained resource not always rendering consistently
* Fix bug where Element Model paths are not populated after preforming a transform
* Fix NPE rendering invalid bundles
* refactor Paramters.getParameter helper methods
* Rendering improvements for logical models
***NO_CI***
2022-11-06 12:33:46 +00:00
Lloyd McKenzie 1d9b05a27b Changed flyover for constraints to say "constraint" instead of "invariant" 2022-11-05 23:26:13 -06:00
Grahame Grieve c835201f36 Merge remote-tracking branch 'origin/master' 2022-11-06 10:16:22 +11:00
Grahame Grieve 4b0c42c832 Fix bug with jurisdiction locale in validator 2022-11-06 10:12:36 +11:00
Grahame Grieve d19ff2e1f6
Merge pull request #972 from hapifhir/do-terminology-cache-filewpipechar
Fix pipes in terminologyCache files
2022-11-06 07:04:58 +11:00
Grahame Grieve 305f93ca26 Fix broken SDC links in Q & QR rendering 2022-11-05 11:30:27 +11:00
Grahame Grieve 01411cfa6c regenerate R5 (ActivityDefinition.kind = TASK), and check synced for RDF Generation issues 2022-11-05 11:28:11 +11:00
dotasek 99bd733fe0 Update tests + fix 11073 codesystem 2022-11-03 16:33:56 -04:00
dotasek 6ecd4c70fe Parse out version for all systems in TerminologyCache files 2022-11-03 14:29:38 -04:00
dotasek fc7cd56335 Merge remote-tracking branch 'origin/master' into do-i18n-plurals 2022-11-03 13:35:40 -04:00
dotasek 74659e4648 Merge remote-tracking branch 'origin/master' into do-terminology-cache-filewpipechar 2022-11-03 12:51:19 -04:00
Grahame Grieve c49a2c0fc5 Fix link to extension style 2022-11-03 15:59:42 +11:00
Grahame Grieve 2519858dcd update logical model snapshot generation and validation 2022-11-03 15:59:22 +11:00
dotasek 16a0a08598 Parse out canonical url version + refactor 2022-11-02 16:58:28 -04:00
dotasek 8e663f3ce9 Merge branch 'master' into do-terminology-cache-filewpipechar 2022-11-02 11:08:45 -04:00
Grahame Grieve 16e21c5bbe fix bug in simple http client when no accept header is set 2022-11-02 20:57:05 +11:00
Grahame Grieve 68a3b6c808 process markdown relative references 2022-11-02 20:56:40 +11:00
Grahame Grieve c8bf2aa4e5 fix issue with contained resources not rendering 2022-11-02 20:56:17 +11:00
Grahame Grieve ca96bbfdc4 fix bug where ElementModel paths are not populated 2022-11-02 20:55:35 +11:00
Grahame Grieve 261462b348 Fix for NPE on invalid bundles 2022-11-02 08:52:02 +11:00
Grahame Grieve 1ae7093eef #934 Parameters object's getParameter(String theParameterName) is misnamed 2022-11-02 08:51:17 +11:00
dotasek 5558f0458f Refactor 2022-10-31 14:53:50 -04:00
dotasek 942777da11 Fix token name for code system 2022-10-31 14:27:03 -04:00
dotasek 21037e2cdf Failing test 2022-10-31 14:22:46 -04:00
dotasek 269680608f Merge master 2022-10-31 09:50:26 -04:00
Grahame Grieve 5116536617 Finish CDS hooks extension validation 2022-10-29 19:18:19 +11:00
Grahame Grieve ddf769851b improve error messages in json parser 2022-10-29 11:59:00 +11:00
Grahame Grieve 27511f40dd Add support for json-primitive-choice 2022-10-29 09:11:09 +11:00
dotasek 25ef2dca4d Merge remote-tracking branch 'origin/master' into do-i18n-plurals 2022-10-28 14:54:37 -04:00
dotasek 2de6340cfa Rename PL to Plural in method signatures 2022-10-28 14:44:09 -04:00
markiantorno f0c53bd7a9 Updating version to: 5.6.76-SNAPSHOT and incrementing test cases dependency. 2022-10-28 11:57:13 +00:00
markiantorno a285132f5b Release: v5.6.75
## Validator Changes

* Fix problem determining implicit code system when code system only known to tx.fhir.org

## Other code changes

* Fix bugs generating CDSHooks snapshots
* Fix for NPE rendering Patient Photo
* Fix problem generating snapshots for specializations where inherited types have properties
* Work on i18n framework
***NO_CI***
2022-10-28 11:38:37 +00:00
Grahame Grieve 1e046a0d00 fix for NPE rendering patient photo 2022-10-28 21:59:08 +11:00
Grahame Grieve 27febc03ef inherited type URLs 2022-10-28 21:58:59 +11:00
Grahame Grieve 63767a78c3 more work in CDS Hooks extensions 2022-10-28 17:49:22 +11:00
Grahame Grieve 83dfcd398c Fix problem with determining implied code system 2022-10-28 09:09:48 +11:00
Grahame Grieve a70fc37b87 Fix NPE processing snapshot 2022-10-26 23:20:31 +11:00
Grahame Grieve b187d289b6 fixes for plural messages for i18n 2022-10-26 14:30:25 +11:00
markiantorno cf111ac919 Updating version to: 5.6.75-SNAPSHOT and incrementing test cases dependency. 2022-10-25 09:35:23 +00:00
markiantorno 325fd0736d Release: v5.6.74
## Validator Changes

* Improve error message for extensions without values

## Other code changes

* Add support for Requirements Resource (rendering + caching)
* Tidy up support for ActorDefinition
* Generate better summary for references
* Clean up bug checking data types in ContextUtilities
* Remove Validator dependency on GSON
* Upgrade validator to produce PSVI  for tools to make use of
***NO_CI***
2022-10-25 09:13:57 +00:00
Grahame Grieve 887b4be428 caching Requirements and ActorDefinitions 2022-10-25 15:03:26 +11:00
Grahame Grieve 5be607152c Add summary rendering for references 2022-10-25 15:03:03 +11:00
Grahame Grieve 6a02896b36 add requirements renderer 2022-10-25 15:02:39 +11:00
Grahame Grieve dd36590599 Add requirements renderer 2022-10-25 15:02:10 +11:00
Grahame Grieve c13f24ef4c clean up bug checking data types in ContextUtilities 2022-10-25 14:58:00 +11:00
Grahame Grieve f1c56ca0d6 remove unused methods from ActorDefinition renderer 2022-10-25 07:28:28 +11:00
Grahame Grieve 7c78bdd59c Merge remote-tracking branch 'origin/master' 2022-10-24 21:58:38 +11:00
Grahame Grieve ac67f945a0 Support for requirements resource 2022-10-24 11:40:00 +11:00
Grahame Grieve 1c3a6ee439 upgrade validator to produce PSVI 2022-10-23 23:13:27 +11:00
markiantorno 308ca865e3 Updating version to: 5.6.74-SNAPSHOT and incrementing test cases dependency. 2022-10-21 07:25:34 +00:00
markiantorno 60022888b1 Release: v5.6.73
## Validator Changes

* Further support for validating CDSHooks content

## Other code changes

* Render period on Identifiers
* Render Tooling IG extensions in Profile table
* Fix NPE building CCDA IG
***NO_CI***
2022-10-21 06:47:50 +00:00
Grahame Grieve 993a28acbb Render period on identifiers 2022-10-21 16:25:19 +11:00
Grahame Grieve 41950eeb0a Updates to validator for CDS Hooks support 2022-10-21 16:25:07 +11:00
markiantorno d0b4a1c247 Updating version to: 5.6.73-SNAPSHOT and incrementing test cases dependency. 2022-10-20 07:11:05 +00:00
markiantorno 4aeac63325 Release: v5.6.72
## Validator Changes

* Improved Errors for bad resource ids
* R5 ballot: Hack around discovered issues in the ballot
* Enforce value set & code system versioning when validating codes
* Enable bulk -snapshot and -convert on multiple/wildcard -source
* Fix bug revalidating profiled abstract types

## Other code changes

* Rework validator test cases to not have inter-test dependencies (+ fix up to allow contexts to be cloned)
* add First draft of xliff production
* Add ActorDefinition conversions R5 -> R4, R4B, R3
* Add support for validating logical model json files (not surfaced in CLI yet)
* Updates for changes to extension URLs in Tools IG
* Fix map rendering in value sets
* Fix broken link in R4 DeviceUseStatement
***NO_CI***
2022-10-20 06:47:38 +00:00
Grahame Grieve ef5683c969
Merge pull request #959 from hapifhir/gg-202210-ips-fixes
Gg 202210 ips fixes
2022-10-20 17:19:41 +11:00
Grahame Grieve ef92e98810 fix broken link in R4 DeviceUseStatement 2022-10-20 16:17:19 +11:00
Grahame Grieve e47ffbd32e fix map rendering in value sets 2022-10-20 16:16:01 +11:00
Grahame Grieve 5045254169
Merge pull request #958 from lmckenzi/FixIPSBug
Allow updateUrls to be called from elsewhere
2022-10-20 15:48:57 +11:00
Lloyd McKenzie 759da9723b Allow updateUrls to be called from elsewhere 2022-10-19 22:42:10 -06:00
Grahame Grieve 648883c87b update for changes to extensions in tools ig 2022-10-20 10:06:00 +11:00
Grahame Grieve 5a9966d1b2 fix up validation tests - remove interdependency issues 2022-10-20 10:05:40 +11:00
Grahame Grieve f56e539fed fix up context cloning 2022-10-20 10:04:03 +11:00
Grahame Grieve 1f7fc12640 turn language test off 2022-10-19 21:54:50 +11:00
Grahame Grieve 574cd143ba clarify resource id error + support type characteristics extension 2022-10-19 20:48:37 +11:00
Grahame Grieve f13dc58d8b More work on language production 2022-10-19 20:47:18 +11:00
Grahame Grieve a6e31d36d3 value set validation version fixes, support for ActorDefinition, support for validating binaries by Logical Models, Language works starts, 2022-10-18 21:19:51 +11:00
Grahame Grieve b17735a15b Add support for ActorDefinition 2022-10-17 11:43:33 +11:00
markiantorno 82e659c8cc Updating version to: 5.6.72-SNAPSHOT and incrementing test cases dependency. 2022-10-14 21:51:04 +00:00
markiantorno 64884ac668 Release: v5.6.71
## Validator Changes

* Fix typos in error messages

## Other code changes

* Fix NPE in xig generation
* Fix bug in validator test framework (packages not being loaded properly)
* Remove references to terminology files no longer found in source specification
* Package generation enhancements for R4/R4B
* Support for CDS Hooks validation (not surfaced outside test cases yet)
***NO_CI***
2022-10-14 21:19:03 +00:00
Grahame Grieve 9a044604c1 fix test framework 2022-10-14 20:49:26 +11:00
Grahame Grieve da78b01ac0 define extension for resource-format in tools IG 2022-10-14 08:35:39 +11:00
Grahame Grieve 5b67ee960e fix NPE in xig 2022-10-14 08:35:27 +11:00
Grahame Grieve 36f54efb55 remove bad references to old files no longer present in core spec 2022-10-14 08:35:15 +11:00
Grahame Grieve 004519ccc8 Fix for some old packages missing ElementDefinition.min 2022-10-14 08:34:52 +11:00
Grahame Grieve 9dd886ee2b package fixes for r4/r4b package conversion 2022-10-13 06:49:08 +11:00