Commit Graph

1066 Commits

Author SHA1 Message Date
Grahame Grieve a0c776e61d
Merge pull request #1327 from hapifhir/do-20230627-fix-help-placeholders
Fix CLI '-help' text placeholders
2023-06-28 15:51:29 +10:00
Grahame Grieve 9b94e6a1ec Fix test for correct type name in logical models (CDA) 2023-06-28 15:10:20 +10:00
Grahame Grieve 284ad1c2be fix bug loading package 2023-06-28 11:06:09 +10:00
dotasek a114d751db Refactor version utility code 2023-06-27 11:29:24 -04:00
Grahame Grieve 4b07f4f7dc fix missing error validation structure maps 2023-06-27 22:18:56 +10:00
Grahame Grieve ba27fc9da7 fix testing bugs 2023-06-24 09:36:45 +10:00
Grahame Grieve 3570bcb07f Finish changes for Npm loading changes 2023-06-24 09:05:14 +10:00
Grahame Grieve 2f253f3457 Update SPDX implementation 2023-06-24 08:55:51 +10:00
Grahame Grieve 0615f2a163 Minimal Memory model for NpmPackage 2023-06-22 15:05:59 +10:00
Grahame Grieve 189d9811c0 Allow custom folder for NPM Cache, for Android 2023-06-21 17:13:17 +10:00
Grahame Grieve fea8d5c29a fix test cases 2023-06-21 11:40:39 +10:00
Grahame Grieve ea8e26df62 update release notes 2023-06-21 10:53:54 +10:00
Grahame Grieve 098b8d5520 fix extension context checking 2023-06-21 09:22:47 +10:00
Grahame Grieve ec7b79bc1e Fix rendering for unresolvable value sets 2023-06-20 07:02:26 +10:00
Grahame Grieve ac68a99429 More validate invariants 2023-06-19 22:43:24 +10:00
Grahame Grieve 19d3952b11 Validate FHIRPath constraints in IGs and profiles 2023-06-19 22:42:02 +10:00
Grahame Grieve 8e0e360350
Merge pull request #1306 from hapifhir/do-20230612-ssl-too-trusting
Get rid of too trusting SSLCertTruster
2023-06-19 02:31:17 +10:00
Grahame Grieve 712582d941 fix test cases 2023-06-18 19:48:33 +10:00
Grahame Grieve ff92de7c1d Fix failing tests 2023-06-18 18:18:19 +10:00
Grahame Grieve dfb4404ce6 Add support for mustHaveValue and valueAlternatives + render imposesProfile + compliesWithProfile 2023-06-18 13:00:58 +10:00
Grahame Grieve 64f84274af Validation Derived Questionnaires 2023-06-17 09:41:06 +10:00
dotasek 7fa80ac80b Get rid of too trusting SSLCertTruster 2023-06-12 15:53:41 -04:00
Grahame Grieve 8c412d78ef fix bugs in language handling 2023-06-07 21:31:25 +02:00
Grahame Grieve bfdb28b96e add JsonObject.clear() 2023-06-07 13:57:56 +02:00
Grahame Grieve 33d60c2496 clean up display error messages 2023-06-05 21:17:12 +02:00
Grahame Grieve 0bcb9d6196 make NPM packages slightly smaller 2023-06-05 21:17:02 +02:00
Grahame Grieve 01b4219259 update language file handling to handle context properly 2023-06-05 21:16:51 +02:00
Grahame Grieve d4d5b42aa1 add Resource Dependency walker + Resource Minifier functionality 2023-05-31 06:32:55 +03:00
Grahame Grieve ea84271d84 release new test cases 2023-05-29 08:58:52 +03:00
Grahame Grieve 783a8cf28b Support for Obligation Profiles 2023-05-29 01:12:46 +03:00
Grahame Grieve 70a450bf01 more json and xml utils 2023-05-25 16:42:26 +10:00
Grahame Grieve 0ec2dfab78 Add support for SubscriptionTopic in R4 IGs 2023-05-24 16:57:09 +10:00
Grahame Grieve 0bcb2ab268 Strip all paras 2023-05-23 17:41:16 +10:00
Grahame Grieve 035841f13e #692 - error when meaning-when-missing found in profiles 2023-05-22 21:07:17 +10:00
Grahame Grieve 7da282b5d7 update test cases for various issues encountered and fixed 2023-05-22 17:17:17 +10:00
Grahame Grieve f97da1c722
Merge pull request #1261 from hapifhir/gg-202304-display-warning
Gg 202304 display warning
2023-05-17 13:08:13 +10:00
dotasek 9f205044d3 Switch to System.err for now + report missing constants 2023-05-16 10:37:43 -04:00
dotasek 819685b63c Add I18n tests for coverage and plural validity + fix missing messages 2023-05-15 15:41:26 -04:00
patrick-werner d624385da6 Merge remote-tracking branch 'origin/master' into pw/translations-de 2023-05-15 14:40:28 +02:00
patrick-werner 4ef84228cf added missing german translations 2023-05-15 14:39:53 +02:00
Grahame Grieve 6d2e3ee388 Fixes for display warnings 2023-05-13 21:47:25 -07:00
Grahame Grieve 37bf22f8e9 Add path to error message 2023-05-13 21:46:58 -07:00
dotasek 0382242b1b
Fix r5 url for package fetch (#1260)
* Fix r5 url for package fetch

* Revert previous commit

* Make r6 the only packages fetched from build.fhir.org
2023-05-12 16:52:18 -04:00
Grahame Grieve 5242d7c9fa
Allow NPM package versions to have the form {id}#{url} for direct acc… (#1258)
* Allow NPM package versions to have the form {id}#{url} for direct access to packages

* fix case issue

---------

Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
2023-05-10 10:22:41 -04:00
Grahame Grieve 28d8491f05
Merge pull request #1247 from pieter-edelman-nictiz/issue-133
#133: Escape just embedded HTML tags, not autolinks in Markdown
2023-05-10 05:46:22 -05:00
Grahame Grieve de0af46394 fix npe and improve error message about uri values 2023-05-09 18:51:03 -05:00
Grahame Grieve ae13abfc2a performance related changes 2023-05-07 11:04:04 -05:00
Grahame Grieve c5f5689714 fixes for R5 redirector 2023-05-07 07:14:44 -05:00
Grahame Grieve d35b881cf1 Fix FHIRPath split function 2023-05-06 09:55:36 -05:00
Grahame Grieve f734f98c05 update for failing tests 2023-05-05 22:21:05 -05:00
Grahame Grieve b402fd1c45 Fix bug handling filter, and refactor terminology code 2023-05-05 13:55:23 -05:00
Grahame Grieve 806c065fcb fix version return + profile support in testing 2023-05-04 10:01:35 +10:00
Pieter Edelman 33694d9e2b 133: Improve regex and tests to escape just embedded HTML tags, not autolinks in Markdown 2023-05-03 16:48:47 +02:00
Pieter Edelman 07c95455a4 #133: Escape just embedded HTML tags, not autolinks in Markdown 2023-05-02 20:40:49 +02:00
Grahame Grieve 43ef45813b Improvements to StructureMap validation use with profiles (+ fix various bugs) 2023-05-01 18:10:05 +10:00
Grahame Grieve 7f8817295b Fix NPE 2023-05-01 18:09:26 +10:00
Grahame Grieve 7b5aceb722 Language improvements for Lang Packs 2023-05-01 18:09:15 +10:00
Grahame Grieve 28b21d566a Fix up error messages 2023-04-28 18:56:00 +10:00
Grahame Grieve d60db32e37 more quote fixing 2023-04-28 17:50:13 +10:00
Grahame Grieve f9121a51c9
Merge branch 'master' into gg-202304-extension-validation 2023-04-28 17:47:11 +10:00
Alexander Henket d021a9dc7f
Merge branch 'hapifhir:master' into master 2023-04-28 09:39:54 +02:00
Alexander Henket b4870b0a6b Updated Dutch according to Messages.properties 2023-04-28 09:38:53 +02:00
Alexander Henket 9a165b75d4 Fixed some more typos 2023-04-28 09:31:09 +02:00
Grahame Grieve 069dc03c90 Validate Extension Context + fix questionnaire value set validation 2023-04-28 17:28:28 +10:00
Alexander Henket 07a08f5de2
Fixed two typos 2023-04-28 08:51:30 +02:00
Grahame Grieve 53eae9b51f fix error messages 2023-04-28 10:14:17 +10:00
Grahame Grieve 6e2b113f94 improved error message 2023-04-28 07:36:39 +10:00
Grahame Grieve 789eae760e
Merge pull request #1236 from ahenket/patch-1
Fixed missing = in key "QUESTIONNAIRE_QR_ITEM_BADOPTION_CS"
2023-04-28 06:33:00 +10:00
Alexander Henket de75e4db52
Fixed missing = in key "QUESTIONNAIRE_QR_ITEM_BADOPTION_CS" 2023-04-27 17:50:43 +02:00
Grahame Grieve 07a2e63941 more http logging to subdirectory of temp 2023-04-27 20:09:23 +10:00
Grahame Grieve 3ed7813973 language translations support in validator 2023-04-25 21:51:31 +10:00
Grahame Grieve b6b4fbcd0c more tx test fixes 2023-04-24 23:08:29 +10:00
Grahame Grieve 907126703f fix default server settings 2023-04-22 18:55:56 +08:00
Grahame Grieve 1498823d5f fix error processing nucc locally 2023-04-21 18:53:03 +08:00
Grahame Grieve fe86ab1d7c reorg server settings 2023-04-21 18:52:36 +08:00
Grahame Grieve 580079f26d allow to prohibit network access from within code 2023-04-21 12:25:54 +08:00
dotasek 9b4b1ae2cc
Add -fhir-settings param to Validator CLI (#1203)
* Start work

* Tests for new Param

* More tests, add param, refactor

* Rename + JsonProperty annotations

* Logging for API keys

* WIP rename search parameter + add settings object for serialization

* Switch to JSON based settings file.

* Rename FHIRSettings and remove ToolGlobalSettings

* Update default path for settings file + expand test

* Only allow single instantiation with explicitFilePath

* Move and expand tests

* Fix failing test

* Add test for FhirSettings param precedence

* Refactor to only call getInstance() internally in FhirSettings
2023-04-19 17:18:29 -04:00
Grahame Grieve 5ec1bd9f67 fix npe 2023-04-18 09:51:23 +08:00
Grahame Grieve cc8c7be307 fix which servers tests are based on 2023-04-18 09:41:15 +08:00
Grahame Grieve 02bd1d8ce7 more fixing for language handling issues 2023-04-18 09:40:49 +08:00
Grahame Grieve 81d26c5160 work on no-network-access mode 2023-04-18 09:39:59 +08:00
Grahame Grieve f1d5676425 run txTests from validator 2023-04-16 21:56:41 +10:00
Grahame Grieve 48e86fa905 fix failing tests 2023-04-14 22:39:48 +10:00
Grahame Grieve 6ac00b8c68 rework terminology interface 2023-04-14 17:59:06 +10:00
Grahame Grieve 03eb6e7bf0 more work doing terminology server testing 2023-04-08 15:06:51 +10:00
Grahame Grieve 548284fcda rework language handling again 2023-04-02 23:08:17 +10:00
Grahame Grieve 0bbff8d14d rework package cache manager - add testing mode 2023-04-02 23:06:29 +10:00
Grahame Grieve 981d233827 fix index error validating HierarchicalTable 2023-04-01 07:34:14 +11:00
Grahame Grieve 7ef17d41d6 warning not error when the code system isn't known validating questionnaire answer options 2023-04-01 07:33:56 +11:00
Grahame Grieve e59c83855d Defining the existence of R6 2023-04-01 07:32:02 +11:00
Grahame Grieve e18cfcf0f8 Add reading translations 2023-03-30 23:30:53 +11:00
Grahame Grieve 1b6137967f i18n framework for HTML generation in renderers - step #1 2023-03-30 10:16:51 +11:00
Grahame Grieve 12de53f336 Work on language translations 2023-03-30 06:32:10 +11:00
Grahame Grieve bbdb3dea89 undo dependency on test case packages (memory reasons) 2023-03-29 17:10:38 +11:00
Grahame Grieve d7817c785a XML utils - add tag 2023-03-29 15:06:59 +11:00
Grahame Grieve 520d13ab51 fix R5 path for spec 2023-03-29 15:06:35 +11:00
Grahame Grieve 0233e48a1c suppress prism if ttl source is too big 2023-03-29 15:06:24 +11:00
Grahame Grieve 9460f1f64b
Merge pull request #1183 from hapifhir/do-20230315-pathbuilder
Give finer grained control over path building with dedicated PathBuilder class
2023-03-28 05:47:26 +11:00
dotasek 3044a188d9 Add PathBuilder documentation clean up code. 2023-03-27 10:41:44 -04:00
Grahame Grieve 7bf243f593
Merge pull request #1188 from hapifhir/gg-202303-ftp-windows
Fix FTP problem on windows
2023-03-24 22:20:05 +11:00
Grahame Grieve ac64a6bbd7 Fix FTP problem on windows 2023-03-24 21:13:54 +11:00
Grahame Grieve 37206a1f30
Merge pull request #1187 from hapifhir/gg-202303-r5-final-gen
Gg 202303 r5 final gen
2023-03-24 11:50:23 +11:00
Grahame Grieve b8777319da update tests to use R5 package from test case repo everywhere 2023-03-24 10:18:42 +11:00
Grahame Grieve d16e6d3249
Merge pull request #1184 from hapifhir/gg-202303-r5-final-gen
Gg 202303 r5 final gen
2023-03-23 21:42:19 +11:00
Grahame Grieve b5c48d1934 rebuild .index.json if it's empty 2023-03-23 20:49:55 +11:00
Grahame Grieve f122dc164f update code for R5 final 2023-03-23 20:48:38 +11:00
dotasek 36dce28691 Make getter for remote separator 2023-03-22 17:31:40 -04:00
dotasek 8ce7cd8323 Merge remote-tracking branch 'origin/master' into do-20230315-pathbuilder 2023-03-22 12:09:56 -04:00
Grahame Grieve 6173d77a24
Merge pull request #1181 from hapifhir/gg-202303-vs-example-urls
Gg 202303 vs example urls
2023-03-22 23:56:01 +11:00
Grahame Grieve 74a69de992 validate example URLs in value sets correctly 2023-03-22 23:06:33 +11:00
Grahame Grieve 05a367b088 validate example URLs in value sets correctly 2023-03-22 23:06:06 +11:00
dotasek 1442f1609c
Stop re-initializing file type and mode with each upload (#1178)
* Stop re-initializing file type and mode with each upload

* Methods for setting up buffer size
2023-03-21 15:36:19 -04:00
Grahame Grieve f796ffc57f fix issues with help16.png 2023-03-21 18:21:42 +11:00
Grahame Grieve c053ed9c6e suppress data attributes in XHTML 2023-03-21 17:27:14 +11:00
Grahame Grieve 5444c3a33a Inline help6.png in resources 2023-03-21 17:26:51 +11:00
Grahame Grieve 7ea1e5197d Fix OS issue with zipslip protection 2023-03-21 06:14:01 +11:00
dotasek 7a85bc00c9 Merge branch 'master' into do-20230315-pathbuilder 2023-03-20 11:38:53 -04:00
Grahame Grieve e1fed0a8eb Merge remote-tracking branch 'origin/master' 2023-03-19 08:52:55 +11:00
Grahame Grieve 95f3fdd187 Add file: to URL scheme list 2023-03-19 08:52:49 +11:00
dotasek cbf864b1b9
Refactor FTPClient to perform fewer directory creates (#1159)
* Refactor FTPClient to perform fewer directory creates

* Restore old main

* More lenient test for delete timing (delete is fast)

* More timing leniency

* Add more checks for command completion, switch time track to nanos

* Logging logging logging
2023-03-16 14:53:59 -04:00
Grahame Grieve cf9bd54a74 fix bug in XhtmlNode 2023-03-16 15:42:04 +11:00
Grahame Grieve 413cbb115a fix issues with R3R4MapTester 2023-03-16 14:08:00 +11:00
Grahame Grieve 27598a382d Fix issues with xhtml handling 2023-03-16 14:07:11 +11:00
Grahame Grieve 19cb639d37 refactor how types are handled loading packages 2023-03-16 13:26:34 +11:00
dotasek 0ae4aa9a0f Start pathbuilder work 2023-03-15 16:20:51 -04:00
Grahame Grieve 6be0becc61 fix for NPE 2023-03-14 21:28:37 +11:00
Grahame Grieve a45de03431 add tail() to Utilities 2023-03-13 13:53:41 +11:00
Grahame Grieve 96f265653e fix run time test 2023-03-12 23:02:46 +11:00
Grahame Grieve 957e9fe7cc Load all types not no types from Npm Package when no types are specified 2023-03-11 18:54:23 +11:00
Grahame Grieve 10d560c859 Add support for locally processed special case code systems (and an example - rgb) 2023-03-10 21:28:08 +11:00
Grahame Grieve 1212b85b5e Change from Error to FHIRException when wrong value type is wrong on polymorphic element 2023-03-10 16:12:59 +11:00
dotasek cedadbcbe7
Convenience method for unchecked read only use of Utilities.path (#1164)
* Convenience method for unchecked read only use of Utilities.path

* Restore remove first null behaviour

* Method rename and update JavaDoc
2023-03-09 22:08:41 -05:00
dotasek 909f7e64fe
Additional zip-slip tests (#1162)
* Additional zip-slip tests

* Fix windows path test
2023-03-09 14:30:53 -05:00
Grahame Grieve 95813d9004 Fix FML Comments parsing, and add StructureMap rendering to pretty FML 2023-03-09 19:44:57 +11:00
Grahame Grieve 187d3e98c7 More fixes for structure map validation 2023-03-09 09:11:31 +11:00
Grahame Grieve 53e67bc1cb handle re-use of mapping groups when validating maps 2023-03-08 09:11:24 +11:00
Grahame Grieve 26eb1311a4 release notes 2023-03-07 23:33:35 +11:00
Grahame Grieve 6bf26255ab fix structure map validation issues around type 2023-03-07 20:58:51 +11:00
Grahame Grieve 58a933094f fix json escaping 2023-03-07 06:30:01 +11:00
Grahame Grieve 0c26f09721 revise whitespace handling for unicode conformance in validator 2023-03-07 06:25:45 +11:00
Grahame Grieve 5eca02f879 bug fixes 2023-03-06 23:33:38 +11: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 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
Grahame Grieve 99d2421014 fix using wrong version of extensions package 2023-03-02 08:49:22 +11:00