Commit Graph

264 Commits

Author SHA1 Message Date
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 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
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 4ba9193a5e fix for #575 NPE in rendering Patient 2021-08-25 06:50:58 +10:00
Mark Iantorno 72e88cb12f
Adding proper null checks for convertor factories. (#579)
* wip

* wip

* sdjkhfakjsdhllkjsdhfsdkh
2021-08-18 21:43:39 -04:00
Mark Iantorno 58c0e216e8
Conversion library overhaul (#568)
* wip

* adding pathing to 40_50 conversion

* wip

* 30_50 and 40_50 updated to factory

* 30_40 factory

* 14_50

* 14_40

* 14_30, 10_50

* 10_40

* 10_30

* forcing non-null on VersionConvertors

* *trying* to clean up advisor code, switching from jetbrains NotNull to javax Nonnull annotation

* all calls within convertor classes should use INSTANCE access, not factory to maintain thread safety

* adding README for conversion library

* spacing

* threaded test removal

* release notes

* Update RELEASE_NOTES.md

Co-authored-by: Tadgh <tadgh@cs.toronto.edu>

* Update RELEASE_NOTES.md

Co-authored-by: Tadgh <tadgh@cs.toronto.edu>

* Update org.hl7.fhir.convertors/CONVERTORS.md

Co-authored-by: Tadgh <tadgh@cs.toronto.edu>

* Update org.hl7.fhir.convertors/CONVERTORS.md

Co-authored-by: Tadgh <tadgh@cs.toronto.edu>

* Update org.hl7.fhir.convertors/CONVERTORS.md

Co-authored-by: Tadgh <tadgh@cs.toronto.edu>

Co-authored-by: Tadgh <tadgh@cs.toronto.edu>
2021-08-06 19:28:24 -04:00
Mark Iantorno aab5bd4a0f
Convertor refactor ii (#556)
* 10_30

* 10_40

* 10_50

* 14_30

* 14_40

* 14_50

* 30_40

* 40_50

* cleaningup
2021-07-07 22:41:14 -04:00
Grahame Grieve d07da31206
Merge pull request #543 from ItayGoren/abatament-condition
fix condition abatament bool
2021-06-25 04:30:42 +10:00
Grahame Grieve 8aa77b97cd Fix up Questionnaire rendering/conversion problem for R5 2021-06-24 21:44:13 +10:00
Itay Goren 73925c451b fix condition abatament bool 2021-06-23 12:59:19 +03:00
Mark Iantorno 87066f1c4c
Static method convertor (#541)
* pulled it all apart

* pulled apart all the 40_50 components for poc

* wip
2021-06-22 20:29:48 -04:00
Itay Goren 0dd8f14c6e can not convert boolean abatement from dstu2 to r4 2021-06-14 09:50:08 +03:00
Grahame Grieve 5a77698fd2 Lloyd's changes to R2B import 2021-06-05 08:34:40 +10:00
Mark Iantorno 375c8cb46d
fixes for eclipse (#524)
rip
2021-06-01 07:53:40 -04:00
Grahame Grieve 8b48ef9197
Merge branch 'master' into fix_conv_30_50 2021-05-31 08:46:48 +10:00
markiantorno e12e24785d adding advisor enhancements 2021-05-26 15:59:37 -04:00
markiantorno 30e45f54ed wip 2021-05-25 13:36:07 -04:00
tyfni 56738f7acf add copying of aggregation mode for conversion from 50 to 30 2021-05-18 13:39:36 +02:00
Mark Iantorno 9a82457b36
Adding version option to ignore bundle entry in conversion advisors (#492) 2021-05-07 14:50:40 -04:00
Grahame Grieve 154ac5c3ca
Merge branch 'master' into gg-202105-bugfixes-2 2021-05-07 18:30:26 +10:00
Grahame Grieve 4e173f4715 * Validator: Load code systems from known packages on the fly
* Validator: better handle invalid v3 dates
* Renderer: Render OperationDefinition.InputProfile and OutputProfile
* Important: Allow more valid schemas for Utilities.isAbsoluteUrl
* Validator: remove notes about extensible bindings if profile extensible binding is valid
2021-05-07 18:29:21 +10:00
Mark Iantorno 05cd371796
Convertor advisor 1 (#490)
* RELEASE THE ~~KRAKEN~~ KOTLIN

* doing some cleanup before going into more details

* renaming folder

* commit merge issues

* release notes
2021-05-06 09:18:11 -04:00
Grahame Grieve 6a7435787f tidy up and document version conversion advisors 2021-05-05 08:28:03 +10:00
Grahame Grieve 11a727b40f update R5 to 4.6.0 2021-05-04 09:03:13 +10:00
Grahame Grieve 11f66836ed fix for R2B validation of resource ids, and problems validating codes 2021-04-02 06:24:43 +11:00
Grahame Grieve 4e4885dc7d Fix null pointer exception in validator validating language codes 2021-03-29 13:35:51 +11:00
Grahame Grieve dc0542adb9 fix R2B/R5 ElementDefinition.type.code conversion 2021-03-29 12:39:10 +11:00
Itay Goren 75d6d73757 add default status value to medication request conversion 10_40 2021-03-25 12:57:21 +02:00
Grahame Grieve 2d31728d4f Don't use packages.fhir.org for R2B (hack) + R2B packing tool 2021-03-19 07:50:12 +11:00
Grahame Grieve 5187fdd398 fix issues related to R4B generation 2021-03-12 06:28:56 +11:00
Grahame Grieve 455cc5cf7f Add resource name mapping for DataRequirement 2021-03-06 08:58:40 +11:00
Grahame Grieve a56e269366 fix R5 --> R4 conversion for ConceptMap equivalence default value 2021-03-03 13:14:12 +11:00
Mark Iantorno c422ddc388
Refactoring validator engine (#436)
* Initial commit, tests passing

* continuing breaking up massive classes
2021-02-15 16:48:40 -05:00
ItayGoren ad8fbb87df
Merge branch 'master' into observastion-tests 2021-02-04 16:33:23 +02:00
Itay Goren 9d84343fee adding test for observation conversion 10_40 2021-02-04 16:32:54 +02:00
ItayGoren 5b3f4fa85c
converting procedures from dstu2 to r4 (#429)
* converting procedures from dstu2 to r4

* Update VersionConvertor_10_40.java

* Update VersionConvertor_10_40.java

* Update VersionConvertor_10_40.java

* Update Procedure10_40Test.java

* add description to the release notes

Co-authored-by: Mark Iantorno <markiantorno@gmail.com>
2021-02-01 11:16:15 -05:00
ItayGoren 42d148a80e
add medication conversion from dstu2 to r4 (#430)
* add medication conversion from dstu2 to r4

* fixed test

* add description to the release notes
2021-02-01 09:43:51 -05:00
Grahame Grieve d4087590bf
hopefully final prep for 5.2.2 (#387)
* Add on the fly retrieval of profiles in the validator, and fix bug where validator reported 'not done yet' for invalid contained references.

* fix loading issue for content references in versions before R3

* fix content resolution issue for versions from before 3

* Fix for bundle renderer trying to render resources from the wrong version

* Fix for wrong reference to Any in cross version extensions

* fix test case reference

* fix mistake generating snapshots around element ids

* fix tests
2020-11-27 09:20:49 -05:00
Grahame Grieve b6fabaef1c fix bug converting type mode in Structure Map 2020-11-26 08:51:20 +11:00
Mark Iantorno bdf3e025d3
Issue 383 (#384)
* added null hasWhen check for all version conversions

* updated release notes

* error message updated for clarity
2020-11-24 15:08:44 -05:00
Mark Iantorno d45f8ae1a5
Fix for issue #373, and all other convertor methods that contain this same error. (#379) 2020-11-24 09:28:05 -05:00
Grahame Grieve 6e4bbe60fe fix bug when converting positiveInt between versions 2020-11-05 14:09:40 +11:00
Grahame Grieve 058024f57c
Merge pull request #364 from hapifhir/gg-v5117
release notes
2020-10-14 22:11:24 +11:00
Grahame Grieve 5ce25da10b release notes 2020-10-14 16:49:44 +11:00
Grahame Grieve f5b02ff308
Merge pull request #363 from hapifhir/gg-v5117
more fixes for next release
2020-10-14 14:40:01 +11:00
Grahame Grieve c82c71894f Add UTG version revision engine 2020-10-08 20:58:28 +11:00
Grahame Grieve accec7ef5e
Merge pull request #360 from ItayGoren/bugfix-convertTimingRepeatComponent
fixed bug in conversion from dstu2 to r4 in timing resource
2020-10-07 06:23:37 +11:00
Itay Goren a8b715af97 fixed bug in conversion from dstu2 to r4 in timing resource 2020-10-06 19:24:45 +03:00
Grahame Grieve 5be73ff9c5 rename org.hl7.fhir.utilities.cache to org.hl7.fhir.utilities.npm 2020-09-30 09:24:26 +10:00