Commit Graph

987 Commits

Author SHA1 Message Date
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
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
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 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
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
Grahame Grieve 8b7890bea2 removing caching package client - rests on invalid assumptions 2022-12-16 08:49:30 +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
Grahame Grieve f5d486f171 refactoring package-list.json handling 2022-12-12 19:54:37 +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 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
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
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
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 8e3833f58a Fix broken LOINC link 2022-11-19 03:39:35 -03:00
Grahame Grieve 28d107b4ae Validate XHTML entities in XML 2022-11-17 15:21:17 -03: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
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
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
Grahame Grieve 1c1138ec9b improve error message for extensions without values 2022-10-25 14:58:38 +11:00
Grahame Grieve 628ace4716 More control over copying files 2022-10-23 23:13:45 +11: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
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
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
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
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
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
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
Grahame Grieve 695a8610a2 fix error with code system validation messages 2022-09-23 09:33:25 -04: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
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
Grahame Grieve 8ee2480f61 example generation improvements 2022-09-09 09:03:16 +10: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
Grahame Grieve 6cf6d139c4 fix up for r5 tests 2022-09-07 08:12:20 +10: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
Grahame Grieve 5fcc1866cd better support for allowExamples 2022-08-26 21:00:50 +10: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
Grahame Grieve b43c210e1a Rendering improvements for Documents 2022-07-28 21:30:59 +10:00
Grahame Grieve 5c76af8dcd fhirpath fixes 2022-07-27 22:39:05 +10: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
Grahame Grieve 023aea34fb R4B and R5 extension changes 2022-06-28 15:39:15 +03:00
Grahame Grieve 7205cd91da New version of pubpack 2022-06-24 16:25:52 +02: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 74e348f021 fix for NPE in package 2022-06-13 21:40:04 +03: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
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
Grahame Grieve eddcaba803 get packages by dependency 2022-05-12 16:19:01 +10:00
Grahame Grieve 9c20a28710 allow suppression of npm management logging 2022-05-11 06:58:46 +10:00
Grahame Grieve 0999c8d460 fix issue with complex extension snapshot goes into 3rd level when it doesn't need to 2022-05-11 02:13:35 +10:00
Grahame Grieve d820260184 Support IGs with main not master 2022-05-06 10:00:04 +10:00
Grahame Grieve 3bc1f4bb38 release notes 2022-05-05 07:56:10 +10:00
Grahame Grieve c6d1ff1fa0 Handle invalid HTTP responses better 2022-05-05 05:41:32 +10:00
Grahame Grieve 0a58140163 enable -extension parameter for validator 2022-04-27 08:28:29 +10:00
Grahame Grieve a464c81474 release notes 2022-04-23 23:02:22 +10:00
Grahame Grieve 79bff7d1bb fix bugs in temp rework 2022-04-22 16:36:16 +10:00
Grahame Grieve fa92f85f3c Merge remote-tracking branch 'origin/master' 2022-04-22 07:36:53 +10:00
Grahame Grieve 10f2325e19 R4B quality fixes 2022-04-22 07:36:28 +10:00
Grahame Grieve 5fef79c08d Update Validator -version handling, and improve tx server error handling 2022-04-20 11:17:40 +10:00
Grahame Grieve c58516ce44 remove references to c:\temp 2022-04-20 09:59:30 +10:00
dotasek a7354f999e
Dotasek oe r4r5structuremapconversion (#775)
* Fix exception R5 to R4 of StructureMap #771

* Fix typo

* Enhance conversion from r5 to r4 + add failing test for r4 to r5

* WIP Convert R4 variable to R5 parameter and try to get correct dataType

* Clean up rough-work test

* Move static methods to FHIRPathConstant class

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-04-13 18:22:58 -04:00
Grahame Grieve 6f3fe23f49 refactor additional bindings 2022-04-12 13:11:42 +10:00
Grahame Grieve b9902833c5 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir 2022-04-12 09:12:35 +10:00
Grahame Grieve c3281340a0 Add Additional Bindings rendering 2022-04-12 09:11:18 +10: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
Grahame Grieve 90e34f89ff Add clarification to error message about value set interpretation 2022-03-31 07:16:11 +11:00
dotasek 6e45dd522e Merge remote-tracking branch 'origin/master' into dotasek-primitivetype-conversion-via-stringvalue 2022-03-18 14:09:12 -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
Grahame Grieve 3c4440d430 fix core package test 2022-03-17 21:43:25 +11:00
dotasek 3cc8affbdf Disable time zone based test until it's fixed 2022-03-15 14:24:05 -04:00
dotasek ce796e81bc Fix locale for DateTimeUtilTests 2022-03-15 13:52:51 -04:00
dotasek fb8e2cfa66 WIP Start building tests 2022-03-11 17:32:09 -05:00
Grahame Grieve a3e8fca51a
Merge pull request #759 from hapifhir/R4B-datatypes-and-xml-cleanup
R4 b datatypes and xml cleanup
2022-03-11 10:53:52 +11:00
Grahame Grieve 791f16a05d fix failing tests. 2022-03-10 11:18:03 +11: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
Grahame Grieve 2ff53e9bf1 merge
# Conflicts:
#	RELEASE_NOTES.md
2022-03-08 13:25:16 +11:00
Lloyd McKenzie 478663cdf8 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into R4B-datatypes-and-xml-cleanup 2022-03-07 19:20:19 -07:00
Grahame Grieve cc983073cd more cross version extensions 2022-03-08 13:19:19 +11:00
Grahame Grieve 9bc11f5b67
Merge pull request #754 from hapifhir/dotasek--package-client-extract-package-id
PackageClient - Get package id from 'package' field when 'npm-package' unavailable
2022-03-08 09:40:33 +11:00
dotasek bb06bae4e6 Apply uniform capitalization requirements for JSON 2022-03-07 16:02:00 -05:00
Lloyd McKenzie 074da98066 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into R4B-datatypes-and-xml-cleanup
# Conflicts:
#	org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Enumerations.java
2022-03-04 22:01:48 -07:00
Lloyd McKenzie a5302b8934 Fix XML escaping to not escape single-quotes - because our XML serializer always wraps attributes in double-quotes, making escaping unnecessary. 2022-03-04 21:55:31 -07:00
Grahame Grieve 4f652bceee more presenting extensions when rendering. 2022-03-03 07:43:09 +11:00
dotasek cb7cfe9141 Refactor for testing, add tests 2022-03-02 09:43:41 -05:00
dotasek 27732602e3 Extract package-id when default id unavailable 2022-03-01 17:03:17 -05: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 4923382138 fix whitespace in messages 2022-02-19 21:45:28 +11:00
Grahame Grieve 99b8122728 Fix rendering problem. to XML resources 2022-02-19 21:43:14 +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 d91f6a450b Fix Patient Renderer 2022-02-14 16:23:22 +11:00
Grahame Grieve 2dfa821e12 Add content to whitespace message 2022-02-14 09:13:35 +11:00
Grahame Grieve ea3ae8d82c fix bug in ini file 2022-02-12 09:53:33 +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 76ed4abba7 Changes for debugging on OSX (fhir-tools-settings.conf) 2022-02-12 07:55:59 +11:00
Grahame Grieve b49e791cd1 Updates for changes to package.json type 2022-02-11 09:36:47 +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 60cd37eca6 fix semver version for -tag tags 2022-02-10 11:18:51 +11:00
Grahame Grieve e547bb749b fix OID validation 2022-02-10 11:17:49 +11:00
dotasek 0e3e410ea1 Merge branch 'master' into simpleworkercontextbuilder 2022-02-04 09:50:42 -05:00
dotasek e0bdbda5b7 Fix package location for CacheVerificationLogger 2022-02-03 16:35:26 -05:00
Grahame Grieve 1979ec61d7 more http logging 2022-02-04 07:26:47 +11:00
dotasek 4897922fde Merge branch 'master' into simpleworkercontextbuilder 2022-02-03 14:34:39 -05:00
Grahame Grieve ee6dc981e2 include server message in http errors 2022-02-03 08:26:30 +11:00
dotasek 847ede5f88 Refactor SimpleWorkerContext and ValidationEngine 2022-02-01 15:28:19 -05:00
Grahame Grieve a29461057e fix up http issues? 2022-02-01 12:09:55 +11: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 5b66d3fe42
Merge pull request #718 from hapifhir/test-simplehttpclient-https
Add test for SimpleHttpClient and https
2022-02-01 11:50:20 +11:00
Grahame Grieve bac81752c8 merge and fix testing bugs 2022-02-01 10:20:56 +11:00
Grahame Grieve 4c48d597a6
Merge pull request #721 from dotasek/tx-server-cache-analysis
TX Server Caching for Tests
2022-02-01 08:09:41 +11:00
Grahame Grieve 1aa1e288ec merge 2022-01-30 07:57:39 +11:00
Grahame Grieve 3559bd6638 fix tests problems with date formats and java versions 2022-01-29 09:16:48 +11:00
Grahame Grieve dd65f5a975 add check for binding on multiple types 2022-01-29 09:16:05 +11:00
Gregor Lichtner abcaea9d53 fixed detection of FHIR R5 from version string 2022-01-24 12:53:26 +01:00
dotasek fb177d8a76 Add test for SimpleHttpClient and https 2022-01-20 13:44:03 -05:00
dotasek 4826424499 Make additional caches to cover NativeHostService and ValidationService 2022-01-19 18:36:39 -05:00