Commit Graph

1289 Commits

Author SHA1 Message Date
dotasek e0bdbda5b7 Fix package location for CacheVerificationLogger 2022-02-03 16:35:26 -05: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 cae92c8621
Merge pull request #727 from hapifhir/ja_20220130_graphql_cleanup
Updates to GraphQL
2022-02-01 11:49:10 +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
jamesagnew 180035d306 One more tweak 2022-01-30 18:37:22 -05:00
jamesagnew 846866472b Updates to GraphQL 2022-01-30 17:04:10 -05: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
Jens Kristian Villadsen 7b24e9d4ee
Update FHIRPathEngine.java
As mentioned on https://github.com/hapifhir/org.hl7.fhir.core/issues/703
2022-01-28 20:44:39 +01:00
Grahame Grieve bd9d486846 Significant speed improvement for terminology cache 2022-01-29 06:06:20 +11:00
Grahame Grieve 42f75dfee0 #703 - fix missing .guessSystem() in opMemberOf 2022-01-29 06:05:51 +11:00
dotasek fdc6e02b49 Don't log requests when rebuilding cache 2022-01-26 09:31:58 -05:00
dotasek 39e30a10c4 Clean up comments 2022-01-26 09:28:19 -05:00
dotasek a41287a74d Additional logging for requests in test 2022-01-25 18:02:16 -05:00
dotasek 9ec63bc1b9 Test capability caching.
Just when I think I'm done...
2022-01-25 16:36:13 -05:00
dotasek 7c58619528 Testing Part 7 2022-01-25 14:43:13 -05:00
dotasek 38728f2c82 Testing part 6 2022-01-25 10:48:42 -05:00
dotasek b5e9a7aa1e Testing Part 5 2022-01-24 18:16:10 -05:00
dotasek 1715574a7e Testing Part 4 2022-01-24 17:00:17 -05:00
dotasek 33cdfffa55 More consistent version management in TerminologyCache 2022-01-23 13:21:40 -05:00
dotasek 97c11a9be0 Testing Part 3 2022-01-23 12:06:44 -05:00
dotasek 09ddd964ff Merge remote-tracking branch 'origin/master' into tx-server-cache-analysis 2022-01-21 17:39:51 -05:00
dotasek 6416ccce36 Testing Part 2 2022-01-21 17:39:43 -05:00
dotasek f9561f2685 Testing Part 1 2022-01-21 15:29:17 -05:00
jamesagnew 315604759c Another attempt to avoid parser classload 2022-01-21 14:59:50 -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
jamesagnew 0ed91721b0 One more revert 2022-01-18 06:16:18 -05:00
jamesagnew bc3759dc03 Roll back change 2022-01-18 06:16:18 -05:00
jamesagnew d3007ea73f Cleanup 2022-01-18 06:16:18 -05:00
jamesagnew f902d1d273 Avoid reflection 2022-01-18 06:16:18 -05:00
jamesagnew 942d4f15aa Avoid unnecessary JsonParser/XmlParser class load 2022-01-18 06:16:18 -05:00
Grahame Grieve 06e690e54f fix bug in package generator where files go in the wrong place 2022-01-18 07:30:12 +11:00
Grahame Grieve c13c291949 more work on value set renderer (designations, expand-groups) 2022-01-17 10:51:48 +11:00
dotasek bd74bf3cee Fix typos 2022-01-14 14:53:36 -05:00
dotasek 6e0b14b0b6 Merge branch 'master' into tx-server-cache-analysis 2022-01-13 09:46:45 -05:00
Grahame Grieve 554a458b57 fix up logging problem 2022-01-13 17:38:39 +11:00
Grahame Grieve 758c2ebe7b fix caching problem for value sets doing validation 2022-01-13 17:36:15 +11:00
Grahame Grieve 4566035d85 fix issue generrating profile comparison 2022-01-13 17:26:30 +11:00
Grahame Grieve a764269611 update comparison of element cardinality based on discussion at Jan 2022 connectathon 2022-01-13 05:15:33 +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
Grahame Grieve ecad7cc5f8 Fix issue with comparer not rendering properly and add explicit checks around cardinality 2022-01-12 17:43:39 +11:00
Grahame Grieve 73737b5b4c
Merge pull request #706 from lmckenzi/IntroChanges
Changes relevant to improving the rendering of artifact intros.  Spec…
2022-01-12 03:44:03 +11:00
Lloyd McKenzie 3a98e0b5fa Add code system if no unit and not UCUM. 2022-01-11 08:24:33 -07:00
Lloyd McKenzie d5ed9eefbd Fixed spacing with non-breaking spaces issue 2022-01-10 12:41:54 -07:00
Grahame Grieve 6b5f43df9b fix rendering problem 2022-01-11 05:48:15 +11:00
Grahame Grieve cec1a365ec add missing file 2022-01-10 20:50:19 +11: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 6e6184a425 Lombok for noCacheing and CacheErrors 2022-01-06 19:35:19 -05:00
dotasek 06cbe7245c Better name for cacheErrors 2022-01-06 19:01:45 -05:00
dotasek a12324c3a6 Remove unnecessary synchronized block + System.out 2022-01-06 16:56:19 -05:00
dotasek 1a2e995104 Store cache in resources 2022-01-06 16:20:22 -05:00
Lloyd McKenzie 86c3609288 Changes relevant to improving the rendering of artifact intros. Specifically:
- ensure that when validating codes against value sets, the valid coding is actually returned
- strip out the new extensions we add for FMM
- improve the rendering of Quantity and Range.  (The former was horrid and the latter wasn't as nice as it could be.)
2022-01-04 21:46:57 -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 c627ec43d9 Add R4B code + update generator for R4B generation 2022-01-01 16:33:10 +11:00
Grahame Grieve 0c108545b4 fix compile issues 2021-12-28 07:45:04 +11:00
Grahame Grieve 9c669437f6 restore search parameter 2021-12-28 06:42:32 +11:00
Grahame Grieve 98f218fe78 Improved Error messages validating bundle entries 2021-12-22 22:39:54 +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 c86b8114dd Fix rendering of QuestionnaireResponses - render items in answers properly 2021-12-22 22:37:07 +11:00
Grahame Grieve bb78aeea8e Fix rendering of QuestionnaireResponses - render items in answers properly 2021-12-22 22:36:51 +11:00
Grahame Grieve 4ce07531ef Fix wrong reference rendering questionnaire 2021-12-22 22:36:11 +11:00
Grahame Grieve b527039d78 Improve rendering of uris that point to known resources 2021-12-22 22:35:35 +11:00
Grahame Grieve 939b377fe2 * ignore canonical resources found in the examples package 2021-12-22 22:33:50 +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
dotasek 2540755c40 Fix unsupportedCodeSystems updating 2021-12-17 14:54:44 -05:00
Grahame Grieve 47dd580868 Add searchparameter analyser 2021-12-17 12:21:38 +11:00
Grahame Grieve 3118cdc132 Add support for new FHIR Versions 2021-12-17 12:08:40 +11:00
dotasek aa70fc1338 Use "null" instead of null for getNamedCache 2021-12-16 13:36:03 -05:00
dotasek 80382865de Merge branch 'master' into tx-server-cache-analysis 2021-12-15 16:49:39 -05:00
Grahame Grieve a6ba3e8a21 handle vs.url properly so that we can rely on just url + version for internal caching (no hashing needed) 2021-12-15 09:34:54 +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
dotasek 11503115df Set error cacheing via system property 2021-12-13 12:57:37 -05:00
Grahame Grieve ac5e2b14a2 missing file 2021-12-13 19:22:18 +11: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
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 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 ab2212d9fc Add delayed load resources to all resources, and don't load resources from core examples package over other resources 2021-12-07 18:03:22 +11:00
Grahame Grieve 1225bfbaee remove relative URL prefixing 2021-12-07 18:00:31 +11:00
markiantorno 6e95c3abe5 Removing unused HTTP dep 2021-12-06 14:01:51 -05:00
markiantorno 444c8951c6 removing jetbrains annotations 2021-12-06 12:54:40 -05:00
Grahame Grieve 00f3dfc4b9 set up release 2021-12-03 15:25:54 +11: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 4babbd9724 clean up test logging 2021-12-01 08:06:31 +11:00
Grahame Grieve 5b99283a52 more work on date time test cases 2021-11-30 18:05:18 +11:00
Grahame Grieve c94cf32a8e try test again 2021-11-30 17:52:13 +11:00
Grahame Grieve 521343d777 fix date/time rendering test 2021-11-30 17:35:07 +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
Grahame Grieve 6a735d4319 improvements to code system rendering + fix date/time rendering tests 2021-11-29 16:10:58 +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
dotasek e997f7bb08 Add request logging for dstu3 FhirRequestBuilder 2021-11-23 14:09:42 -05:00
Grahame Grieve 0352ac1f66 disable all date rendering tests 2021-11-22 22:03:40 +11:00
Grahame Grieve 4200493fa6 fix tests 2021-11-22 21:50:28 +11:00
Grahame Grieve 7cc9c59bf9 fix bug in renderer rendering R3 resources 2021-11-22 21:30:34 +11:00
Grahame Grieve 7dd7926fc6 locale consistency test 2021-11-22 10:10:06 +11:00
Grahame Grieve 894d645de1 take out date format tests. 2021-11-22 09:35:43 +11:00
Grahame Grieve 87c2811645 try Again! 2021-11-22 09:12:33 +11:00
Grahame Grieve e012b9e9cb try again 2021-11-22 08:53:15 +11:00
Grahame Grieve b356de2415 more localization fixes 2021-11-22 08:41:29 +11:00
Grahame Grieve b7fab78b22 ping build 2021-11-22 08:07:00 +11:00
Grahame Grieve 0dfdb20f2b ping build 2021-11-22 07:56:44 +11:00
Grahame Grieve bf5c621f43 update rendering to get timezones right, and add tests for that 2021-11-22 07:41:52 +11:00
Grahame Grieve 412e4931fb fix bug in testing code 2021-11-21 21:47:36 +11:00
Grahame Grieve 41b7a0566c fix processing of modifier extensions and cross-version modifier extensions 2021-11-21 19:37:05 +11:00
Grahame Grieve 73fa4fb242 fix bug doing non-namespaced XML comparison 2021-11-20 06:33:07 +11:00
Grahame Grieve 21128fb670 add locale to rendering context 2021-11-20 06:32:27 +11:00
Grahame Grieve 9b3adb9883 improvements to data types rendering based on new test cases (URLs, Money, Markdown) 2021-11-20 06:31:31 +11:00
Grahame Grieve dbf8179b6d
Merge pull request #663 from hapifhir/gg-202111-cs-work
Gg 202111 cs work
2021-11-18 11:43:37 +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 bbac44fc52 reduce spurious logging 2021-11-18 08:09:43 +11:00
Grahame Grieve dd5f204797 fix fragile handling of URLs in XVerExtensionManager 2021-11-16 17:24:35 +11:00
Grahame Grieve 4339299b27 Extensions for contained resources in IGs 2021-11-16 17:24:05 +11:00
Grahame Grieve ddba4b77c1 Date tracking in new Terminology Cache 2021-11-16 17:23:39 +11:00
Grahame Grieve 105e073e35 Fix NPEs rendering code system properties 2021-11-16 17:23:07 +11:00
Grahame Grieve 4cd0a3e56c Render Expressions + Fix NPE rendering date with no value (only extension) 2021-11-16 17:22:30 +11:00
Vassil Peytchev c3c6653f87 Further CapabilityStatement improvements 2021-11-15 15:48:45 -06:00
Vassil Peytchev 9c31554101 Add support for CapabilityStatement.resource.supportedProfile in the renderer 2021-11-15 13:23:18 -06:00
Grahame Grieve 042e936287 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2021-11-11 14:36:22 +11:00
Grahame Grieve 0f4b966988 fix concept map rendering 2021-11-11 14:36:00 +11:00
Grahame Grieve 78eeba7045 fix bugs in TerminologyCacheManager 2021-11-10 17:05:32 +11:00
Grahame Grieve f508f7279a fix NPE in QuestionnaireRenderer 2021-11-10 17:04:28 +11:00
markiantorno 4c939c4f75 I am a dummy 2021-11-09 16:09:21 -05:00
Grahame Grieve 76504db802 ping build 2021-11-09 17:47:45 +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
markiantorno 7bcd2b6434 Adding changes for logging request and resp 2021-11-08 16:10:04 -05:00
Grahame Grieve d91b26e69b Add getServerVersion to tooling client 2021-11-09 06:13:18 +11:00
Grahame Grieve 227664a9b3 fix versions for 5.0 extensions 2021-11-05 17:25:14 +11:00
Grahame Grieve 43c25ae4f8 fix rule around request/response when logging 2021-11-05 17:14:08 +11:00
Grahame Grieve 80e1606bf9 fix broken links 2021-11-05 17:09:59 +11:00
Grahame Grieve 27852389d6 fix missing logging of requests 2021-11-04 12:41:27 +11:00
dotasek 83b1702cc5
SHCParser file cleanup (#640)
* Use File.createTempFile to manage SHCParser payload writing

* Undo auto-reorg imports

* Remove JsonTrackingParser.write
2021-11-03 10:40:06 -04:00
Grahame Grieve 4cde3369ff
Merge pull request #637 from hapifhir/gg-202110-CVE-2021-42574
Gg 202110 CVE 2021 42574
2021-11-03 12:08:42 +11:00
Grahame Grieve 5494b14b4b fix tests 2021-11-03 11:33:50 +11:00
Grahame Grieve c8c96e13fd
Merge pull request #615 from lschmierer/graphql_fixes
Fix GraphQLSchemaGenerator to produce valid GraphQL schemas
2021-11-03 11:26:45 +11:00
Grahame Grieve 57edd95e81 add -no_unicode_bidi_control_chars to the validator for CVE-2021-42574 (https://trojansource.codes/) 2021-11-02 17:47:25 +11:00
Grahame Grieve 1c65a9b261
Gg 202110 validation various (#634)
* add explicit control over the User-Agent header, and make sure headers flow through properly to all calls

* #328 - wrong processing of markdown URLs

* test fixes for URL handling

* fix tests

* improved validation of UUIDs

* fix test case dependency

* Add Dicom Package builder
2021-10-29 16:26:50 -04:00
Grahame Grieve 6131eddb62 test fixes for URL handling 2021-10-29 09:19:38 +11:00
Grahame Grieve 4743f606d0 #328 - wrong processing of markdown URLs 2021-10-27 10:02:03 +11:00
Grahame Grieve 5b9736dbff add explicit control over the User-Agent header, and make sure headers flow through properly to all calls 2021-10-23 05:56:36 +11:00
Grahame Grieve e62f3a3c6c handle naming system URLs when resolving URLs 2021-10-21 07:02:48 +11:00
Grahame Grieve b60afcb608 fix profile comparison 2021-10-21 06:18:17 +11:00
Grahame Grieve 4cdead6f80 more validation for canonical URLs 2021-10-20 17:06:59 +11:00
Grahame Grieve e21a9830b8 fix terminology version management and caching + better error messages for extension context 2021-10-19 12:47:37 +11:00
Grahame Grieve f120a617c2 fix json issue, and add tests for it 2021-10-13 08:10:27 +11:00
Grahame Grieve f2f7db761d merge fix 2021-10-08 08:20:40 +11:00
Grahame Grieve db2004abb7 fix bug with sheetnames generating spreadsheets 2021-10-08 08:05:20 +11:00
Grahame Grieve a75ac22c91 fix renderers - don't make nonvalid URLs into html links + fix NPE + 2021-10-08 08:04:21 +11:00
Grahame Grieve d427295ee6 make likely source URL visible outside ProfileUtilities 2021-10-08 08:02:34 +11:00
Grahame Grieve 579d98cf85 enable detection of whether tx server knows about value set and better track returned errors from tx server 2021-10-08 08:01:41 +11:00
Grahame Grieve eb750c6bf0 fix bug related to logger in FHIRToolingClient 2021-10-08 07:48:53 +11:00
Lukas Schmierer 6bf58e678e change import comment to be compatible with graphql-tools 2021-10-04 16:06:07 +02:00
Lukas Schmierer 04a72c6e29 use ElementBaseInput instead of ElementBase for input types 2021-10-04 16:03:17 +02:00
Lukas Schmierer 98a99ec630 fix duplicate scalar "date" 2021-10-04 13:21:29 +02:00
Lukas Schmierer d67f7c9926 print correct type in json format comment 2021-10-04 13:11:55 +02:00
Lukas Schmierer 6981e75765 fix parameter scalars to be lowercase 2021-10-04 12:11:36 +02:00
Grahame Grieve 342d75b2df
Gg 202109 misc snapshot (#610)
* NPE fixes

* Smart Health Cards support in validator

* Fix bug generating spreadsheets due to sheet name length limitations

* Implement descendent-of filter

* more NPE fixes

* add Element.removeChild

* fix issue generation snapshot and content reference, and work around old erroneous binding description in R4

* improve SHC validation error

* fix for NPE generating ConceptMap spreadsheet

* fix crash in IG publisher rendering illegal content

* Improve slicing error messages

* more improving error message resolving slicing

* add missing code + track prohibited / required elements (improve rendering of IGs)

* fix for broken links in R4B IGs
2021-09-29 10:29:10 -04:00
Grahame Grieve cc68880a52 fix for broken links in R4B IGs 2021-09-29 17:47:03 +10:00
Grahame Grieve d17cb39e44 add missing code + track prohibited / required elements (improve rendering of IGs) 2021-09-29 16:20:52 +10:00
Grahame Grieve c79f7fe087 Improve slicing error messages 2021-09-29 16:19:06 +10:00
Grahame Grieve 108bfe715b fix crash in IG publisher rendering illegal content 2021-09-29 16:18:20 +10:00
Grahame Grieve 2df1283a54 fix for NPE generating ConceptMap spreadsheet 2021-09-29 16:17:52 +10:00
Grahame Grieve 794754a8b0 improve SHC validation error 2021-09-29 16:17:10 +10:00
Grahame Grieve a6644ae49e fix issue generation snapshot and content reference, and work around old erroneous binding description in R4 2021-09-29 16:16:30 +10:00
Mark Iantorno 72b7300700
Adding blank case for ExpressionNode.toString() in r4 and r5. (#609) 2021-09-27 14:52:55 -04:00
Mark Iantorno ad18e131d8
Issue 602 (#607)
* r5 changes

* r4 changes

* dstu3 changes

* dstu2 changes

* updating release notes
2021-09-27 14:04:59 -04:00
Grahame Grieve 23a5f47978 add Element.removeChild 2021-09-17 08:59:32 +10:00
Grahame Grieve d0917c78df more NPE fixes 2021-09-15 21:22:59 +10:00
Grahame Grieve 4d7591c85f Implement descendent-of filter 2021-09-15 21:22:00 +10:00
Grahame Grieve ce69305e4a Fix bug generating spreadsheets due to sheet name length limitations 2021-09-15 21:21:00 +10:00
Grahame Grieve 8c148469d7 Smart Health Cards support in validator 2021-09-15 21:20:29 +10:00
Grahame Grieve 899eb788f3 NPE fixes 2021-09-15 21:17:33 +10:00
Grahame Grieve 8a1e93b849 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2021-09-10 06:51:35 +10:00
Mark Iantorno e5a05f5562
Terminology client headers (#599)
* wip

* adding tests for headers in client

* fix

* r4 updated httpclient

* updating http client code for r4 and dstu3

* dunno why this didn't get added before
2021-09-09 16:32:19 -04:00
Grahame Grieve a56978bdd0 remove invalid warning 2021-09-04 05:58:20 +10:00
Grahame Grieve f8268442d1 fix duplicate sheet name problem generating spreadsheets 2021-09-03 17:31:05 +10:00
Grahame Grieve f0738ac706 fix NPE cloning integer 2021-09-03 17:27:53 +10:00
Grahame Grieve bd6225cf9e fix bugs to do with value set expansion 2021-09-03 17:27:23 +10:00
Grahame Grieve 3d57a2b511 compile fix + release notes 2021-09-02 06:41:41 +10:00
Grahame Grieve 11e60c3825 * fix NPE bug logging terminology server calls
* fix NPE bug validating logical models
* fix problem with Type Name when validating against Logical Models
2021-09-02 06:27:06 +10:00
Grahame Grieve 6c6052fa31 merge 2021-09-01 10:12:36 +10:00
Grahame Grieve 66fb0893ad Rendering for Binary Resources 2021-09-01 09:54:03 +10:00
Grahame Grieve 2250b01fdd improvements to tx client logging functionality and terminology performance tracking 2021-09-01 09:52:50 +10:00
Grahame Grieve f22855e82a change interface for evaluating constants in FHIRPath (allow collections) 2021-09-01 09:46:51 +10:00
Grahame Grieve e28a0d9d52 more spreadsheet changes 2021-09-01 07:02:37 +10:00
Grahame Grieve 5a7393c7ec rework spreadsheet generation to support more resource types 2021-09-01 07:02:00 +10:00
Grahame Grieve 4d1f75920d
validation for resource and element id (#590)
* revise validation of resource and element id

* wip

Co-authored-by: markiantorno <markiantorno@gmail.com>
2021-08-27 11:28:47 -04:00
Grahame Grieve 3d1676170a fixes for processing code validation outcomes 2021-08-27 10:41:43 +10:00
Grahame Grieve 7d2c03285c fix for NPE in FHIRPath engine 2021-08-27 10:40:43 +10:00
Grahame Grieve f926744ea7 adjust confusing language 2021-08-27 10:40:20 +10:00
Grahame Grieve 9f09724032 more FMM related extensions 2021-08-27 10:39:38 +10:00
Grahame Grieve 91fad51eec mark rendered narrative 2021-08-27 10:38:21 +10:00
Mark Iantorno 94d88dd2d1
https://github.com/hapifhir/org.hl7.fhir.core/issues/447 (#576)
* https://github.com/hapifhir/org.hl7.fhir.core/issues/447

* fix tests

Co-authored-by: Grahame Grieve <grahameg@gmail.com>
2021-08-25 08:40:13 -04:00
Tadgh 5ca6d19c69
Replace proprietary notnull with javax.annotation.Nonnull (#584)
* Replace proprietary notnull with javax.annotation.Nonnull

* wip

Co-authored-by: markiantorno <markiantorno@gmail.com>
2021-08-25 08:39:44 -04:00
Grahame Grieve 1d5fb74fc6
Merge pull request #589 from hapifhir/gg-202108-dr-npe2
fix for #575 NPE in rendering Patient
2021-08-25 08:10:16 +10:00
Grahame Grieve 4ba9193a5e fix for #575 NPE in rendering Patient 2021-08-25 06:50:58 +10:00
Grahame Grieve 5ac31d11ac
Merge pull request #586 from hapifhir/gg-202108-vr-system
Gg 202108 vr system
2021-08-25 06:20:31 +10:00
Grahame Grieve fb0d90ad1f return system+code with display when validating 2021-08-24 17:03:33 +10:00
Grahame Grieve 9e7e6698bd fix DiagnosticReport rendering (NPEs) 2021-08-24 06:56:51 +10:00
Grahame Grieve b5723bab50
Merge branch 'master' into issue-555 2021-08-24 06:00:27 +10:00
Grahame Grieve aa5ab74003
Merge pull request #236 from ahdis/oe_xmlwriter_utf8_attr
XmlWriter for UTF-8 should not encode umlaut in attributes (elementmodel)
2021-08-24 05:55:28 +10:00
Louis Rolland daaa027f66 test: #555 Handling minValue/maxValue in generation snapshot process 2021-08-18 10:53:57 +02:00
jnmeijer 66b9e180e6
Improved performance of hashNWS (#570) (#573)
Co-authored-by: Jonathan Meijer <jonathan.meijer@telus.com>
2021-08-11 15:44:20 -04:00
Mark Iantorno a9abd8f824
https://github.com/hapifhir/org.hl7.fhir.core/issues/557 (#571) 2021-08-11 10:07:43 -04:00
Louis Rolland 0a3cc93c2f fix: #555 Handling minValue/maxValue in generate snapshot process 2021-08-11 10:08:45 +02:00
Grahame Grieve 4ccefc41c2 fix problems with logical models and type definitions on the root 2021-06-25 17:39:16 +10:00
Grahame Grieve 3e050853e4 hack workaround for bad SDC build: rebuild a particular profile when it's first used 2021-06-25 17:38:16 +10:00
Grahame Grieve 1897ee8661 Fix problem where validator calls R5 extensions invalid 2021-06-25 13:05:07 +10:00
Grahame Grieve c827a06698 Fix problem importing x-version extensions with multiple targets 2021-06-24 21:45:01 +10:00
Grahame Grieve 8aa77b97cd Fix up Questionnaire rendering/conversion problem for R5 2021-06-24 21:44:13 +10:00
Grahame Grieve a2c6dd6af1 Add path and message tracking to element model 2021-06-23 20:35:15 +10:00
Grahame Grieve 91de7ec65b rework package info handling in IWorkerContext 2021-06-23 20:34:24 +10:00
Grahame Grieve 1aaf086c55 Fix wrong profile error message + NPE prevention 2021-06-21 15:32:06 +10:00
Grahame Grieve d67cecc83f * CDA: Fix erroneous type validation on CDA templates
* CDA: Suppress erroneous "Expansion" text appearing in view
* CDA: Don't delete binding information in snapshot for CDA bindable data types
* Rendering: add support for CodeableReference
* Rendering: Support binding mode and XML element information
2021-06-17 16:55:15 +10:00
Grahame Grieve 45801c1918 improve questionnaire rendering 2021-06-16 12:15:03 +10:00
Grahame Grieve a777ab53a8 Fix rendering for most resources - remove empty tables (e.g. text element, that shouldn't render) 2021-06-16 07:20:37 +10:00
Grahame Grieve 8088cedb66 add the -verbose parameter, and add additional verbose messages 2021-06-15 08:51:47 +10:00
Grahame Grieve e3cf0afec2 improved validation for some value sets that are based on unknown code systems 2021-06-15 08:50:27 +10:00
Grahame Grieve 7d512d6ed0 Fix NPE rendering code systems with some kinds of properties 2021-06-15 08:49:08 +10:00
Grahame Grieve 435e0261e0 don't fail with an exception if an unknown resource type appears in contained resource 2021-06-15 08:48:19 +10:00
Grahame Grieve 0c609448f4 Fix rendering of slices so type on slicer is not hidden 2021-06-15 08:38:01 +10:00
Grahame Grieve f51c7115ce Add support for $index on aggregators in FHIRPath 2021-06-15 08:25:59 +10:00
Grahame Grieve 6c8f5d4c47
Merge pull request #526 from lmckenzi/Vocab-validation-with-expansion-only
Fixed issue where when validating with no terminology server and a va…
2021-06-05 08:21:48 +10:00
Lloyd McKenzie 3c543b72ce Updated to handle recursion on expansion.contains 2021-06-04 13:18:27 -06:00
Grahame Grieve 4f5d056ec5 Fix rendering bug + make nl properties UTF-8 2021-06-04 23:18:26 +10:00
Grahame Grieve a371f5fe3e Add -allow-example-urls option to the validator 2021-06-02 17:45:50 +10:00
Lloyd McKenzie c11312de78 Fixed issue where when validating with no terminology server and a value set with only an expansion (no compose), the 'inferred' code system wasn't being populated and validation was then failing on a coding with no specified code system 2021-06-01 23:35:58 -06:00
Grahame Grieve 12f841999e Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2021-05-31 08:53:45 +10:00
Grahame Grieve 2e640accce
Merge pull request #498 from pieter-edelman-nictiz/497
Issue #497: turn on single line mode for FHIRPath matches()
2021-05-31 08:51:26 +10:00
Grahame Grieve 8c9e54d58f fix error calling the wrong validation method 2021-05-31 08:03:52 +10:00
jamesagnew 9b829d9714 Version bump to 5.4.0 for release 2021-05-18 16:55:09 -04:00
Pieter Edelman 783ad9b850 Issue #497: turn on single line mode for FHIRPath matches() 2021-05-14 15:58:03 +02:00
Grahame Grieve 278916ba97 Fix displays for some codes in ConceptMap.relationship when rendering + Add Publication Version to rendering context for future use. 2021-05-14 12:24:57 +10:00
Grahame Grieve cf859c9ed1 add new parameter for whether to include FHIRPath in invariant error messages 2021-05-14 12:21:28 +10:00