Commit Graph

156 Commits

Author SHA1 Message Date
dotasek b5b43836eb Add tests and changes for Base64Binary 2022-03-16 12:20:58 -04:00
dotasek 9903d15ecc Add tests for setValueAsString and contructor precision checking 2022-03-15 17:47:23 -04:00
dotasek 1a7e076479 Move precision checking code to setValueAsString 2022-03-15 16:49:51 -04:00
markiantorno 260d8474bf issue_761 fix 2022-03-14 11:27:18 -04:00
dotasek f2e9f1247b Add assertions to test case 2022-02-25 13:11:24 -05:00
dotasek baac4ac1a8 Fix + initial test 2022-02-25 11:25:27 -05:00
Grahame Grieve 6310b1158e #722 fix ListResource name misuse 2022-02-13 08:29:01 +11:00
dotasek 847ede5f88 Refactor SimpleWorkerContext and ValidationEngine 2022-02-01 15:28:19 -05: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
jamesagnew 846866472b Updates to GraphQL 2022-01-30 17:04:10 -05:00
dotasek 4826424499 Make additional caches to cover NativeHostService and ValidationService 2022-01-19 18:36:39 -05:00
dotasek 1c1e7d22ca WIP track server requests 2021-12-07 16:08:28 -05: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 d374758f49 Refactor FhirReqestBuilderTests 2021-11-24 13:29:33 -05:00
dotasek acac125e31 Add logging tests for dstu3 FhirRequestBuilder 2021-11-24 11:33:19 -05:00
dotasek e997f7bb08 Add request logging for dstu3 FhirRequestBuilder 2021-11-23 14:09:42 -05:00
Grahame Grieve bbac44fc52 reduce spurious logging 2021-11-18 08:09:43 +11:00
Grahame Grieve d91b26e69b Add getServerVersion to tooling client 2021-11-09 06:13:18 +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 237897965b
Gg 202110 misc validation (#617)
* 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

* fix bug related to logger in FHIRToolingClient

* fix bug related to logger in context

* enable detection of whether tx server knows about value set and better track returned errors from tx server

* make likely source URL visible outside ProfileUtilities

* fix renderers - don't make nonvalid URLs into html links + fix NPE +

* fix bug with sheetnames generating spreadsheets

* supper branches in current version of packages

* report slicing information automatically where slicing is based on profile + fix shc support + support codesystem-properties-mode + fix value set validation on profiles + fix wrong entry point on vaildating contained resources with profiles

* fix misleading validation message + add -ips parameter for validator

* hint not warning when it's an example questionnaire
2021-10-10 17:37:02 -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
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
Louis Rolland 0a3cc93c2f fix: #555 Handling minValue/maxValue in generate snapshot process 2021-08-11 10:08:45 +02:00
Grahame Grieve c6f392b7e0 #466: fix problem checking types on logical models 2021-05-05 09:54:22 +10:00
Grahame Grieve 9ae04aed03 Fix compartment definitions of ListResource.source and subject for R3 and R4 2021-05-05 08:51:36 +10:00
Grahame Grieve 898665f356 fixes for #483: Quantity subclasses copy() functions not all transferring values 2021-05-04 12:43:07 +10:00
Grahame Grieve 8fac290ebe #426 - fix serialization of NULL enumerations 2021-02-08 09:33:36 +11:00
Grahame Grieve c95b07f0f1 #426 - fix serialization of NULL enumerations 2021-02-08 09:32:06 +11:00
Grahame Grieve b9664caec0 fix error message suppression on tooling client 2020-12-03 12:46:43 +11:00
jamesagnew eb1c67c1cb Account for review comments 2020-10-19 14:56:54 -04:00
jamesagnew 1922f549bb Improve multithreaded performance of datetime types 2020-10-19 14:56:54 -04:00
Gerlach, Winfried 0cb038ed0a performance: improve speed of comparing UriTypes 2020-10-07 19:36:03 +02:00
Grahame Grieve 5be73ff9c5 rename org.hl7.fhir.utilities.cache to org.hl7.fhir.utilities.npm 2020-09-30 09:24:26 +10:00
Mark Iantorno 78b61c4555
Tests should all run now (#343) 2020-09-09 12:33:38 -04:00
CODE1\ing11557 6b93be9e8a Merge branch 'master' of https://github.com/vtumuluri/org.hl7.fhir.core into vt-jsonnull-tests 2020-08-12 11:58:05 +02:00
Grahame Grieve 6322aef891 Fix bug in parser around nulls in arrays 2020-08-12 04:03:41 +10:00
CODE1\ing11557 7e68583e21 Added another test case to reproduce the original issue 2020-08-11 12:44:26 +02:00
markiantorno 5fba875d8b Fix for failing ActivityDefinition-referralPrimaryCareMentalHealth.json test 2020-08-10 21:57:55 -04:00
Grahame Grieve 4aa8e08681 Add test case for Json resource parsing 2020-08-10 21:24:04 +10:00
Grahame Grieve 4add0f3ac8 Continue to work on connection timeout issues 2020-08-07 11:26:44 +10:00
Grahame Grieve 3e33c8a835 ongoing work around connection problems with tx.fhir.org 2020-08-06 22:33:54 +10:00
Grahame Grieve 572016e40a fix compile 2020-08-06 07:53:18 +10:00
Grahame Grieve 3f6207bf4f improve handling of timeout issues in client 2020-08-06 07:35:49 +10:00
Grahame Grieve 94467b270a standardise terminology client across versions 2020-06-07 08:42:14 +10:00
Grahame Grieve 463a557402 Release new version 4.2.30 2020-05-12 11:54:28 +10:00
Grahame Grieve edea997312 Clean up license 2020-05-12 08:55:27 +10:00
markiantorno 89f98bb960 I cast you out unclean spirit. 2020-04-29 16:55:40 -04:00
markiantorno a7e874501e Tests updated to JUnit Jupiter. Various quality of life improvements. 2020-04-21 20:36:17 -04:00
markiantorno bd17bc716b wip 2020-04-20 13:37:29 -04:00
markiantorno 55622f53cb Fix for NPEs in Base64BinaryType. Added tests to cover the cases. Updated for all FHIR versions. 2020-04-14 22:28:32 -04:00
Grahame Grieve d2dc15e2c8 throw Error when a value is assigned to NamingSystem.url 2020-04-07 14:49:27 +10:00
Rob Hausam 2defba63ec Fix incorrect appending of <br/> tag causing it to be escaped. 2020-03-29 16:42:07 -05:00
Grahame Grieve afb0453e7b
Merge pull request #160 from rhausam/multiple-expansion-version-notice
Support listing multiple "Expansion based on" versions.
2020-03-29 16:53:11 +11:00
Rob Hausam 49a6c9d746 Support listing multiple "Expansion based on" versions. 2020-03-28 20:37:56 -05:00
markiantorno 5d9f1d734a Full disclosure: this isn't really a 'bug' per say, it's more of a best practice thing. The only reason I'm making this change is because I'm working on a parser in my spare time that will most likely never see the light of day, and these accessors are causing me problems because both the line and column fields are private and need to be accessed through the appropriate accessor. 2020-03-28 16:48:37 -04:00
Grahame Grieve 239331ef76 improve parsing error message when parsing json 2020-03-28 06:09:37 +11:00
patrick-werner 60474cd8c9 moved all Locale/Message handling Code to utils: I18nBase 2020-03-13 18:53:16 +01:00
patrick-werner 86711ac16f readding all the i18n work 2020-03-12 23:26:05 +01:00
Grahame Grieve 137506f37f set id when parsing StructureMap 2020-03-02 09:04:16 +11:00
Ken Stevens 490aef6f9b fixed Meta.getSecurity(String,String) bug 2020-02-12 20:39:37 -05:00
markiantorno 44c9fd596e Structure definition error fixed. 2020-02-10 15:26:40 -05:00
Grahame Grieve 097ce2cfcd require id/active flag for all generated tables 2019-12-16 07:26:24 +11:00
Grahame Grieve 6993f763d8 move Mimic14Importers to different repo 2019-12-16 07:25:06 +11:00
Grahame Grieve 415193a792 Start working on active tables, fix testing bug 2019-12-14 07:54:48 +11:00
Grahame Grieve 0dfc060665 fix bug in NpmPackage loader 2019-11-19 06:37:18 +11:00
Grahame Grieve df2a378eb0 update Mimic importers 2019-11-15 08:16:12 +11:00
Grahame Grieve 1c4cceaf3c update reference version dates 2019-11-14 23:22:26 +11:00
Grahame Grieve 3de429ae6a Release new version 2019-11-13 07:49:12 +11:00
Grahame Grieve e42d482326 mimic upload fixes 2019-11-10 21:05:25 +11:00
Grahame Grieve 9ffdf6e81c batchloader improvements for Mimic upload 2019-11-10 21:04:55 +11:00
Grahame Grieve bed5e78234 better handle big files in mimic conversion 2019-11-10 21:03:00 +11:00
Grahame Grieve 02791ae21f update MIMIC code and reverse testing change (maven said no) 2019-11-07 20:57:16 +11:00
Grahame Grieve 52187af17a Fix for R3 and R4 technical corrections and getting IGs publishing and passing (and fix version markers) 2019-11-01 11:21:06 +11:00
Grahame Grieve 55c379dab8 improve error message when parsing json that is not a resource 2019-10-31 21:51:26 +11:00
Grahame Grieve cc496623a6 fix rendering of profiles in choice rows 2019-10-29 12:31:58 +11:00
Grahame Grieve 08eb187b79 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2019-10-28 10:06:02 +11:00
James Agnew 34cf0628d1 Fix https://github.com/jamesagnew/hapi-fhir/issues/1549 - Account for
latest HAPI FHIR API interfaces
2019-10-27 17:44:22 -04:00
Grahame Grieve 22f4a5a58f fix document validation + add questionnaire validation tests 2019-10-25 13:25:52 +11:00
James Agnew 2f380704de Fix precision and validator issues 2019-10-18 10:47:20 -04:00
James Agnew 0cf2cafb62 Improve efficiency of isEmpty() methods 2019-10-13 19:39:19 -04:00
James Agnew 28f9c55463 Remove dependency on newer commons-compress field to allow android to
work
2019-09-22 15:53:29 -04:00
Grahame Grieve a80710242f
Merge pull request #76 from lmckenzi/2016may-pattern-support
Add pattern support to 2016may
2019-09-07 17:21:33 +10:00
Lloyd McKenzie 2b0dbf7224 Add pattern support to 2016may 2019-09-06 21:26:26 -06:00
James Agnew 215fdae37f Include the wrapper element when writing GraphQL responses 2019-09-06 10:29:31 -04:00
Grahame Grieve 028802f6fc update for HAPI release + add JsonParser constructor 2019-08-18 07:51:41 +10:00
James Agnew ecfd55c368 Backport GraphQL support to DSTU3 2019-08-12 10:55:34 -04:00
James Agnew c1728a481d Refactor R4 infrastructure to use the new common
TerminologyServiceOptions, and tweak the validation of enableWhen to
handle a few edge cases correctly.
2019-08-06 18:27:45 -04:00
Grahame Grieve fe219985b4 fix decimal validation + fix profile slicing validation 2019-07-30 16:22:54 +10:00
James Agnew eef45d0100 Restore build 2019-07-17 17:28:04 -04:00
James Agnew 96bd38c71c Improve internal representation of binary datatype 2019-07-14 18:12:26 -04:00
James Agnew e265477c6e Header updates 2019-07-14 09:27:45 -04:00
James Agnew 0acb99744b
Changes needed to move HAPI FHIR to using this project directly (#61)
* Work on porting HAPI FHIR to core

* Ongoing work on HAPI FHIR merge
2019-07-14 08:55:21 -04:00
Grahame Grieve f583649f87 fix generation of error locations using FHIRPath or XPath properly 2019-07-05 20:23:58 +10:00
Grahame Grieve 0357e58203 more package maintenance, and more work on mapping generator 2019-07-04 10:26:57 +10:00
Grahame Grieve ee0a32b6ab fixing hasPrimitiveValue across the versions for HAPI 2019-07-04 10:25:07 +10:00
Grahame Grieve 3c8b3ec97c fix sturcture definition rendering issues 2019-06-25 16:27:56 +10:00
Grahame Grieve 027104b2b4 HAPI updates and validation message enhancements 2019-06-11 05:05:01 +10:00
James Agnew 2176e7c64d Clean up enableWhen testing in validator for Questionnaire resources 2019-04-17 15:54:40 -04:00
Grahame Grieve d3ef2d7624 NPMPackage direct loading, + refactor JSON parser Location 2019-04-10 11:02:06 +10:00
James Agnew 0c9fe20522
Get this test working (#4) 2019-01-31 13:41:05 -05:00