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
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
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
dotasek
0a3e9d3f31
Merge branch 'master' into tx-server-cache-analysis
2022-01-18 16:10:21 -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
43fb17e5d2
Merge branch 'master' into Add_map_compile
2022-01-14 10:41:19 -05:00
Grahame Grieve
5b69a30919
fix npe in Utilities.pathURL()
2022-01-13 17:39:02 +11:00
Grahame Grieve
c661dae9f5
fix NPE setting locale
2022-01-13 05:14:36 +11: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
dotasek
2d4bbe3749
Clean code
2022-01-04 13:57:39 -05:00
dotasek
7ee5d0c5e4
Merge remote-tracking branch 'origin/master' into tx-server-cache-analysis
2022-01-04 13:23:32 -05:00
Grahame Grieve
614dff8367
fix up support for R5
2021-12-22 22:40:25 +11:00
Grahame Grieve
98f218fe78
Improved Error messages validating bundle entries
2021-12-22 22:39:54 +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
dotasek
a519d7a686
Fix describeSizeTest
...
1 out of 500 runs would produce a 0, meaning that _JUST_UNDER or _JUST_OVER values would be actually be _EXACT, which would fail by definition.
This adds a minimum value of 1 to nextInt()
2021-12-17 17:05:47 -05:00
Grahame Grieve
1a713d9b85
Merge pull request #690 from reasonableJP/fix_escaping_json_control_characters
...
fix for escaping json control characters in graphql
2021-12-18 05:41:15 +11:00
Grahame Grieve
a13a43ffdf
check StructureDefinition derivation consistency
2021-12-17 12:09:29 +11:00
Jan-Peter Lechler
185c8b99f7
fix for escaping json control characters in graphql
...
double escape, once for java and once for json
fixes https://github.com/hapifhir/hapi-fhir/issues/3069
2021-12-16 12:27:02 +01:00
dotasek
80382865de
Merge branch 'master' into tx-server-cache-analysis
2021-12-15 16:49:39 -05:00
Grahame Grieve
8eb78c4696
add some logging
2021-12-15 08:25:12 +11: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
81249998c2
fix up r4b canonical list
2021-12-13 18:37:16 +11:00
Grahame Grieve
b79d71f947
better version specific resolution of special canonical resources
2021-12-13 18:36:56 +11: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
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