Commit Graph

2479 Commits

Author SHA1 Message Date
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