Commit Graph

837 Commits

Author SHA1 Message Date
dotasek 293aa12bd8 Limit help.txt to 80 char width to make output more consistent 2022-04-07 18:13:36 -04:00
dotasek cb1d20afeb Add distinct FHIR version per IG parameter + tests 2022-04-07 17:30:50 -04:00
dotasek 489218da82 WIP test loading IGs with explicit fhir version for each IG 2022-04-06 16:32:51 -04:00
Grahame Grieve 7e9b148837 Don't validate Bundle.entry.fullUrl as a reference 2022-04-07 00:20:43 +10:00
Grahame Grieve 76411218ac
Merge pull request #782 from hapifhir/gg-202204-various
various fixes
2022-04-06 09:28:09 +10:00
Grahame Grieve 8a05e4b2b2 various fixes
* Handle reslicing within the same profile
* Fix up wrong handling of context on exists() in FHIRPath
* Add hints to profiles around behavior of pattern on repeating elements
* Ignore all tooling extensions when validating
2022-04-05 15:52:33 +10:00
dotasek 880039c78b
Reorganize TestingUtilities to use expected/actual convention from JUnit (#780)
* Make testing utilities conform to JUnit expected-actual convention

* Refactor to CompareUtilities

* Add tests for CompareUtilities

* RELEASE_NOTES

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-04-04 09:44:04 -04:00
dotasek 86b714bb7b Pass -debug param to default logger + add logger to context builders 2022-03-25 13:38:24 -04:00
Grahame Grieve cf95c1a2ba Fix for Jira 25179 - change handling of imports
See https://chat.fhir.org/#narrow/stream/179202-terminology/topic/ValueSet.20defined.20by.20an.20intersection.20.3F
2022-03-18 12:45:40 +11:00
Lloyd McKenzie 335800c932 Replaced hard-coded extension reference with constant value 2022-03-13 20:56:40 -06:00
Grahame Grieve 89b912dde2 Fix cross version extension validation, and check that extensions are consistent wrt isModifier in profiles 2022-03-09 17:37:26 +11:00
dotasek 6f57013f98 Fix intermittent failures in NarrativeGenerationTests 2022-03-03 16:19:39 -05:00
Grahame Grieve c918f724ee fix problem missing profiles on references in discriminators 2022-02-26 06:22:42 +11:00
Grahame Grieve c5b3e022a4 fix bug where inactive codes always put in expansions, and add unit tests for this 2022-02-25 13:07:07 +11:00
Grahame Grieve db19b0dd00 Fix broken links + remove error about regex in core package 2022-02-16 14:04:35 +11:00
Grahame Grieve 0f1d9db24f Fix wrong URL links + txCache errors + questionnaire rendering at root 2022-02-16 13:14:55 +11:00
Grahame Grieve fcd1d1494a change location of dev server 2022-02-15 22:16:50 +11:00
Grahame Grieve 2dfa821e12 Add content to whitespace message 2022-02-14 09:13:35 +11:00
Grahame Grieve 0b4544368a #737 - fix up for regex extension location mess 2022-02-13 08:11:27 +11:00
Grahame Grieve a570ef08a6 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir 2022-02-12 08:37:02 +11:00
Grahame Grieve 0fa757b426 Fix markdown relative link issues + start working on additional bindings extension 2022-02-12 07:53:23 +11:00
Grahame Grieve 9f2d9f9dac
Merge pull request #735 from hapifhir/gg-202202-last-windows-commit
Gg 202202 last windows commit
2022-02-10 12:18:35 +11:00
Grahame Grieve dadda110d2 fix validation of bindings on choice types - only consider bindable types 2022-02-10 11:19:52 +11:00
Grahame Grieve e547bb749b fix OID validation 2022-02-10 11:17:49 +11:00
dotasek 4897922fde Merge branch 'master' into simpleworkercontextbuilder 2022-02-03 14:34:39 -05:00
dotasek 72cd4bea03 Include CliContext txCache in pretty printing, equals, and hashCode 2022-02-02 18:05:55 -05:00
dotasek a076a70db1 Merge remote-tracking branch 'origin/master' 2022-02-02 17:58:28 -05:00
dotasek 8b22bb96fa Fix CliContext typo for txCache 2022-02-02 17:58:19 -05:00
Grahame Grieve ee6dc981e2 include server message in http errors 2022-02-03 08:26:30 +11:00
dotasek 239c436ca5 Code cleanup 2022-02-02 10:07:13 -05:00
dotasek 847ede5f88 Refactor SimpleWorkerContext and ValidationEngine 2022-02-01 15:28:19 -05:00
dotasek 5092be9a1d Clean txCache + update CacheVerificationLogger output 2022-02-01 10:09:23 -05:00
Grahame Grieve 96538ba249
Merge pull request #704 from lmckenzi/Add_map_compile
Add map compile
2022-02-01 11:50:41 +11:00
Grahame Grieve bfda0d7880
Merge pull request #726 from lmckenzi/FMM_extension_mods
Add new extensions to list of those to support in R4 and prior builds
2022-02-01 11:50:05 +11:00
Grahame Grieve 54f280437f fix bug in tests 2022-02-01 10:46:14 +11:00
Grahame Grieve bac81752c8 merge and fix testing bugs 2022-02-01 10:20:56 +11:00
Lloyd McKenzie 7751ebc5a8 Add new extensions to list of those to support in R4 and prior builds 2022-01-29 19:49:23 -07:00
Grahame Grieve ccfd715a5a fix problem validating extension context on choice types 2022-01-29 09:17:29 +11:00
Grahame Grieve dd65f5a975 add check for binding on multiple types 2022-01-29 09:16:05 +11:00
dotasek 03518848fe Log unexpected TX requests for now 2022-01-25 18:42:38 -05:00
dotasek f9561f2685 Testing Part 1 2022-01-21 15:29:17 -05:00
dotasek 14eac3e2a0 Remove unused constructor 2022-01-20 16:07:08 -05:00
dotasek 7d8569e9e7 Test that no requests are made for cached tests 2022-01-20 13:28:47 -05:00
dotasek 4826424499 Make additional caches to cover NativeHostService and ValidationService 2022-01-19 18:36:39 -05:00
dotasek 0a3e9d3f31 Merge branch 'master' into tx-server-cache-analysis 2022-01-18 16:10:21 -05:00
dotasek d9d0f22ff3 cache CapabilityStatement and TerminologyCapabilities 2022-01-18 16:09:59 -05:00
dotasek 05ca3e86f0
Merge branch 'master' into dotasek-versionutilities-for-output 2022-01-17 12:28:19 -05:00
dotasek 8613f6f064 Use version utilities to resolve version for handleOutputToStream
This stems from executing a -compile option without an explicit version. "current" is selected by default, resulting in an exception.

In this case, current should resolve correctly.
2022-01-14 20:53:30 -05:00
dotasek a99d39b89e Fix surefire config so jacoco doesn't skip jacoco coverage 2022-01-14 20:49:26 -05:00
dotasek a3ff15484b Tests for help display 2022-01-14 16:49:44 -05:00
dotasek b9fe85996b Fix literal inclusion of Java contants in static text file in cli hjelp 2022-01-14 16:16:26 -05:00
dotasek bd74bf3cee Fix typos 2022-01-14 14:53:36 -05:00
dotasek 43fb17e5d2 Merge branch 'master' into Add_map_compile 2022-01-14 10:41:19 -05:00
dotasek 6e0b14b0b6 Merge branch 'master' into tx-server-cache-analysis 2022-01-13 09:46:45 -05:00
Grahame Grieve 7d3f34b0ca fix error in FHIRPath handling for incomplete FHIR Path expressions 2022-01-12 17:44:11 +11:00
Lloyd McKenzie 195872a9cc Better handle error conditions 2022-01-10 10:29:47 -07:00
Grahame Grieve 0bb4628f6b fix NPE in validator & rendering fixes: concept map display + name rendering issue for Med Resources + fix locale date issue 2022-01-10 20:29:06 +11:00
dotasek 5635d96576 Configure error cacheing at code level + create profile for cache clean 2022-01-07 12:01:46 -05:00
dotasek 1a2e995104 Store cache in resources 2022-01-06 16:20:22 -05:00
dotasek 2d4bbe3749 Clean code 2022-01-04 13:57:39 -05:00
dotasek 9fb60f4fed Code cleanup + Fix merge 2022-01-04 13:43:01 -05:00
dotasek 7ee5d0c5e4 Merge remote-tracking branch 'origin/master' into tx-server-cache-analysis 2022-01-04 13:23:32 -05:00
Lloyd McKenzie cb583208d4 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into Add_map_compile 2022-01-03 13:16:58 -07:00
Lloyd McKenzie f3727c2cf8 Add support for spitting out a StructureMap from a FHIR mapping language file 2022-01-03 13:16:28 -07:00
Grahame Grieve c627ec43d9 Add R4B code + update generator for R4B generation 2022-01-01 16:33:10 +11:00
Grahame Grieve 8bb6ebfa31 * fix bug looking for contained resources inside bundles when validating resources using conformsTo()
* fix problems validating canonical reference profile types
2021-12-23 09:56:39 +11:00
Grahame Grieve 3a2428bb2f fix bug checking enableWhen - ignoring items in answers 2021-12-22 22:39:13 +11:00
Grahame Grieve 04c7111eb6 get .ofType() working in discriminators (round #1!) + Improve Error message when snapshot can't be generated 2021-12-22 22:39:00 +11:00
Grahame Grieve ef0afae743 More support for R4B 2021-12-22 07:31:09 +11:00
Grahame Grieve 3a33cb2174 ## Validator
* Allow both -output and -output-style parameters (output-style applies to output now) + add csv output style
* Implement the ```-level``` parameter
* Add support for R4B validation
* fix bug in deep profiles (profiles that don't start at the root)

## Other code changes
* Regenerate R5 code for 5.0.0-snapshot1 & many consequential changes
* Add version support for R4B and R5 (R4B code generation still to be done)
2021-12-21 19:53:20 +11:00
Grahame Grieve 72553a29ec fix up determination criteria for IRIs on identifiers in urn:ietf:rfc:3986 2021-12-18 07:20:48 +11:00
Grahame Grieve 3d2400bb55 fix bundle link resolution (remove overloaded use of 'root resource') 2021-12-17 16:20:09 +11:00
Grahame Grieve e4d3047138 #357: fix bug looking for contained resources inside bundles 2021-12-17 14:38:21 +11:00
Grahame Grieve a13a43ffdf check StructureDefinition derivation consistency 2021-12-17 12:09:29 +11:00
dotasek 80382865de Merge branch 'master' into tx-server-cache-analysis 2021-12-15 16:49:39 -05:00
Grahame Grieve c15e60f2c6 main Build fixes: new version of FHIR (4.3.0) + transit to using release indicators in version + fix various build issues 2021-12-15 07:28:19 +11:00
dotasek cbd1394549 Merge branch 'master' into tx-server-cache-analysis 2021-12-13 15:22:21 -05:00
Grahame Grieve 65e65d3e7b fix bug in client caching for unidentified value sets + look for code system definitions in local context + fix path error in Questionnaire Response validation 2021-12-13 18:39:44 +11:00
Grahame Grieve b79d71f947 better version specific resolution of special canonical resources 2021-12-13 18:36:56 +11:00
dotasek 3b58aef820 More cacheing for tests + allow cacheing for error responses
WORK IN PROGRESS; cacheErrors is set to TRUE always at this stage.
2021-12-10 16:46:26 -05:00
dotasek 394452b747 Fix cacheing for large valuesets 2021-12-09 15:50:03 -05:00
Grahame Grieve 07443ef6f8 fix broken tests 2021-12-09 10:56:04 +11:00
Grahame Grieve 0cbc88cb54 * check that base64 content doesn't have whitespace (warning in <R5) 2021-12-09 09:30:01 +11:00
Grahame Grieve 700d86928b add missing chagnes 2021-12-09 08:22:08 +11:00
Grahame Grieve ccdb0c434f * Fix count on erroneous element defintions when generating snapshots
* add version specific access to context resources
* enforce minValue and maxValue for decimal and Quantity types
2021-12-09 08:20:56 +11:00
dotasek e5976307f4 Refactor to get consistent ValidationEngine with txCache in tests 2021-12-08 12:34:35 -05:00
dotasek 1c1e7d22ca WIP track server requests 2021-12-07 16:08:28 -05:00
Grahame Grieve d303dba48d fix problem resolving nested contained value sets in QuestionnaireResponses + fix NPE rendering questionnaire + fix bug validating profile on resource at root of Bundle 2021-12-03 06:51:23 +11:00
Grahame Grieve b4597687b8 fix bug in code system handling (NPE) + add support for json test cases in fhirpath tests + fix error validating references in bundles 2021-11-30 15:37:12 +11:00
Grahame Grieve 7f5a1d95cc extend policy advisor to control terminology validation + hack fixes for problems in R4B 2021-11-30 10:57:56 +11:00
Grahame Grieve 93d266b363 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2021-11-29 16:11:23 +11:00
Grahame Grieve 96b5bce878 fix up SHC parsing problem 2021-11-29 16:11:13 +11:00
Mark Iantorno 4d0692ff61
Validate contains (#669)
* wip

* first go at this, still some failing tests

* post-pairing with Grahame

* wip

* failing test cases

* fixed InstanceValidator to respect new validation options for both references and contained resources

* removed dead code

* put copyright back in BaseValidator

* wip
2021-11-25 15:52:29 -05:00
Grahame Grieve 41b7a0566c fix processing of modifier extensions and cross-version modifier extensions 2021-11-21 19:37:05 +11:00
Grahame Grieve de15633f4f Address issues around fragment and example code systems + fix value set related validation messages 2021-11-18 10:59:49 +11:00
Grahame Grieve 0f087234de * Check for using CodeSystem not ValueSet in a value set binding 2021-11-16 17:25:18 +11:00
Grahame Grieve 1e69909466 Add warning about resources not linked to in bundles 2021-11-10 17:04:51 +11:00
Grahame Grieve 5a33d5c15a merge conflicts + rework rendering + gather all HTTP access to SimpleHTTPClient + add TerminologyCacheManager 2021-11-09 16:24:21 +11:00
Grahame Grieve 1aae6c8c76 rework HTTP client - all client calls route through SimpleHTTPClient + define CommonPackages infrastructure 2021-11-09 11:38:25 +11:00
dotasek 20989776db
Convertor refactor iii (#635)
* Move loaders to own packages

* Move inner loader classes up one level

* Use lombok annotaions for BaseLoaderX classes

* Move ADLImporter

* Use lombok for ADLImporter inner classes

* Move inner ADLImporter classes up one level

* Move misc classes with inner classes to their own packages

* Encapsulate and add lombok to misc internal classes

* Move inner misc classes up one level

* Clean up explicit type arguments

* Revert back to master validator_test_case_version in pom.xml

* Update RELEASE_NOTES.md

Co-authored-by: David Otasek <david.otasek@Davids-MacBook-Pro.local>
2021-11-08 12:06:51 -05:00