276 Commits

Author SHA1 Message Date
markiantorno
7e88064cfb removing unused import 2021-12-06 15:18:00 -05: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
162cf6f049 fix package type 2021-11-29 16:08:49 +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
5a33d5c15a merge conflicts + rework rendering + gather all HTTP access to SimpleHTTPClient + add TerminologyCacheManager 2021-11-09 16:24:21 +11:00
Grahame Grieve
1aae6c8c76 rework HTTP client - all client calls route through SimpleHTTPClient + define CommonPackages infrastructure 2021-11-09 11:38:25 +11:00
Grahame Grieve
d91b26e69b Add getServerVersion to tooling client 2021-11-09 06:13:18 +11:00
dotasek
20989776db
Convertor refactor iii (#635)
* Move loaders to own packages

* Move inner loader classes up one level

* Use lombok annotaions for BaseLoaderX classes

* Move ADLImporter

* Use lombok for ADLImporter inner classes

* Move inner ADLImporter classes up one level

* Move misc classes with inner classes to their own packages

* Encapsulate and add lombok to misc internal classes

* Move inner misc classes up one level

* Clean up explicit type arguments

* Revert back to master validator_test_case_version in pom.xml

* Update RELEASE_NOTES.md

Co-authored-by: David Otasek <david.otasek@Davids-MacBook-Pro.local>
2021-11-08 12:06:51 -05:00
Grahame Grieve
5dcb4e3e37 fix dicom package builder - add dependency 2021-11-05 17:05:40 +11:00
Grahame Grieve
36ea3f5b45 whatever I really hate git 2021-11-03 10:35:47 +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
fdb46024df Add Dicom Package builder 2021-10-30 05:46:22 +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
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