Commit Graph

949 Commits

Author SHA1 Message Date
Grahame Grieve 10927445e2 Pass dependencies when evaluating a value set ($validate-code or $expand) 2020-08-12 14:49:51 +10:00
Grahame Grieve cef25b4bf0 don't reload an already loaded package 2020-08-12 14:45:49 +10:00
Grahame Grieve 9e422a1a2e improve terminology logging 2020-08-12 14:44:41 +10:00
Grahame Grieve 6ecf1c8f99 Fix issues with reloading package once already loaded in validator + add test case 2020-08-12 05:11:35 +10:00
Grahame Grieve 20a7682c96 Add support for bundle profile parameter 2020-08-11 06:40:11 +10:00
Grahame Grieve 1555849e9a updates to PR 2020-08-11 05:44:13 +10:00
Grahame Grieve 039027c588 Comparison for CapabilityStatements 2020-08-10 15:57:14 +10:00
Grahame Grieve 96d769a6e2 prevent NPEs generating patient summary 2020-08-10 15:53:48 +10:00
Grahame Grieve bc11ac5c5b Start working on rendering expressions 2020-08-10 15:53:08 +10:00
Grahame Grieve 74c11cfec1 Fix problem loading old style packages not suitable for lazy loading. 2020-08-10 15:51:59 +10:00
Grahame Grieve ad07997c5d fix bug handling fragment code systems with value sets with pre-build expansions 2020-08-07 11:30:31 +10:00
Grahame Grieve a12b1bdc93 change type of resource parameter to ResourceRender.build 2020-08-07 11:28:18 +10:00
Grahame Grieve 800e381629 Fix bug in DiagnosticReportRenderer (wrong element accessed) 2020-08-07 11:27:57 +10:00
Grahame Grieve 4add0f3ac8 Continue to work on connection timeout issues 2020-08-07 11:26:44 +10:00
Grahame Grieve 3e97c095e6 Fix for problem with expansion code checking and incomplete value sets 2020-08-06 22:38:43 +10:00
Grahame Grieve 879e5344b3 Start Working on i18n for Rendering + Fix case bug rendering bundles and parameters 2020-08-06 22:37:27 +10:00
Grahame Grieve f93f47ee24 fix for bug loading Measures from packages 2020-08-06 22:35:14 +10:00
Grahame Grieve 9b0ce65f08 fix for bug processing CCDA constraints (logical model constraints) 2020-08-06 22:34:30 +10:00
Grahame Grieve 3e33c8a835 ongoing work around connection problems with tx.fhir.org 2020-08-06 22:33:54 +10:00
Grahame Grieve c70c43271a fix questionnaire rendering to create valid resources 2020-08-06 07:38:20 +10:00
Grahame Grieve b4a65d1825 fix heirarchy for XhtmlType 2020-08-06 07:37:20 +10:00
Grahame Grieve dd48811c86 debugging improvements 2020-08-06 07:36:38 +10:00
Grahame Grieve 3f6207bf4f improve handling of timeout issues in client 2020-08-06 07:35:49 +10:00
Grahame Grieve 5299bbe16b * better validation of external references. Note: this is a potentially significant change: things that were called ok before may not be now, and things that were not ok before may become so, depending on the interplay between this and auto-load, further work may be needed here
* Support better validation of version specific profiles in meta.profile. This may also find new errors that were not previously being found
* Support auto-determination of the version of FHIR to use when using the java validator
* auto-load packages from the package server when references to profiles etc are encountered
* look for references inside other parameters in Parameters resource
2020-08-03 17:40:21 +10:00
Grahame Grieve 7616b55213 * Rendering: add rendering for Parameters resources
* Rendering: refactor of resource resolution code to support Parameters
* General clean up of rendering consistency & implement additional details when rendering (including patient summary)
* Rendering: major overhaul of DiagnosticReport rendering
2020-08-03 17:36:32 +10:00
Grahame Grieve 137d04f68d fix NPE error comparing value sets 2020-08-03 17:30:37 +10:00
Grahame Grieve 477bf66108 Fix broken links in Bundle rendering 2020-08-01 08:55:46 +10:00
Grahame Grieve ebead8fd7c fix bugs in comparisons 2020-07-31 12:51:43 +10:00
Grahame Grieve 59b0f032cb fix for NPE in FHIRPath parser 2020-07-31 12:48:54 +10:00
Grahame Grieve 5aec9978bd fix up tests to pass 2020-07-30 12:35:16 +10:00
Grahame Grieve 569718d829 Code formatting + fix code system rendering 2020-07-30 12:03:03 +10:00
Grahame Grieve 883f4ee4cb batch value set validation 2020-07-30 12:02:04 +10:00
Grahame Grieve 2c1460a663 ditto 2020-07-30 12:01:35 +10:00
Grahame Grieve a80d11334a Fix bug producing invalid xhtml 2020-07-30 12:01:09 +10:00
Grahame Grieve 4b5470f825 Don't produce 2 columns for status for deprecated codes 2020-07-30 12:00:30 +10:00
Grahame Grieve bde55f1872 Improve error message 2020-07-30 11:59:37 +10:00
Grahame Grieve 1ef4e59113 fix path problem in comparison 2020-07-30 11:58:55 +10:00
Grahame Grieve ea52c4206f Batch validation of codes in value sets 2020-07-30 11:57:11 +10:00
Grahame Grieve 62b70947b8 warning not error on code system fragment 2020-07-28 12:43:55 +10:00
Grahame Grieve b256965738 * fix evaluation of codes in code systems that are labelled content = fragment 2020-07-28 06:06:01 +10:00
Grahame Grieve efa72d367f rework error handling when expanding valuesets + add error check on value set imports 2020-07-27 13:08:39 +10:00
Grahame Grieve 7932516b12 fixes for version comparison 2020-07-26 08:17:59 +10:00
Grahame Grieve c4bcd19f46 compile fix 2020-07-25 08:39:55 +10:00
Grahame Grieve ea2d1b6576 fix minor loading issue 2020-07-25 08:39:27 +10:00
Grahame Grieve 50dbc9bda1 significant work on tests to support version comparison 2020-07-25 08:38:45 +10:00
Grahame Grieve 115fa8a497 add automatic loading of package dependencies by the context 2020-07-25 08:38:13 +10:00
Grahame Grieve 90dc97b150 fix spelling mistake 2020-07-25 08:34:14 +10:00
Grahame Grieve 42c49509cc remove spurious debug statement 2020-07-22 16:58:26 +10:00
Grahame Grieve a4374bf671 fix problems doing CCDA snapshots 2020-07-22 12:28:01 +10:00
Grahame Grieve b9755c8f1f fix tests 2020-07-22 10:19:32 +10:00
Grahame Grieve f6c7d294c4 fix problem validating search parameter derivation 2020-07-22 08:10:12 +10:00
Grahame Grieve a985831d76 efficiency cleanup 2020-07-22 07:02:15 +10:00
Grahame Grieve 701ac1b560 fix bug when canonical resource has no URL 2020-07-22 06:59:53 +10:00
Grahame Grieve 6421226011 more improvements around lazy loading 2020-07-21 17:14:08 +10:00
Grahame Grieve acbba54d25 fix issues in testing 2020-07-21 06:16:45 +10:00
markiantorno 27e8aa0bec wip 2020-07-20 13:30:21 -04:00
Grahame Grieve 52267118c6 implement lazy loading - improve loading times and memory requirements in advance of the challenge of loading UTG for most use cases 2020-07-20 22:57:15 +10:00
Grahame Grieve 9bbe5ab5c8 improve rendering of contained resources 2020-07-17 13:42:44 +10:00
Grahame Grieve ad46dfd611 Add more debugging to shapshot tests 2020-07-17 09:29:08 +10:00
Grahame Grieve 72b0aa6442 fix up implementation of htmlChecks/htmlChecks2 2020-07-17 09:28:20 +10:00
Grahame Grieve bb8fde3682 fix bug assigning min=0 to slices by default 2020-07-17 09:27:51 +10:00
Grahame Grieve 4dc78b5b3c add support for table row opacity 2020-07-16 09:19:40 +10:00
Grahame Grieve fe29c3022f implement HTMLChecks in FHIRPath 2020-07-15 16:44:44 +10:00
Grahame Grieve 1736784bae Add check for constraining must=support wrongly 2020-07-15 16:43:57 +10:00
Grahame Grieve 5ae6aa23fd fix problem with snapshot test infrastructure 2020-07-15 16:43:16 +10:00
Grahame Grieve fa7de3a308 more FHIRPath engine into i18n framework 2020-07-14 08:16:56 +10:00
Grahame Grieve b65567010c fix rendering of target types in profiles 2020-07-14 07:47:15 +10:00
Grahame Grieve 7d7c1315d4 fix bundle labels when rendering 2020-07-10 06:50:55 +10:00
Grahame Grieve ce47093c12
Gg work (#267)
* fix for new test case about profiles restricting types

* update release notes

* fix NPEs doing ProfileComparison

* fix non-translated messages in InstanceValidator

* Fix validation issues

* update to 1.1.22 tests

* fix bug finding children in getChildList when element is a reference to another element

* fixes to QuestionnaireRenderer + add QuestionnaireResponseRenderer

* Add more informative error when no type parser provided

* fix bug where current/dev builds do not properly update the cache

* improve test error message

* set up release notes

* fix bug with CDA snapshot generation

* fix bug in type checking code

* Add support for validating against ImplementationGuide.global

* Fix bug in QuestionnaireResponse rendering

* update tests dependency

* ping build

* Add additional StructureDefinition validation

* update release notes

* fix npe rendering diagnostic reports without subjects

* don't add note on untranslatable messages

* check existing snapshots (preliminary)

* add signpost message tracking

* start working on profile generating bug

* Fix bug in snapshot - not handling case where content is sliced, base slicing detail is provided, and max slices = 1

* fix release notes
2020-07-06 20:21:40 -04:00
Grahame Grieve 92c02d2294
Add support for validating against ImplementationGuide.global (#266)
* fix for new test case about profiles restricting types

* update release notes

* fix NPEs doing ProfileComparison

* fix non-translated messages in InstanceValidator

* Fix validation issues

* update to 1.1.22 tests

* fix bug finding children in getChildList when element is a reference to another element

* fixes to QuestionnaireRenderer + add QuestionnaireResponseRenderer

* Add more informative error when no type parser provided

* fix bug where current/dev builds do not properly update the cache

* improve test error message

* set up release notes

* fix bug with CDA snapshot generation

* fix bug in type checking code

* Add support for validating against ImplementationGuide.global

* Fix bug in QuestionnaireResponse rendering

* update tests dependency

* ping build

* Add additional StructureDefinition validation

* update release notes
2020-07-03 18:25:15 -04:00
Grahame Grieve 9024a309ac
fix various bugs (#265)
* fix for new test case about profiles restricting types

* update release notes

* fix NPEs doing ProfileComparison

* fix non-translated messages in InstanceValidator

* Fix validation issues

* update to 1.1.22 tests

* fix bug finding children in getChildList when element is a reference to another element

* fixes to QuestionnaireRenderer + add QuestionnaireResponseRenderer

* Add more informative error when no type parser provided

* fix bug where current/dev builds do not properly update the cache

* improve test error message

* set up release notes
2020-06-30 20:25:38 -04:00
Grahame Grieve b08c12f2c4
update test case dependency to 1.1.22 (#263)
* fix for new test case about profiles restricting types

* update release notes

* fix NPEs doing ProfileComparison

* fix non-translated messages in InstanceValidator

* Fix validation issues

* update to 1.1.22 tests
2020-06-26 20:07:30 -04:00
Grahame Grieve 03a4224424
fix for new test case about profiles restricting types (#261)
* fix for new test case about profiles restricting types

* update release notes

* fix NPEs doing ProfileComparison

* fix non-translated messages in InstanceValidator
2020-06-26 14:46:54 -04:00
Grahame Grieve 93f8b1c338
Merge pull request #255 from ahdis/oe_structuremap_np
StructureMap rendering  has np when RelationShip is not set
2020-06-26 10:24:09 +10:00
Grahame Grieve e1e994704d More stability on tests + fix questionnaire renderer problem + add SearchParameter derivation validation 2020-06-25 11:24:03 +10:00
Grahame Grieve a85adcf88d enhancements to questionnaire renderer 2020-06-24 17:27:08 +10:00
Grahame Grieve 37bd445ed4 fix bug in rendering of relative references 2020-06-24 15:07:02 +10:00
Grahame Grieve 7ac714c2b6 Add resource sorters 2020-06-24 13:45:28 +10:00
Oliver Egger 4f21c40f83 set equivalence relationship in parsing 2020-06-22 12:34:00 +02:00
Grahame Grieve 0e8b5f6552
various fixes for reported bugs (#252)
* fix bug in Definition mode - support ofType()

* fix bug reading old packages

* fix for invalid OperationOutome if nothing is wrong

* more fix for when no errors found
2020-06-19 16:02:56 -04:00
Grahame Grieve 5485a048b0 fix bug in Definition mode - support ofType() 2020-06-18 10:56:03 +10:00
Grahame Grieve 6a6f6e6167 Add support for removing code systems from the cache 2020-06-18 08:46:01 +10:00
Grahame Grieve 93b0d74eb5 Add GraphDefinition engine 2020-06-17 12:23:00 +10:00
Grahame Grieve faf31afda1 fix rendering issues found in main build 2020-06-17 12:22:40 +10:00
Grahame Grieve 1a4edb33a4 Fix problem with NPE rendering quantity 2020-06-14 07:08:31 +10:00
Mark Iantorno f5455bb9e9
Merge branch 'release' into merge_branch 2020-06-12 19:34:50 -04:00
Grahame Grieve c1a9d3d1e5 beef up tests for multiple dependencies in snapshot generation 2020-06-12 09:23:12 +10:00
Grahame Grieve c6d667db04 fix for profile comparison issues 2020-06-12 09:22:48 +10:00
Grahame Grieve 3e55b24473
Merge pull request #237 from hapifhir/gg-work
override Element extension methods to also check for modifierExtensions
2020-06-11 21:58:20 +10:00
Grahame Grieve ebbee32827
Merge pull request #238 from hapifhir/gg-work-2
fix bug with category
2020-06-11 21:57:50 +10:00
Grahame Grieve 5f1d6e193c first release of functional Profile comparison on new framework 2020-06-11 16:40:57 +10:00
Grahame Grieve a09c4c3cea fix NPE in IG publisher 2020-06-11 16:40:20 +10:00
Grahame Grieve 3b925f219d Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into gg-work 2020-06-11 06:24:02 +10:00
Oliver Egger ebc2a7a6ba don't escape umlaut in elem utf8 2020-06-10 19:50:52 +02:00
Grahame Grieve 8f838d164f fix bug with category 2020-06-10 22:08:04 +10:00
Grahame Grieve 5efaee2c47 add javadoc around extension mgmt 2020-06-10 12:16:54 +10:00
Grahame Grieve 0c9375aa5b fix whitespace 2020-06-10 09:47:12 +10:00
Grahame Grieve cfe386e141 clarify 2020-06-10 09:45:27 +10:00
Grahame Grieve fb9b123c65 override Element extension methods to also check for modifierExtensions 2020-06-10 09:00:51 +10:00
Grahame Grieve b01c64dc2c
Merge pull request #197 from ahdis/oliveregger_cdatitle
Deserializing CDA ST and ED elements from JSON fix
2020-06-10 08:47:13 +10:00
Grahame Grieve 4d9ace1619
Merge pull request #228 from ahdis/oliveregger_fml_xsitype
CDA xsi:type serialization when using fhir mapping language
2020-06-10 08:45:12 +10:00
Grahame Grieve 9e7ef8ab38
Merge pull request #230 from ahdis/oe_cdanarrative_npfix
CDA Narrative conversion from FHIR, Nullpointer exception fix
2020-06-10 08:43:17 +10:00
Grahame Grieve c26b331850 more work on profile comparison 2020-06-09 17:22:37 +10:00
Grahame Grieve 81ebd97599 fix bug in validator XML parser 2020-06-09 17:22:03 +10:00
Oliver Egger 31a4d31755 CDA Narrative conversion from FHIR NP fix 2020-06-08 21:51:05 +02:00
Oliver Egger 473a9aab0a roundtrip for sdtc, add ns, xml name to serialize 2020-06-08 15:48:13 +02:00
Oliver Egger d0ee44dfa8 json roundtrip cda title 2020-06-08 10:47:54 +02:00
Oliver Egger 5576a02378 add ed/st type definition and roundrip 2020-06-08 10:32:47 +02:00
Oliver Egger 22ec0924da logical model not as resource (create xsi:type) 2020-06-08 10:01:09 +02:00
Grahame Grieve 94467b270a standardise terminology client across versions 2020-06-07 08:42:14 +10:00
Mark Iantorno 0fb57007c4
Release v5.0.6 (#226)
* reenable test and fix recursion

* remove disabled r4 fml tests

* add conformsTo test and support for FML

* Snapshot builder fix (#223)

* Update module-snapshot-publishing.yml for Azure Pipelines

* Changing pipeline, because intermodule depenedecies are not being read in correctly.

* Update README.md

* Fixed bad link

* Release: v5.0.6

***NO_CI***

* Updating version to: 5.0.7-SNAPSHOT
***NO_CI***

* Fixing issues and preparing for release (#225)

* Issue #189 - improve Questionnaire error message

* fix for issue #187

* more work on comparison

* Fix for NamingSystem display

Co-authored-by: Oliver Egger <oliver.egger@ahdis.ch>
Co-authored-by: Grahame Grieve <grahameg@gmail.com>
2020-06-05 18:47:17 -04:00
Grahame Grieve 0c718c7a9b Fix for NamingSystem display 2020-06-06 07:28:58 +10:00
Grahame Grieve b2367e94b6 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into gg-work 2020-06-06 07:24:00 +10:00
Grahame Grieve 60119b5f64 more work on comparison 2020-06-06 07:23:43 +10:00
Oliver Egger e6e4515777 add conformsTo test and support for FML 2020-06-05 17:56:14 +02:00
Oliver Egger 72d250a40a Merge remote-tracking branch 'upstream/master' 2020-06-05 17:55:01 +02:00
Grahame Grieve 3c296b3ff7 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into gg-work 2020-06-05 05:36:14 +10:00
markiantorno 9c3d678f6e changing package cache manager to the new version used in r4 so builds pass. reverting changes to fork number in maven 2020-06-04 09:57:34 -04:00
Oliver Egger bc4f99bed8 Merge remote-tracking branch 'upstream/master' 2020-06-04 10:29:48 +02:00
Grahame Grieve fcc18a0e39
Merge pull request #214 from hapifhir/ja_20200524_npm_rework
Refactor package support to remove filesystem dependency
2020-06-04 16:04:02 +10:00
Grahame Grieve 83157e689f Improve rendering of content reference in profiles 2020-06-04 10:37:18 +10:00
Oliver Egger 429774afb9 Merge remote-tracking branch 'upstream/master' 2020-06-03 14:48:53 +02:00
Grahame Grieve 861a0ee706 change error to warning for extension frrom different version because context might change between versions 2020-06-03 16:03:14 +10:00
Grahame Grieve 14505af3b5 Fix NPE validating from unknown code system when the code is in extension 2020-06-03 09:32:52 +10:00
jamesagnew 6534a5358b Merge branch 'master' into ja_20200524_npm_rework 2020-06-02 18:02:51 -04:00
Grahame Grieve 7ac1b1f0e0 implement new FHIRPath functions 2020-06-03 06:52:47 +10:00
Grahame Grieve 08b59b89e2 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-06-03 05:06:45 +10:00
Grahame Grieve 8658047c16 FHIRPath functions 2020-06-03 05:06:25 +10:00
markiantorno b8a4f6ae4f putting back in check for WINDOWS os for sdc test case. I know this isn't ideal, but this will get the tests back to a passing state, and we canmake changes with the CI running 2020-06-02 11:25:59 -04:00
Grahame Grieve f169a4315f start working on R3 string functions 2020-06-02 18:21:27 +10:00
Grahame Grieve 211ac8fc12 fix bug processing profiles for v1.4.0 2020-06-02 18:21:09 +10:00
Grahame Grieve f1d901a842 Support for rendering contained resources in IG Publisher 2020-06-02 13:52:28 +10:00
Grahame Grieve c5634c012e Questionnaire Rendering improvements 2020-06-02 13:51:41 +10:00
Grahame Grieve a0245ca926 Release new version 5.0.6 2020-06-01 17:40:06 +10:00
Grahame Grieve a99c2cee96 Fix bad path in QuestionnaireRenderer 2020-06-01 16:53:02 +10:00
Grahame Grieve adf7daff51 fix bad path in snapshot generation tests 2020-06-01 16:52:47 +10:00
Grahame Grieve ba505a800e Add toBase64 & fromBase64 to FHIRPath 2020-06-01 16:51:49 +10:00
jamesagnew 17411a3659 Merge branch 'master' into ja_20200524_npm_rework 2020-05-30 12:07:17 -04:00
Grahame Grieve 05ac3ebc98 Release new version 5.0.5 2020-05-30 09:55:30 +10:00
Grahame Grieve b4fc944afc fix up CDA tests, and add support for http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name for CDA 2020-05-30 09:39:53 +10:00
Grahame Grieve 4af4925657 move turtle parser + tests to Utilities 2020-05-30 09:38:48 +10:00
Grahame Grieve 112b09d00d fix bug rendering by profile 2020-05-29 17:44:36 +10:00
Grahame Grieve c4185492a5 fix bug rendering content references in profiles 2020-05-29 15:06:45 +10:00
Grahame Grieve dab9a7d4cd fix up sdc test 2020-05-29 12:47:30 +10:00
markiantorno a8176a841d Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into junit_test_issues 2020-05-28 14:16:19 -04:00
markiantorno 5c7e713997 Adding conditional execution for new Narrative test, removing test suite, as we don't use those anymore, they are from JUnit 4 and cause the vintage engine to kick in, which double runs some tests. 2020-05-28 13:47:10 -04:00
Grahame Grieve 0f0d19cd94 Add checks for illegal constratins on elements 2020-05-28 22:55:35 +10:00
Grahame Grieve f64d5c7fd5 fix problem with rendering confusion between paths around local and base specifications 2020-05-28 14:08:30 +10:00
Grahame Grieve c7258dc7eb fix bug constraining elements once they are sliced 2020-05-28 14:07:26 +10:00
Grahame Grieve ccb6b067b3 Release new version 5.0.3 2020-05-26 06:15:36 +10:00
jamesagnew 444b612805 Start reworking NPM manager 2020-05-24 15:02:37 -04:00
Grahame Grieve b828169317 Fix for Core issue #95 - recursion on profile definition 2020-05-24 08:17:19 +10:00
Grahame Grieve ad82386a9c More questionnaire rendering improvements 2020-05-23 08:16:03 +10:00
Grahame Grieve 3f4d574571 Update Liquid Implementation 2020-05-23 08:15:37 +10:00
Grahame Grieve 786aa001c5 fix misleading error message + uppate for new release of tests 2020-05-22 08:17:36 +10:00
Grahame Grieve 130caef348 Add support for Attachment validation + max size and max decimal places validation 2020-05-21 13:22:21 +10:00
Grahame Grieve 5f1889765d add debugging hook for convenience 2020-05-21 13:20:58 +10:00
Grahame Grieve 028d1a6ce9 enhance API for external use 2020-05-20 21:43:39 +10:00
Grahame Grieve 4e6c8ba232 Fix bug not handling slicing/sparse differentials correctly (both snapshot and rendering) 2020-05-20 18:52:11 +10:00
Grahame Grieve f02c9f0e09 Add questionnaire + NamingSystem rendering and fix various bugs in renderers from further testing 2020-05-20 18:50:08 +10:00
Grahame Grieve e496907985 fix compile 2020-05-19 05:43:50 +10:00
Grahame Grieve 13e99bac29 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-05-19 05:40:07 +10:00
Grahame Grieve c7444745de Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-05-19 05:38:46 +10:00
Grahame Grieve 80d9102aee Add questionnaire renderer 2020-05-19 05:38:24 +10:00
Oliver Egger 5aad454764 reenable test and fix recursion 2020-05-18 14:34:02 +02:00
Grahame Grieve 31db4b7666 refactor rendering code 2020-05-18 20:30:05 +10:00
Grahame Grieve e4292f6830 fix rendering of exclusions 2020-05-18 06:18:49 +10:00
Grahame Grieve 38849214fc prevent NPE in slicing rendering 2020-05-18 06:18:28 +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
jamesagnew 14f803ea42 Just cleaning up imports 2020-05-11 13:24:23 -04:00
jamesagnew 56b0acf73f A bit of datatype cleanup 2020-05-11 09:01:31 -04:00
jamesagnew 7c81ebce56 Two model fixes 2020-05-11 08:05:36 -04:00
Grahame Grieve b43497897b upgrade to v4.4.0, with attendant fixes 2020-05-11 17:09:14 +10:00
Grahame Grieve 5f74bea327 move tests & do new release 2020-05-10 09:18:54 +10:00
Grahame Grieve d203b17c7d update to use new secondary package server 2020-05-10 08:15:40 +10:00
Grahame Grieve eb9de04d2d Start building conformance resource comparison code 2020-05-08 11:58:02 +10:00
Grahame Grieve 48d9c21748 fix to compile 2020-05-06 12:17:08 +10:00
Grahame Grieve 17ef340972 Release new version 4.2.25 2020-05-06 11:16:01 +10:00
Grahame Grieve 37d4994c8f start building the renderer package 2020-05-05 11:50:23 +10:00
Grahame Grieve 868fbb5f95 Release new version 4.2.25 2020-05-02 10:53:58 +10:00
Grahame Grieve af6df3e798 improve rendering of concept maps with multiple targets 2020-05-02 07:57:30 +10:00
Grahame Grieve d5bb555151 fix for issue #188 + fix for transition of ConceptMap enumeration 2020-05-02 06:56:29 +10:00
Rob Hausam 3a6d03fb7e ConceptMap updates for 'source-is-narrower-than-target' (formerly 'broader') and 'source-is-broader-than-target' (formerly 'narrower') relationships 2020-04-30 22:54:47 -05:00
Grahame Grieve c003f1fca4 Add provenance support for version conversion. + add Provenance rendering 2020-05-01 11:14:29 +10:00
Grahame Grieve bc21de6d78 fix broken test 2020-04-30 14:58:30 +10:00
markiantorno 89f98bb960 I cast you out unclean spirit. 2020-04-29 16:55:40 -04:00
markiantorno 1086a46a6c wip 2020-04-29 14:55:47 -04:00
markiantorno 5893249747 fixing tests 2020-04-29 14:40:46 -04:00
markiantorno 368a45a150 Fix for HAPI-FHIR issue 1820 2020-04-29 14:08:36 -04:00
Grahame Grieve d63e05b3cb Fix problem evaluating "type" discriminators ending with .resolve() + fix NPE in FHIRPath parser 2020-04-29 20:34:18 +10:00
Grahame Grieve 01a5420a68 Generate Narrative correctly for ContactDetails 2020-04-29 14:49:08 +10:00
Grahame Grieve f9bdd5c9f0 fix handling of unknown code systems 2020-04-28 10:14:23 +10:00
Grahame Grieve fdbcbacd1c fix bug in tests 2020-04-27 14:27:25 +10:00
Grahame Grieve 7e3051535d fix error in caching 2020-04-27 14:27:07 +10:00
Grahame Grieve 3d2214d9eb fix definition title for UTG 2020-04-26 15:13:43 +10:00
Grahame Grieve c829de2f86
Merge branch 'master' into testing_updates 2020-04-24 07:20:35 +10:00
markiantorno 0ef4b01e90 disabled test that wasn't supposed to run yet 2020-04-23 14:51:57 -04:00
markiantorno 7673400a13 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into testing_updates 2020-04-23 10:51:49 -04:00
markiantorno 9c83540c2f Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into validator_gui 2020-04-23 10:47:00 -04:00
Grahame Grieve 01e0afd72a get mutli-languages displaying for code systems 2020-04-23 20:57:39 +10:00
Grahame Grieve 4316c81f7e reorganize generation code for terminology resources 2020-04-23 17:31:58 +10:00
Grahame Grieve 8d3a0cf18e fix problem with abstract codes not appearing in value set expansions 2020-04-23 17:29:59 +10:00
Grahame Grieve ce67dabfeb fix problem expanding flat code systems part #2 + fix misleading error message for URI value set validation 2020-04-22 16:45:17 +10:00
Grahame Grieve 4cbf328e54 support validation against code system fragments 2020-04-22 16:43:32 +10:00
markiantorno 4e81bb5edb Test suites are a thing of the past. 2020-04-21 20:36:40 -04:00
markiantorno a7e874501e Tests updated to JUnit Jupiter. Various quality of life improvements. 2020-04-21 20:36:17 -04:00
Grahame Grieve 175d5fa0b7 Release new version 4.2.18 2020-04-21 13:58:17 +10:00
Grahame Grieve 957a71dc41 better debugging of error strings 2020-04-21 13:57:41 +10:00
Grahame Grieve e76c65e6c9 Fix problem expanding flat code systems 2020-04-21 10:00:30 +10:00
Grahame Grieve 8a9bcbf6e6 reorganise to test cross-version extensions 2020-04-17 22:27:02 +10:00
Grahame Grieve ec517834b0 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-04-17 10:58:54 +10:00
Grahame Grieve 4d30314a3d Improve URL validation + fix NPE in Measure validation 2020-04-17 10:58:06 +10:00
Grahame Grieve 549abaa799 more informative error message for package failure 2020-04-17 10:56:20 +10:00
Grahame Grieve b4a9765aa0
Merge pull request #172 from hapifhir/base64_fix
Fix for NPEs in Base64BinaryType. Added tests to cover the cases.
2020-04-17 10:54:18 +10:00
Grahame Grieve 82d80caec5 Allow expansions on code system fragments, with warnings when appropriate 2020-04-17 10:46:09 +10:00
markiantorno d3733b3409 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into validator_gui 2020-04-16 20:28:25 -04:00
markiantorno 8c3e03399e wip 2020-04-16 10:17:33 -04:00
Rob Hausam 118fe3d7e3 Restore expansion version notice capability for multiple versions of same code system. 2020-04-15 02:24:36 -05: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 979bad6af1 Add support for R5 version extensions and using cross version extensions when generating narrative 2020-04-12 22:04:57 +10:00
Grahame Grieve fa9c1cae1d bug fixes for list narrative generation 2020-04-12 08:22:29 +10:00
Grahame Grieve 8431a12195 Pass too-costly note on when including value sets + Improve rendering of value set version dependencies 2020-04-11 19:28:12 +10:00
Grahame Grieve 6e3af326de minor fixes for getting tests passing 2020-04-09 11:33:41 +10:00
Grahame Grieve a261ad0f75 improve error message for randon text in xml format 2020-04-09 10:28:08 +10:00
Grahame Grieve f1594bc133 beef up the Context interface to support package related tracking, and use that to manage UTG resource contention 2020-04-09 10:26:39 +10:00
Grahame Grieve 35074ca0b2 fix bug in ConceptMap rendering for unmapped codes 2020-04-07 14:49:55 +10:00
Grahame Grieve 0e2797827d
Merge pull request #166 from lmckenzi/IdentifyValueSetSystemWithExcludes
The validator currently treats value sets that contain exclude elemen…
2020-04-06 10:18:17 +10:00
Grahame Grieve 12b2011a63 fix bug in ElementModel.Element.setProperty 2020-04-05 20:33:32 +10:00
Lloyd McKenzie f6a5217d98 The validator currently treats value sets that contain exclude elements as ones where a code system cannot be determined. However, that's not appropriate. So long as there's only one *include* for the value set, the presence of excludes are irrelevant. For example, I have a value set that includes all specializations of code X, then explicitly excludes code X. There's only one include and only one system, so it's a perfectly appropriate value set to be bound to a 'code' extension. Stripping out the test that checks for excludes as irrelevant. 2020-04-03 23:20:33 -06:00
Grahame Grieve 31f80f29f8 fix for NPE 2020-04-04 00:01:00 +11:00
Grahame Grieve 6d1fe2ff1e fix apparent bug in Base64binary 2020-04-03 23:59:15 +11:00
Grahame Grieve 8d695bb4c1 Improve List rendering 2020-04-03 12:15:55 +11:00
Grahame Grieve ab581fdf86 further modularise validator and add Measure Validation 2020-04-02 11:05:55 +11:00
Grahame Grieve 95c2f99e7b track libraries (prep for CQL validation) 2020-04-02 11:04:29 +11:00
Grahame Grieve bdad4d9a6b work around issue where constraint.source is not populated properly in base packages 2020-04-02 11:03:35 +11:00
Grahame Grieve 1da57be1c0 support comments in json source when configured to do so 2020-04-02 11:00:42 +11:00
Grahame Grieve 51952c26c1 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-03-31 10:16:04 +11:00
Grahame Grieve d6ee58d47a fix bug with type at root of statement 2020-03-31 10:14:45 +11:00
Grahame Grieve 232f1ff8ff Start building support for measure validation 2020-03-31 10:14:12 +11: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 6baf62eca2 Release new version 4.2.12 2020-03-28 06:50:41 +11:00
Grahame Grieve 60cba0c52c * fix internal exception with missing type in R3 + add missing short definitions from differential format 2020-03-28 06:17:01 +11:00
Grahame Grieve 9a55346de5 fix for parsing nulls when validating 2020-03-28 06:13:31 +11:00
Grahame Grieve 239331ef76 improve parsing error message when parsing json 2020-03-28 06:09:37 +11:00
Grahame Grieve 4f873ebe8b fix tests 2020-03-20 05:42:13 +11:00
Grahame Grieve 427d8ef0ab Fix bug picking correct slice on fixed value 2020-03-20 05:23:55 +11:00
Grahame Grieve 1ad12a4396 Fix bug in testing with multiple contexts for the same version 2020-03-20 05:23:29 +11:00
Grahame Grieve a7cf428fef Validate XML header and syntax issues 2020-03-19 06:17:03 +11:00
Grahame Grieve 1cbb377040 render properties as links when they are URLs 2020-03-17 11:14:42 +11:00
Grahame Grieve ed315a03c0 fix for bug doing comparison 2020-03-17 11:14:07 +11:00
Grahame Grieve 851d1fc228 fix for 1.4.0 problems 2020-03-17 11:13:50 +11:00
patrick-werner 60474cd8c9 moved all Locale/Message handling Code to utils: I18nBase 2020-03-13 18:53:16 +01:00
patrick-werner fe4b4acc3f Merge branch 'i18nUtilities' into i18n_fixes 2020-03-13 18:45:26 +01:00
patrick-werner a44d1c3582 added german translations for new properties
removed unused property, added html message part as property in InstanceValidator
minor fixes
2020-03-13 18:45:12 +01:00
patrick-werner 109b80ed6f start movin i18n code Contexts -> utilities 2020-03-13 09:53:59 +01:00
Grahame Grieve 742f444b53 Release new version 4.2.7 2020-03-13 13:07:01 +11:00
Grahame Grieve d584cdb3a2 remove bogus version support from snapshot tests 2020-03-13 12:50:22 +11:00
Grahame Grieve 78d35ca8c1 put a status on transient value sets 2020-03-13 12:49:27 +11:00
Grahame Grieve 672d458537 put a status on transient value sets 2020-03-13 12:48:45 +11:00
patrick-werner 86711ac16f readding all the i18n work 2020-03-12 23:26:05 +01:00
Grahame Grieve c0c5b7f7ac fix bug validating json primitives that repeat 2020-03-10 17:56:21 +11:00
Grahame Grieve fe188da8bd fix rendering of slicing in profiles 2020-03-06 16:14:00 +11:00
Grahame Grieve 9bbdb8d9b1 Improvements to ValueSet definition rendering 2020-03-06 12:30:13 +11:00
Grahame Grieve 2050052c95 fix problem with bad maps from core spec 2020-03-06 12:28:45 +11:00
Grahame Grieve 323d933f76 fix bug rendering CodeSystem properties 2020-03-04 14:28:38 +11:00
Grahame Grieve bdc473e105 Support exists(criteria) 2020-03-04 14:28:01 +11:00
Grahame Grieve 690f983177 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-03-03 21:25:41 +11:00
Grahame Grieve c86fc8bbb5 improve codesystem property rendering 2020-03-03 21:24:51 +11:00
Grahame Grieve c923cba4e2
Merge pull request #146 from hapifhir/ja_20200302_use_validationoptions
Use ValidationOptions instead of TerminologyServiceOptions
2020-03-03 08:41:15 +11:00
Grahame Grieve 09e3816d37 make ProfileUtilities methods not static 2020-03-03 07:41:34 +11:00
Grahame Grieve 4bc81c0e0c Handle missing terminology server better 2020-03-03 07:39:41 +11:00
jamesagnew 109dea9a02 Use ValidationOptions instead of TerminologyServiceOptions 2020-03-02 06:18:00 -05:00
patrick-werner d84f93e8a8 Merge branch 'master' into i18n
# Conflicts:
#	org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/instance/InstanceValidator.java
2020-03-01 14:50:52 +01:00
Grahame Grieve 95959ed01a enhance snapshot generation tests to allow specifying version for the base 2020-02-28 15:57:21 +11:00
patrick-werner f8d4b2b49d moved Locale to IWorkerContext
moved LocaleHandling into BaseValidator
2020-02-26 13:00:35 +01:00
Grahame Grieve 0bd6a4a7eb more NPE fixes 2020-02-24 12:17:34 +11:00
Grahame Grieve a732847f58 fix for NPE in an IG 2020-02-24 12:12:09 +11:00
Grahame Grieve fe84d9ef42 improve rendering of concept map (relating to the directionality of the relationship codes) 2020-02-22 07:59:10 +11:00
Grahame Grieve cb028e70d3 fix convertors for ConceptMap and remove debugging statement 2020-02-19 09:11:56 +11:00
Grahame Grieve 2a51df3ddf fix rendering of COnceptMap Equivalence when R5 renderer is rendering ConceptMaps converted from old versions 2020-02-18 17:59:21 +11:00
Grahame Grieve 3e4999a440 fix problem generating broken links in bundle rendering 2020-02-18 14:33:06 +11:00
Grahame Grieve daaeb1a540 fix up test 2020-02-18 14:32:23 +11:00
Grahame Grieve a702361057 standardise opacity rating 2020-02-18 14:31:51 +11:00
Grahame Grieve 44b23901a8 core upgrade 2020-02-17 22:27:41 +11:00
markiantorno 3c614058f7 updating unit tests so they pass on my mac. Also updating test to Junit5 2020-02-14 14:03:59 -05:00
Grahame Grieve 6d0650a475 test xhtml lang attribute handling 2020-02-14 10:08:00 +11:00
Grahame Grieve 3363452d1b fix test case for [tmp] on unix 2020-02-13 23:25:34 +11:00
Grahame Grieve 44d41ee523 register additional tests 2020-02-13 21:22:54 +11:00
Grahame Grieve 49a66fe760 fix language to appear in all NarrativeGenerator modes 2020-02-13 21:22:11 +11:00
Grahame Grieve db2c862b1e workaround NPE in summary renderer 2020-02-13 21:21:07 +11:00
Ken Stevens 490aef6f9b fixed Meta.getSecurity(String,String) bug 2020-02-12 20:39:37 -05:00
Grahame Grieve 91e475a1a1 fix Questionnaire EnableWhen validation + fix up tests for public package server 2020-02-13 10:13:35 +11:00
Grahame Grieve fccd3c1871 test for existence of both lang and xml:lang on the xhtml div 2020-02-12 20:24:09 +11:00
Grahame Grieve 4d99bcb0c6 better handling of circular dependencies in snap shot generator 2020-02-12 18:07:21 +11:00
Grahame Grieve 582a2699a5 Add PackageServer Client and tests 2020-02-12 17:53:28 +11:00
Grahame Grieve 3ca01a9659 allow for profiles iiwth no derivation in test cases 2020-02-12 17:53:01 +11:00
Grahame Grieve 8e756de52e handle test that has dep profile with unresolved dependencies 2020-02-12 17:43:44 +11:00
Grahame Grieve 6ec76df7fc Fix generator to add both lang and xml:lang per https://www.w3.org/TR/i18n-html-tech-lang/#langvalues + Fix the generator handle Concept Maps with missing tragets 2020-02-12 17:42:09 +11:00
Grahame Grieve 9bcc947885 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-02-12 09:43:40 +11:00
Grahame Grieve 422a6b09c5
Merge pull request #131 from hapifhir/element_access3
Structure definition error fixed.
2020-02-12 09:10:48 +11:00
markiantorno dc0559c3e7 Fixing class cast exceptions. However build is still failing. 2020-02-11 15:30:37 -05:00
Grahame Grieve 4708fcb49e add support for file: in package version (per NPM spec) 2020-02-09 08:14:30 +11:00
Grahame Grieve 139cd561df Snapshot generation: handle profiles on Bundle.entry.resource properly 2020-02-07 10:27:52 +11:00
Grahame Grieve 408ceb1761 fix bug with sorting where derived profile is adding more slice constraints 2020-01-30 11:05:30 +11:00
Grahame Grieve 9e0e8fec3b fixes for change to validator resolve interface 2020-01-27 21:12:09 +11:00
Grahame Grieve 149f7caad2 fixes in memberOf and add source to resolve() interface 2020-01-27 21:11:33 +11:00
Grahame Grieve 11ba24bf31 more types converted to Coding 2020-01-27 21:09:55 +11:00
Grahame Grieve 33d5462bcd autofix slice names 2020-01-27 21:09:02 +11:00
Grahame Grieve 06d6d9452a autofix slice names + check differentials 2020-01-27 21:08:17 +11:00
Grahame Grieve 1d3d05682c fixes for warnings in IGs 2020-01-22 10:55:47 +11:00
Grahame Grieve 8c7eab4066
Merge pull request #126 from lmckenzi/igpub-validation-fixes
Keep new IGPublisher stuff from raising errors when down-converted to…
2020-01-22 06:30:16 +11:00
Grahame Grieve 9b64f03a3e
Merge pull request #104 from ahdis/oliveregger_fmltests
FML updates for tests and validator
2020-01-22 06:17:10 +11:00
Lloyd McKenzie 01c34f6dd3 Keep new IGPublisher stuff from raising errors when down-converted to R4. Also changed Spreadsheet extension so it doesn't raise errors when used. 2020-01-20 18:41:06 -07:00
Grahame Grieve df9a05b56a fix error message 2020-01-21 12:22:53 +11:00
Grahame Grieve 300c87a657 better validation of example references by validator 2020-01-21 11:38:05 +11:00
Grahame Grieve d4701a2cad track issues with sorting diffs into qa.html 2020-01-21 11:37:01 +11:00
Grahame Grieve 240e412cf6 Release new version 2020-01-20 21:56:07 +11:00
Grahame Grieve 975abb32f1 fix bug 2020-01-20 21:55:08 +11:00
Grahame Grieve 459ce57793 improve doco 2020-01-20 21:54:42 +11:00
Grahame Grieve a7adae8d74 improve debugging for Parameters 2020-01-20 21:54:17 +11:00
Grahame Grieve d80d3efed2 add identifier to terminology capabilities 2020-01-20 21:53:50 +11:00
Grahame Grieve 9efeb6843c improve reference conversion 2020-01-20 21:52:30 +11:00
Grahame Grieve 125fafe92e improve error messaging 2020-01-20 21:51:38 +11:00
Grahame Grieve 2ce844175f fix bugs with extension context checking 2020-01-19 16:53:48 +11:00
Grahame Grieve 6d87bebfe3 implement contextInvariant, and finish implementing memberOf 2020-01-17 21:41:33 +11:00
Grahame Grieve 6300ba24b7 rebuild instance validator to get reference profile checking working properly, many downstream issues with validation uncovered and fixes 2020-01-17 10:51:42 +11:00
Grahame Grieve 8482ba43c5 refactor profile handling in validator 2020-01-16 23:37:30 +11:00
Grahame Grieve 494b268d0b fix bug in Element.toString 2020-01-16 23:36:57 +11:00
Grahame Grieve e0add75d2f fix bug analysing types 2020-01-16 23:36:18 +11:00
Grahame Grieve c13de56203 fixes to snapshot generation and validation for Bundle.tnry slicing by resource profile 2020-01-15 17:55:24 +11:00
Grahame Grieve a28261abc6 move turtle tests to non-version specific test folder 2020-01-15 08:06:51 +11:00
Grahame Grieve c8c5c0e769 fix bug in slice names for primitive types on choices 2020-01-14 14:29:54 +11:00
Grahame Grieve 854ebc35a4 fix snapshot generation problem when profiling extensions in R3 2020-01-14 10:40:15 +11:00
Grahame Grieve 562b888da4 fix openapi issue 2020-01-13 18:00:46 +11:00
Grahame Grieve 644c07429c fix hint box = null error 2020-01-13 14:25:51 +11:00
Grahame Grieve f3d39b4112 fix error with null in hint boxes 2020-01-13 14:25:26 +11:00
Grahame Grieve 02a8d9dad7 fix rendering of types in CCDA spec 2020-01-13 13:02:12 +11:00
Grahame Grieve b249ab4dd3 fix bug evaluating type when no type provided 2020-01-13 13:01:08 +11:00
Grahame Grieve 2ca363a88f better debugging loading context 2020-01-13 13:00:33 +11:00
Oliver Egger b1802ac30e serialize item() func as [] and not .[] 2020-01-11 00:10:08 +01:00
Oliver Egger 0ad3882132 FML updates for tests and validator 2020-01-11 00:10:07 +01:00
Grahame Grieve 377aaed23c Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-01-11 06:25:03 +11:00
Grahame Grieve 1e49751242 code generation clean up 2020-01-11 06:23:00 +11:00
Grahame Grieve ef085a847e fix how CodeableConcept is validated, and add Tx interaction logging by validator 2020-01-11 06:22:16 +11:00
Grahame Grieve 46e1e5edd4 Improved handling of profiles with no derivation 2020-01-11 06:19:00 +11:00
Oliver Egger 9b2917e3e7 reference should return string 2020-01-09 23:23:56 +01:00