Commit Graph

1815 Commits

Author SHA1 Message Date
Grahame Grieve 5eca02f879 bug fixes 2023-03-06 23:33:38 +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 6559c4b245 improve SM validation message 2023-03-06 20:45:05 +11:00
Grahame Grieve 507ff74c23 recognise R4B and R5 core packages 2023-03-06 20:44:41 +11:00
Grahame Grieve adafa7eec8 Improve Specification Difference Engine 2023-03-06 16:55:02 +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
Grahame Grieve c42da7af68 more package hacking work 2023-03-05 06:14:22 +11:00
Grahame Grieve 52c97f3c70 test primitive regexes if other tests pass 2023-03-05 06:14:07 +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
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 31b770db8a ping build 2023-03-02 07:36:10 +11:00
Grahame Grieve abba72d099 Fix bug in CommaSeparatedStringBuilder 2023-03-01 21:48:43 +11:00
Grahame Grieve c5d6e0f5f4 Merge remote-tracking branch 'origin/master' 2023-02-28 05:58:54 +11:00
Grahame Grieve 4c30621491 structuremap validation and invariant fixes for forthcoming R5 release 2023-02-27 18:32:38 +11: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
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
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
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
Grahame Grieve 1eeee429ce More markdown detection work 2023-02-21 16:52:32 +11:00
Grahame Grieve 3eda8580fc fix rendering for conditional references 2023-02-21 16:46:02 +11:00
Grahame Grieve 76a3129b30 fix validation of conditional references 2023-02-20 23:48:16 +11:00
Grahame Grieve 455d2774da remove reference to package-client folder 2023-02-20 10:44:11 +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
Grahame Grieve fecf024952 FHIR-40387 Improve guidance for markdown datatype 2023-02-16 13:03:37 +11:00
Grahame Grieve 3011b37df4 fix bugs in XHTML parser (common entities) 2023-02-16 10:07:18 +11:00
Jim Balhoff c3580528bb Fix Turtle syntax errors with multiline comments. 2023-02-15 09:58:25 -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 d1690a9416
Merge pull request #1101 from hapifhir/do-20230202-fix-jsonobject-instant-test
Fix JsonObjectTests interaction with Instant
2023-02-15 08:31:58 +11:00
Jim Balhoff 97772ada1e Merge branch 'master' into rdf-wg-r5 2023-02-14 13:47:28 -05:00
Grahame Grieve 33a84012f2 fix bug parsing html entities 2023-02-14 17:32:26 +11:00
Grahame Grieve d5d83bea9c fix broken links in R5 builds 2023-02-14 09:53:22 +11:00
Grahame Grieve 3a427385c5 FHIR QA driven changes 2023-02-12 17:53:41 +11:00
Grahame Grieve e6548bcccd add unCamelCaseKeepCapitals 2023-02-09 17:39:47 +11: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
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
dotasek 7b3e206b1c Fix JsonObjectTests interaction with Instant 2023-02-02 13:52:01 -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 5dc19cd052 Tweak spacing. 2023-02-01 11:55:11 -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
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 08ed54fd35 Rework Package API to allow for authentication on package servers 2023-01-31 10:32:21 +11:00
Grahame Grieve 4ab03c5c93 cater for "." in XML element and attribute names 2023-01-31 07:23:52 +11:00
dotasek cca38587ce
Cleanup jetbrains annotations (#1090)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-01-23 18:27:47 -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 f8e6371e1f
Merge branch 'master' into gg-202301-sm-errors 2023-01-20 19:44:24 +11:00
Grahame Grieve 68b36d3cb5 go-publish related changes 2023-01-20 11:23:17 +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
dotasek 885e55352f
FTPClient: upload file path creation, logging, and improved default path (#1078)
* More logging of errors.

* WIP create path for file to upload.

* WIP Tests

* More tests

* Improved logging and path fixes

* Clean up imports

* Rename test

* add testing code

Co-authored-by: dotasek <david.otasek@smilecdr.com>
Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
2023-01-18 12:42:59 -05: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 829cea8d33 Add check for slicing at the root of a profile 2023-01-17 11:41:42 +11:00
Grahame Grieve 4b1a3dba46 Improve URN validation 2023-01-16 22:13:53 +11:00
Grahame Grieve a61d860ddb FTP passive mode 2023-01-16 22:13:38 +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
dotasek 625ecac3c8
Bump commons-net to 3.9.0 (#1070)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-01-13 22:11:51 -05:00
dotasek dc9d5d0ed1 Set file transfers to binary type, ensure file contents match 2023-01-11 13:41:43 -05:00
dotasek edf6d75551
Implement FTP Client (#1064)
* Start with tests against fake FTP

* Dummy test file

* Switch to our FTPClient, make tests break

* Implement FTPClient

* Rely on end caller to set path delimiters

* User port 8021 for tests (not protected in azure pipelines)

* Let mocks use Windows filesystem

* Gentle refactor

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-01-09 20:06:21 -05:00
dotasek 0fd3c4af42 Merge branch 'master' into do-reintroduce-saxon-dependency 2023-01-06 17:00:40 -05: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
dotasek df100a2d34 Restore saxon dependency dropped by HAPI FHIR 2023-01-05 17:11:35 -05:00
Grahame Grieve e794eca959 Changes to support upgrades to IG publisher -go-publish process 2023-01-05 08:44:45 +11:00
Grahame Grieve 19f1171962 json date handling related changes 2023-01-05 08:43:57 +11:00
Jim Balhoff 673e36b989 Merge branch 'master' into rdf-wg-r5-merging 2023-01-04 15:04:48 -05:00
Grahame Grieve db48892b66 fix failing test 2023-01-03 14:57:08 +11:00
Grahame Grieve f3fc19a906 refactor profile generation (utils -> renderer) + add new views 2023-01-03 14:54:11 +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
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
Grahame Grieve 37844bd395 update xver dependency 2022-12-17 08:07:43 +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
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 8b7890bea2 removing caching package client - rests on invalid assumptions 2022-12-16 08:49:30 +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 9aeb39671b fix to get tests passing again. If I'm lucky 2022-12-14 11:54:14 +11:00
Grahame Grieve 72eae55218 fix new bug in package manager 2022-12-14 09:59:25 +11:00
Grahame Grieve e9d8400a78 fix package loading bug 2022-12-14 09:09:53 +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
Grahame Grieve f5d486f171 refactoring package-list.json handling 2022-12-12 19:54:37 +11: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 89486c17fc
Merge pull request #1029 from hapifhir/gg-202212-json-header
Gg 202212 json header
2022-12-10 00:01:26 +11:00
Grahame Grieve 1786122763
Update org.hl7.fhir.utilities/src/main/resources/Messages.properties
Co-authored-by: Vadim Peretokin <vperetokin@hey.com>
2022-12-09 23:30:59 +11:00
Grahame Grieve ee8a58b7e1
Update org.hl7.fhir.utilities/src/main/resources/Messages.properties
Co-authored-by: Vadim Peretokin <vperetokin@hey.com>
2022-12-09 23:30:06 +11:00
Grahame Grieve 7c2c44b333 Add Accept header fetching JSON 2022-12-09 20:09:12 +11:00
Grahame Grieve 474f84c903 fix bug doing version comparison 2022-12-09 20:09:01 +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
dotasek d762740950
Bump HAPI FHIR to 6.2.1 + jacoco + byte_buddy (#1007)
* Bump HAPI FHIR to 6.2.1 + jacoco + byte_buddy

* Failing test

* GitHub complains about missing newlines.

* ACTUALLY bump HAPI, include saxon libs that disappeared

* Update maven.compiler.* properties, drop surefire-java-8 profile

* bump exec plugin

* Try running with JAVA_HOME explicitly

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-12-06 10:52:52 -05:00
Grahame Grieve 064c4ce896 Add contents to .index.json in package (per update to spec) 2022-12-06 16:21:56 +11:00
Grahame Grieve 66f46bc319 remove test that shouldn't have been committed 2022-12-05 17:56:12 +11:00
Grahame Grieve b778641cf6 fix bug in XHTML generation 2022-12-05 17:27:52 +11:00
Grahame Grieve 5d29a88552 fix npe appending slashes 2022-12-05 17:27:43 +11:00
Grahame Grieve a0c28f3326 Round trip XHTML faithfully wrt empty elements 2022-12-05 13:41:31 +11:00
Grahame Grieve cd8c970045 Add logging to package client 2022-12-01 16:56:55 +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 d24cc6c5ee Merge remote-tracking branch 'origin/master' 2022-12-01 08:22:19 +11:00
Grahame Grieve fedfa88ffb refactor resource reference resolution to use package dependencies whereever possible 2022-12-01 08:16:00 +11:00
dotasek d53aabe2e5
Do not delete previously undefined xmlns attributes when processing Xhtml nodes (#985)
* Add tests

* Add back unseen namespace attributes

* Gentle refactor, document setOriginalNamespacePrefix

* Update validator_test_case_version

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-11-30 16:01:28 -05: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
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
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 49f798de48 Consistency around rendering comments in examples in IGs 2022-11-26 22:24:17 -03:00
Grahame Grieve 53fb08ab19 update JSON parser used by validator to JSON5 parser 2022-11-26 18:24:29 -03:00
Grahame Grieve 363a95bb8a more replacing json library 2022-11-25 22:37:43 -03:00
Grahame Grieve 450fa1d02c minor improvements to json library 2022-11-25 22:37:18 -03:00
Grahame Grieve 61d998963a fix debugging 2022-11-24 19:56:07 -03:00
Grahame Grieve 618f98e323 Add spanish messages 2022-11-24 18:02:02 -03:00
Grahame Grieve 1617315ed8 minor improvements to validator message 2022-11-24 17:58:15 -03:00
Grahame Grieve 80f275ff18 upgrade to new JSON parser 2022-11-24 17:57:46 -03:00
Grahame Grieve b2e2c68f7e minor typo fixes in validation messages 2022-11-22 12:45:33 -03: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 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
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 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 28d107b4ae Validate XHTML entities in XML 2022-11-17 15:21:17 -03: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 011e2488a3 New Json Parser 2022-11-16 15:11:33 -03:00
Grahame Grieve 24656a20fa typo fix in name 2022-11-15 18:13:45 +11:00
Grahame Grieve 0f3e8be43b
Merge pull request #989 from vadi2/patch-1
Fix missing space in slicing validation failure message
2022-11-15 17:49:32 +11:00
Vadim Peretokin 2de7220db4
Fix missing space in slicing validation failure message 2022-11-14 21:18:38 +01: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
Grahame Grieve 231aae6043 Fix issue rendering resource by name 2022-11-14 18:04:27 +11:00
Grahame Grieve e01216b7f3 more xver package related changes 2022-11-11 12:29:45 +11:00
Grahame Grieve 21b0577249 track hint about code validation 2022-11-10 05:16:10 +11:00
Grahame Grieve 96218a5ce4 refactor resource narrative generation rules 2022-11-10 05:14:59 +11:00
Grahame Grieve a090055fd3
Merge branch 'master' into gg-202211-vs-errors 2022-11-08 09:47:07 +11:00
Grahame Grieve 19e97c857b Make references to canonical resources in error messages version specific 2022-11-08 09:37:26 +11:00
dotasek 90f450ecb6 Rename method + remove dead code 2022-11-07 17:29:21 -05: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 25c12a9e4e Use plural phrase as placeholder for singular in de and nl 2022-11-07 15:20:31 -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 90f3321c7d Change default help location for tables 2022-11-05 17:07:38 -06:00
Grahame Grieve a6b167a94a sync 2022-11-05 11:31:06 +11:00
dotasek fc7cd56335 Merge remote-tracking branch 'origin/master' into do-i18n-plurals 2022-11-03 13:35:40 -04:00
Grahame Grieve 2519858dcd update logical model snapshot generation and validation 2022-11-03 15:59:22 +11:00
Grahame Grieve 16e21c5bbe fix bug in simple http client when no accept header is set 2022-11-02 20:57:05 +11:00
dotasek aeeaf06d62 Fix de copy error 2022-11-01 18:07:28 -04:00
Grahame Grieve cc1f81bff4 New version of pubpack 2022-11-02 08:51:33 +11:00
dotasek bbf1a3af6f MULTIPLE_LOGICAL_MODELS_PLURAL 2022-10-31 10:58:38 -04:00
dotasek 56bc6bcf4c FHIRPATH_FOCUS_PLURAL 2022-10-31 10:53:41 -04:00
dotasek 0f8ac2958a FHIRPATH_DISCRIMINATOR_MULTIPLE_PROFILES_PLURAL 2022-10-31 10:49:58 -04:00
dotasek c16b42d8da FHIRPATH_DISCRIMINATOR_MULTIPLE_TYPES_PLURAL 2022-10-31 10:43:20 -04:00
dotasek 789bd3f4ba FHIRPATH_RESOLVE_DISCRIMINATOR_NO_TARGET_PLURAL 2022-10-31 10:42:19 -04:00
dotasek 0f01b0b519 FHIRPATH_DISCRIMINATOR_RESOLVE_MULTIPLE_TYPES_PLURAL 2022-10-31 10:28:32 -04:00
dotasek 2f5056c4ef FHIRPATH_LEFT_VALUE_PLURAL + FHIRPATH_RIGHT_VALUE_PLURAL 2022-10-31 10:20:31 -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 59df630985 BUNDLE_BUNDLE_ENTRY_MULTIPLE_PROFILES_PLURAL 2022-10-28 16:57:44 -04:00
dotasek 0b0cbab26d XHTML_URL_INVALID_CHARS_PLURAL 2022-10-28 16:56:11 -04: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
dotasek 71a8c46c1d Display_Name_for__should_be_one_of__instead_of_PLURAL 2022-10-28 13:16:00 -04:00
dotasek 39dbf45a97 Discriminator__is_based_on_type_but_slice__in__has_multiple_types_PLURAL 2022-10-28 13:10:23 -04:00
dotasek f8a439f529 Profile_based_discriminators_must_have_only_one_type__in_profile_PLURAL 2022-10-28 13:09:27 -04:00
dotasek 21c2f934b8 ould_not_match_discriminator_for_slice_in_profile_PLURAL_one 2022-10-28 12:14:57 -04:00
dotasek 839fdc25e3 Reorg nl duplicate keys 2022-10-28 11:15:12 -04:00
dotasek 404f4f712b Validation_VAL_Profile_MultipleMatches_PLURAL 2022-10-28 10:40:13 -04:00
dotasek 36df92c731 Validation_VAL_Profile_NoCheckMin_PLURAL 2022-10-28 10:34:23 -04:00
dotasek d67292676a Validation_VAL_Profile_NoCheckMax_PLURAL 2022-10-28 10:29:27 -04:00
dotasek 1bb3158444 Validation_VAL_Profile_Minimum/Maximum_PLURAL 2022-10-28 09:51:58 -04:00
dotasek f095b04bb1 Bundle_BUNDLE_Entry_Type3_PLURAL 2022-10-28 09:42:59 -04:00
dotasek a1a7e307ae Questionnaire_QR_Item_OnlyOneA special case 2022-10-28 09:36:13 -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 83dfcd398c Fix problem with determining implied code system 2022-10-28 09:09:48 +11:00
dotasek da14683990 Refactor, document 2022-10-27 17:52:38 -04:00
dotasek 865f41b71f Typo in test name 2022-10-27 17:37:34 -04:00
dotasek ef2092e500 Start implementing pluralization 2022-10-27 17:34:12 -04:00
dotasek 9e4a19bb61 Improve germal pluralization test 2022-10-27 17:29:34 -04:00
dotasek cd5c9efcec Add ICU4J dependency + initial tests 2022-10-27 16:02:44 -04:00
Grahame Grieve a1a27b359d json fix 2022-10-27 07:39:30 +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 1c1138ec9b improve error message for extensions without values 2022-10-25 14:58:38 +11:00
Grahame Grieve 7c78bdd59c Merge remote-tracking branch 'origin/master' 2022-10-24 21:58:38 +11:00
Grahame Grieve 628ace4716 More control over copying files 2022-10-23 23:13:45 +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 41950eeb0a Updates to validator for CDS Hooks support 2022-10-21 16:25:07 +11:00
Grahame Grieve c053f08a13 fix NPE building CCDA 2022-10-20 22:07:05 +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 4850a4c740 eliminate platform dependency in error message 2022-10-20 10:59:17 +11:00
Grahame Grieve 108321e172 fix i18nconstants 2022-10-19 21:01:12 +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
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 9dd886ee2b package fixes for r4/r4b package conversion 2022-10-13 06:49:08 +11:00
Grahame Grieve a15b57ef9a Improved support for Logical Models (inc. cds-hooks) 2022-10-13 06:48:29 +11:00
Grahame Grieve 3d83de32c6 fix problem with vocab test because of issue in package cache management 2022-10-12 10:22:05 +11:00
markiantorno 7bf348055a Updating version to: 5.6.71-SNAPSHOT and incrementing test cases dependency. 2022-10-11 01:11:51 +00:00
markiantorno 2fd44c4203 Release: v5.6.70
## Validator Changes

* no changes

## Other code changes

* Fix for logical model issues for cds-hooks logical models
***NO_CI***
2022-10-11 00:50:57 +00:00
Grahame Grieve fb921f6f3f Fix content reference generation 2022-10-10 20:45:46 +11:00
Grahame Grieve a66ca2a197 Add JSON enhancements for CDS hooks logical model 2022-10-10 17:05:12 +11:00
Grahame Grieve e1657c66b0 refactor IWorkerContext 2022-10-07 21:50:59 +11:00
markiantorno 9a39f4570c Updating version to: 5.6.70-SNAPSHOT and incrementing test cases dependency. 2022-10-06 23:36:56 +00:00
markiantorno bdd99a48a7 Release: v5.6.69
## Validator Changes

* Fix R5 error around cnl-1
* Add markdown validation
* add support for http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies
* fix bugs in FHIRPath handling of polymorphism
* fix validation of Coding when system is unknown (align with CodeableConcept handling)
* Fix bug where extranous text in XML was reported in the wrong location

## Other code changes

* Fix links in bundle rendering
* Improvements to rendering for IG publisher (additional bindings)
* Bump jackson-databind dependency
* fix bugs in graphql generation
* populate StructureMap xhtml when loading from mapping language
* align markdown processing with FHIR-38714
***NO_CI***
2022-10-06 23:17:29 +00:00
Grahame Grieve c7ef0a3ac6 Add support for http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies to validator 2022-10-05 21:19:30 +11:00
Grahame Grieve 86a3a56c42 better handling for sax errors and jvm issue 2022-10-04 16:55:17 +11:00
Grahame Grieve 098b2895bc Markdown changes for FHIR-38714 + fix up test framework for validator to use OperationOutcome 2022-10-04 14:06:30 +11:00
markiantorno fa8db082c7 Updating version to: 5.6.69-SNAPSHOT and incrementing test cases dependency. 2022-09-30 20:09:37 +00:00
markiantorno ecc3506457 Release: v5.6.68
## Validator Changes

* Warning in Validator CLI when character encoding is not UTF-8
* Don't validate contained resources against Shareable* profiles, and also check ShareableMeasure

## Other code changes

* Remove CapabilityStatement2 from canonical resources
***NO_CI***
2022-09-30 19:52:48 +00:00
Grahame Grieve d71a5833c1
Gg 202210 shareables (#936)
* Don't validate contained resources against Shareable* Profiles, + validate ShareableMeasure

* release notes

* fix compile problem

Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
2022-09-30 15:00:22 -04:00
dotasek eabf51938b
Remove CapabilityStatement2 from reported and checked resource names (#935)
* Remove CapabilityStatement2 from reported and checked resource names

* Update RELEASE_NOTES.md

***NO_CI***

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-09-30 13:10:51 -04:00
dotasek 6ffb981156
Warn CLI users if file.encoding is not UTF-8 (#933)
* Print warning for wrong file encoding

* Gentle refactor

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-09-28 15:09:04 -04:00
markiantorno 8893e0c0bc Updating version to: 5.6.68-SNAPSHOT and incrementing test cases dependency. 2022-09-27 15:09:27 +00:00
markiantorno 02435a9889 Release: v5.6.67
## Validator Changes

* Work around R4 issue with http://www.rfc-editor.org/bcp/bcp13.txt value set (should be http://hl7.org/fhir/ValueSet/mimetypes)
* Minor improvements to error messages

## Other code changes

n/a
***NO_CI***
2022-09-27 14:33:05 +00:00
Grahame Grieve a1d97b6ed4 fix test dependency 2022-09-27 08:46:49 -04:00
Grahame Grieve 2285da5f8d minor validation improvements 2022-09-26 23:49:32 -04:00
markiantorno 9d308db001 Updating version to: 5.6.67-SNAPSHOT and incrementing test cases dependency. 2022-09-23 18:40:26 +00:00
markiantorno 303853b7a1 Release: v5.6.66
## Validator Changes

* fix error with code system validation messages

## Other code changes

* Enhanced testing for character encoding issues
* XIG publisher improvements
***NO_CI***
2022-09-23 18:20:37 +00:00
Grahame Grieve 695a8610a2 fix error with code system validation messages 2022-09-23 09:33:25 -04:00
markiantorno e29b3130db Updating version to: 5.6.66-SNAPSHOT and incrementing test cases dependency. 2022-09-20 16:29:09 +00:00
markiantorno fce1d1f1fc Release: v5.6.65
## Validator Changes

* Validator support for -forPublication parameter

## Other code changes

* Improved ConceptMap rendering
* Internal reorganization of extensions
* Fix NPE rendering terminology resources
* Fix bad HTML rendering SearchParameter
* Allow rendering additional information in a comparison
* bug fixes from loading all published packages ever
***NO_CI***
2022-09-20 16:11:15 +00:00
Grahame Grieve 204157c1ec update validator rules for supplements 2022-09-20 08:29:45 -04:00
Grahame Grieve 72b3d2f6d1 escape bare html entities 2022-09-20 04:52:20 -04:00
Grahame Grieve 689b9a57b1 check ShareableValueSet and shareableCodeSystem profiles for publishing resources 2022-09-20 04:52:01 -04:00
Grahame Grieve cfa5d39bdb reorg extensions (clean up) 2022-09-20 04:51:00 -04:00
Jim Balhoff 15361ad600 Provide backward compatibility for predicate methods. 2022-09-19 13:53:04 -04:00
markiantorno 45a4ad77ad Updating version to: 5.6.65-SNAPSHOT and incrementing test cases dependency. 2022-09-17 14:49:41 +00:00
markiantorno 7cce3ef810 Release: v5.6.64
## Validator Changes

* Support for R5 terminology

## Other code changes

* fix error with R5 IG constraint
* fix error with double escaping rendering code system markdown
* Suppress display when generating narrative for code systems if display matches code
* Fix bug in RDF generation in R4B
* fix bug in html parser - misses end of comments when end is --->
***NO_CI***
2022-09-17 14:17:42 +00:00
Grahame Grieve 5cf7e2c3bd fix html parser for comments that end with ---> 2022-09-17 09:51:59 -04:00
Grahame Grieve ccc38e48df Fix NPE processing constraints without keys + fix for R5 terminology package problem 2022-09-16 23:49:26 -04:00
Jim Balhoff 41d23ed56f WIP outputting indexed objects as RDF collections. 2022-09-15 10:34:24 -04:00
Grahame Grieve 43420db756 fix error with IG constraint 2022-09-15 09:00:51 +02:00
markiantorno 09125cbaa4 Updating version to: 5.6.64-SNAPSHOT and incrementing test cases dependency. 2022-09-12 16:58:38 +00:00
markiantorno 0e2ad40b05 Release: v5.6.63
## Validator Changes

* no changes

## Other code changes

* Fix NPE ValueSetRenderer
* More fixes in StructureDefinition validation type characteristic
* Fix typo in ImplementationGuideDefinitionParameterComponent `Value`
***NO_CI***
2022-09-12 16:09:27 +00:00
markiantorno 6169f92cb1 Updating version to: 5.6.63-SNAPSHOT and incrementing test cases dependency. 2022-09-10 06:33:43 +00:00
markiantorno 5286167c02 Release: v5.6.62
## Validator Changes

* More fixing for Type Characteristics

## Other code changes

* Fix rendering of concept map code references
* Fix version conversion problem for MessageHeader.event
***NO_CI***
2022-09-10 06:14:00 +00:00
markiantorno 31238146a0 Updating version to: 5.6.62-SNAPSHOT and incrementing test cases dependency. 2022-09-09 22:13:28 +00:00
markiantorno 9b9c12c97a Release: v5.6.61
## Validator Changes

* no changes

## Other code changes

* Improved HTML compliance (img.alt)
* Improved example generation
* Improved handling of illegal parameters in ImplementationGuideDefinition
***NO_CI***
2022-09-09 21:56:43 +00:00
Grahame Grieve a3ededf92c Merge remote-tracking branch 'origin/master' 2022-09-09 09:03:39 +10:00
Grahame Grieve 8ee2480f61 example generation improvements 2022-09-09 09:03:16 +10:00
markiantorno fadb727e87 Updating version to: 5.6.61-SNAPSHOT and incrementing test cases dependency. 2022-09-08 15:20:07 +00:00
markiantorno ca313fa6fe Release: v5.6.60
## Validator Changes

* no changes

## Other code changes

* Rendering improvements for Patient and extension summary
***NO_CI***
2022-09-08 15:03:24 +00:00
Grahame Grieve ace807bca0 Add missing img.alt tags 2022-09-08 22:45:24 +10:00
Grahame Grieve 4cbbce4ec8 img conformance in xhtml 2022-09-08 22:22:17 +10:00
dotasek 6e80637185
Change message when extension is in modifierExtension field (#917)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-09-07 16:56:19 -04:00
markiantorno 9f70b2b541 Updating version to: 5.6.60-SNAPSHOT and incrementing test cases dependency. 2022-09-07 13:29:55 +00:00
markiantorno df2e964389 Release: v5.6.59
## Validator Changes

* More fixes to type characteristics
* Validator would hang on some specific xml inputs - no more

## Other code changes

* General: This release contains java code for the as yet unreleased R5 ballot (it's a precondition for releasing it)
* Snapshot Generator handle bindings on CodeableReferences
* Renderer: Don't always render OperationDefinition header
***NO_CI***
2022-09-07 13:12:42 +00:00
Grahame Grieve 6cf6d139c4 fix up for r5 tests 2022-09-07 08:12:20 +10:00
markiantorno df2a768778 Updating version to: 5.6.59-SNAPSHOT and incrementing test cases dependency. 2022-09-04 00:09:47 +00:00
markiantorno 719f28dcd2 Release: v5.6.58
## Validator Changes

* Allow binding as a type characteristic for Extension

## Other code changes

* OID support refactoring
* Remove Contributor Datatype from R5
* R5 Build efficiency fixes
***NO_CI***
2022-09-03 23:48:53 +00:00
Grahame Grieve fa22d50297 utilities for OID rework in R5 2022-09-03 21:31:24 +10:00
Grahame Grieve f366962f51 Fix bindings constraint issue in validator 2022-09-03 07:37:38 +10:00
markiantorno 6f73511fe7 Updating version to: 5.6.58-SNAPSHOT and incrementing test cases dependency. 2022-09-01 13:44:59 +00:00
markiantorno 8a38b36855 Release: v5.6.57
## Validator Changes

* fix erroneous type characteristics error in StructureDefinition.differentials

## Other code changes

* ValuesetExpansion: Pay attention to inactive property, and activeOnly parameter
* fix broken paths rendering extensions
* Process markdown in code definitions when rendering ValueSets
* Fix duplicate ids in generated questionnaires
* Add types to wildcard list
***NO_CI***
2022-09-01 13:27:25 +00:00
markiantorno 4b8f8e3d2b Updating version to: 5.6.57-SNAPSHOT and incrementing test cases dependency. 2022-08-26 21:14:29 +00:00
markiantorno 51199251e8 Release: v5.6.56
## Validator Changes

* Improve support for example code systems in example mode

## Other code changes

* Render Comments as span titles in ProfileDrivenRenderer
* Fix type analysis in FHIRPath for abstract types
* Terminology utilitty improvements for fhir-types code system
* Lighten invariant background colour
* Fixes to DateTimeType for setFieldValue() method
***NO_CI***
2022-08-26 20:57:04 +00:00
Grahame Grieve 5220f2552b Merge remote-tracking branch 'origin/master' 2022-08-26 21:18:44 +10:00
Grahame Grieve 5fcc1866cd better support for allowExamples 2022-08-26 21:00:50 +10:00
markiantorno 540209b68f Updating version to: 5.6.56-SNAPSHOT and incrementing test cases dependency. 2022-08-25 17:05:11 +00:00
markiantorno 5112fe18ca Release: v5.6.55
## Validator Changes

* no changes

## Other code changes

* Return lists for FHIRPath constants in r4
* FHIR-25206 handle deprecated concepts properly when expanding value sets
* Fix SHEX generation issue
* Fix ConceptMap rendering column title
* Fix problem rendering ConceptMaps in value sets
* Fix NPE issue rendering resources without ids
* Improvements to SearchParameterRenderer
* Add Reference.resource to output of copy()
* Migration of r5 changes to r4b
* Bundle rendering improvements
* Fix loading canonical resources so that duplicates with different versions is OK
* Fix generation of profiles on Resource.id
***NO_CI***
2022-08-25 16:46:36 +00:00
Grahame Grieve fba2145a9c Fix bug where instance validator doesn't check type of sub-extensions, and check type characteristics 2022-08-23 22:32:40 +10:00
Grahame Grieve cd820bdf3f Fix problem rendering ConceptMaps in value sets 2022-08-18 09:39:01 +10:00
Grahame Grieve 6fb61b75f0 R5 related fixes 2022-08-12 21:24:14 +10:00
Grahame Grieve 80ca7e31f9 Improvements to SearchParameterRenderer 2022-08-11 19:16:49 +10:00
Grahame Grieve e2d1cbfffa msic commit 2022-08-09 20:19:39 +10:00
markiantorno 8051f476a9 Updating version to: 5.6.55-SNAPSHOT and incrementing test cases dependency. 2022-08-03 15:01:07 +00:00
markiantorno 24dbe8b984 Release: v5.6.54
## Validator Changes

* Fix for errors in FHIRPath evaluation (see https://chat.fhir.org/#narrow/stream/179266-fhirpath/topic/String.20functions)

## Other code changes

* R4B BackboneType fixes
* Add R4B to R5 interconversion code
* Improvements to Rendering Documents
* Add uuid to primitive types list
***NO_CI***
2022-08-03 14:28:56 +00:00
Grahame Grieve b43c210e1a Rendering improvements for Documents 2022-07-28 21:30:59 +10:00
Grahame Grieve f3fa8cae24
Merge pull request #886 from hapifhir/gg-202207-fhirpath
Gg 202207 fhirpath
2022-07-28 09:14:17 +10:00
Grahame Grieve 5c76af8dcd fhirpath fixes 2022-07-27 22:39:05 +10:00
markiantorno 8978130451 Updating version to: 5.6.54-SNAPSHOT and incrementing test cases dependency. 2022-07-25 22:10:34 +00:00
markiantorno ec87c3a0b4 Release: v5.6.53
## Validator Changes

* Add support for OID 1.3.160 (very short OIDs are special)
* Fix evaluation of ValueSets that have only one value set import

## Other code changes

* Rework precision checking in datetime
* Update version conversion to not drop modifierExtensions
* Fix DocumentRendering to generate Composition Narrative if not present
* Restore Search Parameters (missing due to R5 draft generation issues)
* Don't access getBinaries directly in XVerExtensionManager

***NO_CI***
2022-07-25 21:49:05 +00:00
markiantorno fa0597f864 Updating version to: 5.6.53-SNAPSHOT and incrementing test cases dependency. 2022-07-22 06:10:23 +00:00
markiantorno aa6094c451 Release: v5.6.52
## Validator Changes

* Fix issue with startsWith in FHIRPath engine
* Fix bugs validating references (some references not resolved)
* Fix minor issue supporting 4.3.0 (R4B)
* fix bug loading R5 extensions

## Other code changes

* Fix NPE rendering bundles
* R5 Changes to ConceptMap
* Fix bug rendering extensions
* Fix bug accessing polymorphic fields when rendering
* Fix bug around lazy loading packages when validating references
* Add ability to suppress serialising ids when serialising element models
***NO_CI***
2022-07-22 05:50:56 +00:00
Grahame Grieve a82bbeb887
Merge pull request #873 from hapifhir/gg-202207-version-annotations
fix up version annotations
2022-07-22 15:16:01 +10:00
Grahame Grieve 5284773527 fix up version annotations 2022-07-22 14:27:26 +10:00
dotasek 6f3c297c35
Fix dependency on resource more consistently (#845)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-07-19 10:33:31 -04:00
dotasek 5560093c02
Instantiate all ValidationMessage with this() instead of super() (#853)
super() would call Object() instead of ValidationMessage(). This way, debugging can track instantiations of ValidationMessage from one place

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-07-18 13:26:13 -04:00
markiantorno bb13edfdc0 Updating version to: 5.6.52-SNAPSHOT and incrementing test cases dependency. 2022-07-18 10:41:30 +00:00
markiantorno 078ca1e13a Release: v5.6.51
## Validator Changes

* no changes

## Other code changes

* Update R5 for revised ConceptMap in R5 cibuild, and release new core library for R5 build process
***NO_CI***
2022-07-18 10:23:13 +00:00
Grahame Grieve 023aea34fb R4B and R5 extension changes 2022-06-28 15:39:15 +03:00
markiantorno 982ce5f58f Updating version to: 5.6.51-SNAPSHOT and incrementing test cases dependency. 2022-06-24 18:48:18 +00:00
markiantorno 4a654122fb Release: v5.6.50
## Validator Changes

* Improved logging when discriminator doesn't match doing slicing
* Use correct IPS branch when validating
* Load R5 extensions when validating (draft)
* Make it possible to run tests cases directly from validator (see command line help)

## Other code changes

* Regenerate R4B code for final R4B release
* Reduce text logging when running tests
* Minor test case fixes
* Fix fetching package by canonical to use pkgcanonical instead of canonical
* Fix broken link rendering code system references
* improvements to profile validation
***NO_CI***
2022-06-24 18:32:05 +00:00
dotasek ae8b21014a Bump version to 5.6.50-SNAPSHOT 2022-06-24 11:29:30 -04:00
Grahame Grieve 3caa59719d Merge remote-tracking branch 'origin/master' 2022-06-24 16:25:59 +02:00
Grahame Grieve 7205cd91da New version of pubpack 2022-06-24 16:25:52 +02:00
markiantorno 891aaf4a20 Release: v5.6.49
## Validator Changes

* Improved logging when discriminator doesn't match doing slicing
* Use correct IPS branch when validating
* Load R5 extensions when validating (draft)
* Make it possible to run tests cases directly from validator (see command line help)

## Other code changes

* Regenerate R4B code for final R4B release
* Reduce text logging when running tests
* Minor test case fixes
* Fix fetching package by canonical to use pkgcanonical instead of canonical
* Fix broken link rendering code system references
* improvements to profile validation
***NO_CI***
2022-06-24 12:41:29 +00:00
Grahame Grieve 95dee12d0e
Merge pull request #844 from hapifhir/gg-202206-amsterdam
Gg 202206 amsterdam
2022-06-24 13:53:33 +02:00
Grahame Grieve ba7b0d8bfa reduce text logging running tests 2022-06-24 13:15:55 +02:00
Grahame Grieve 30aefb8fde Load R5 extensions when validating 2022-06-24 11:43:34 +02:00
Grahame Grieve 8e2958c7d6 use pkgCanonical when fetching packages 2022-06-24 11:42:38 +02:00
dotasek 552127464c Rename again + pass tests 2022-06-23 12:39:35 -04:00
dotasek c6a69e81ae Failing test + gentle refactor 2022-06-23 12:32:02 -04:00
dotasek 3f7163b41b Case insensitive fhir.txcache.rebuild 2022-06-17 17:03:03 -04:00
dotasek 1fee28fe84
Feature - run JUnit tests from validator_cli (#835)
* WIP add initial test running code

* Importing test modules fix breaking tests 1

* Clean up pom dependencies, move execution before context load

* Re-org and document cli pom

* Set more dependencies to compile. Print entries in classpath

* Try running via internal Executors

* Clearer class names + provide clear output

* Clean up test summarys and output + update class regex to junit default

* Refactor to avoid having to extend class

* Trim down dependency additions in pom + javadoc

* Add the rest of the modules to TestExecutor

* Parse additional params for classname filter and module

* Add experimental JUnit 4 runner in case JUnit 5 hates us.

* Include JUnit4 tests via adapters. Need to refactor for better naming.

* Update LoadIgTests to JUnit 5

* Gentle refactor, print execution time

* Remove unnecessary interface, organize packages

* Remove cached resources (need to fix this)

* Allow setting of txCache globally for tests + fix r5 tests

* Mild refactor of TestExecutor + Reorder test execution

* Add fhirTestCasesDirectory to testConfig + get r4 tests working

* Add dstu2016may and dstu3 tests

* Add dstu2 tests

* Add convertors tests

* Refactor resourceNameForFile + don't copy existing files

* Get all txCache directories centrally and allow all to live in same dir

* Start extracting txCache resources

* Finish extracting txCache resources

* Fix failing GraphQLEngineTest

* Try an mvn install for the pull pipeline

* Clean and refactor

* Test coverage

* Fix GraphQLEngineTests for local jar run

* More refactoring, more tests

* Add bare test for TxCacheResourceExtractor

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-06-14 17:04:00 -04:00
Grahame Grieve 2783a5e3aa
Merge pull request #836 from hapifhir/gg-202206-r4b
R4b update
2022-06-14 13:26:51 +10:00
Grahame Grieve 74e348f021 fix for NPE in package 2022-06-13 21:40:04 +03:00
markiantorno 3484b891d5 Updating version to: 5.6.49-SNAPSHOT and incrementing test cases dependency. 2022-06-08 07:01:23 +00:00
markiantorno 17ce4678d4 Release: v5.6.48
## Validator Changes

* Clean up the -extension parameter - make implementation conistent with documentation
* Stop auto-converting parameters to strings for string functions e.g. .length() in the FHIRPath engine
* Add parameter -implicit-fhirpath-string-conversions for old FHIRPath string conversion functionality

## Other code changes

* Fix NPE counting descendents when validating
* Fix bug processing invalid HTTP response
***NO_CI***
2022-06-08 06:41:48 +00:00
Grahame Grieve b0dfc9f281 fix bug counting children + fix issue with automatic string conversion in FHIRPath + fix bug in HTTP client + fix bug rendering profile comparison 2022-06-08 08:56:46 +10:00
markiantorno 2c8db93787 Updating version to: 5.6.48-SNAPSHOT and incrementing test cases dependency. 2022-05-27 17:24:16 +00:00
markiantorno 567a9b2ce7 Release: v5.6.47
## Validator Changes

* Significant improvement in performance of validation (10-100 fold for simple resources)
* Add output tracker to trask progress of validation (Validate %R against %P..........20..........40..........60..........80.........|)
* Alter per-1 to handle different precision on start/end
* Add support for a -jurisdiction parameter, preparing for jurisdictionally specific constraints in profiles
* Fix bug in snapshot generation where type slices on a mandatory element were all marked as mandatory
* Add warnings when potential matches are found when performing reference resolution in bundles

## Other code changes

* extend FHIRPath to support lowBoundary(), highBoundary() and precision()
* Fix for inefficiency in StructureMap engine
* Update version of PubPack used by the IGPublisher
* Handle scope on TestScript R4 <-> r5 conversion
* Fix bug converting extension context = Resource (R4 <-> R5 conversion)
* Update VSAC importer for changes to VSAC FHIR authorization
* Fix broken links in profile comparison due to cross version issues
***NO_CI***
2022-05-27 16:52:13 +00:00
Grahame Grieve 12a1dbfc05 #820 Add warnings when potential matches are found when performing reference resolution in bundles 2022-05-27 13:43:19 +10:00
dotasek caf4632464
Update CommonPackages.java
Update hl7.fhir.pubpack to release 0.1.0
2022-05-26 16:08:54 -04:00
Grahame Grieve 47e205883c Performance work in the validator 2022-05-23 12:23:23 +10:00
Grahame Grieve 919d6e6d8b extend FHIRPath to support lowBoundary(), highBoundary() and precision() 2022-05-14 00:19:08 +10:00
markiantorno 3ab828c381 Updating version to: 5.6.47-SNAPSHOT and incrementing test cases dependency. 2022-05-12 10:35:09 +00:00
markiantorno eca2fa5a5c Release: v5.6.46
## Validator Changes

* Trim unknown resource types when pre-adopting cross version extensions with type=Reference

## Other code changes

* Package Client: Get Packages by Dependency
* Snapshot Generator (R4b/R5): Fix generation of complex extension snapshot + improve rendering
* New tests for StructureMap execution
***NO_CI***
2022-05-12 10:18:11 +00:00