Commit Graph

949 Commits

Author SHA1 Message Date
Grahame Grieve 48dca881f3 fix bug in path names for CDA 2020-09-15 10:25:23 +10:00
Grahame Grieve db8f28ea51 fix issue rendering translations in value sets 2020-09-14 18:09:40 +10:00
Grahame Grieve 6f149e691c Fix issue with finding duplicate ids in profiled bundles 2020-09-14 18:09:20 +10:00
Grahame Grieve 8855fe1bc6 Fix bug generating copyright 2020-09-14 18:08:44 +10:00
Mark Iantorno 78b61c4555
Tests should all run now (#343) 2020-09-09 12:33:38 -04:00
Grahame Grieve 14348bb6f1 Fix bug becuase Operation doesn't have copyright. 2020-09-09 13:33:55 +10:00
Grahame Grieve f696804509 Fix tests 2020-09-09 12:46:04 +10:00
Grahame Grieve 4616da8a82 fix error generating error message in rendering 2020-09-09 11:48:51 +10:00
Grahame Grieve b9bef4c3c8 fix problems generating snapshots in publisher when some profiles are not valid 2020-09-09 11:48:11 +10:00
Grahame Grieve 295b1659af Fix for FHIR path tests after discussion on Zulip 2020-09-09 11:47:23 +10:00
Lloyd McKenzie f2699a1d50 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-09-08 08:00:41 -06:00
Grahame Grieve 4dd89160dd Add validation for html block elements inside paragraphs 2020-09-08 12:45:13 +10:00
Grahame Grieve 4c245ea3e3 Fix issues with generating invalid html 2020-09-08 12:43:56 +10:00
Grahame Grieve 227bccbb35 fix for empty markdown + rendering improvements for Bundles 2020-09-07 13:08:21 +10:00
Grahame Grieve f2f53c7872 FHIR Path fixes for reconciled tests 2020-09-07 13:07:21 +10:00
Grahame Grieve 2adb9a7b68 Add support for choice groups, and markdownify some elements 2020-09-04 16:23:27 +10:00
Grahame Grieve a964d4fcd5 Fix up rendering of Extensions 2020-09-04 16:22:09 +10:00
Grahame Grieve fc7f71c1f6 rework rendering tests & fix bug in Parameters renderer 2020-09-02 16:34:34 +10:00
Grahame Grieve e1f53eec47 Mark packages as unsuitable for publication 2020-09-02 16:34:06 +10:00
Lloyd McKenzie 0191bfbbfb Fix typo in ParametersRenderer and flag additional issue 2020-09-01 21:52:45 -06:00
Grahame Grieve 90074b6849
Merge pull request #321 from ahdis/oe_logicalmodel_nonamespace
handling xml without namespace in logical models
2020-09-01 08:11:29 +10:00
Grahame Grieve aa9524ed93
various validation fixes (#327)
* Fix must support rendering of pattern values

* Add time tracking for progress reporting

* Add parent tracking for Validation support of nested bundles

* fix rendering of Documents

* rework validation output + fix up package loading in validator
2020-08-31 14:53:34 -04:00
Grahame Grieve 2e5dd95ede fix rendering for must-support to not render empty values in patterns 2020-08-27 16:22:51 +10:00
Grahame Grieve 9578933704 control over aggregation validation 2020-08-27 16:22:21 +10:00
Grahame Grieve de5310c13a remove spurious log outputs 2020-08-27 12:36:50 +10:00
Grahame Grieve e669103aa7 upgrade to pass new reconciled tests 2020-08-27 12:36:10 +10:00
Grahame Grieve 765f24a233 fix bug in code system comparison 2020-08-27 12:33:13 +10:00
markiantorno dcf3f5f218 Upping UCUM dependency, fixing old junit dependencies 2020-08-26 17:26:39 -04:00
Oliver Egger 23cce5b0a7 handle xml default namespace for logical model 2020-08-26 16:53:50 +02:00
Grahame Grieve f52297ae26
Merge pull request #318 from ahdis/oe_structuremaps
structure maps: line comments and fhir path expression
2020-08-26 12:51:10 +10:00
Grahame Grieve 1625c171ae Fix bug where discriminating on erroneous URL 2020-08-26 10:35:04 +10:00
Oliver Egger 8f302e0063 mend 2020-08-25 23:34:33 +02:00
Oliver Egger f0667ed3e2 extended line comment support and not quoting fhirpath expressions 2020-08-25 22:02:01 +02:00
Oliver Egger 381525fc17 extend tests for structuremaps text serializing 2020-08-25 22:00:00 +02:00
Grahame Grieve 0287248a48 work on oid to URI conversion - scope and efficiency 2020-08-24 17:14:49 +10:00
Grahame Grieve eb228bd1e3 Add round trip tests and add fix for round-tripping issue 2020-08-21 15:27:38 +10:00
Grahame Grieve 8ee4eff74c fix default value for validator setting + hack work around for R5 broken process 2020-08-20 21:00:11 +10:00
Grahame Grieve 5fc297b3b5 Upgrade R5 to latest version 2020-08-20 20:37:10 +10:00
Grahame Grieve ced57a5dfe
minor fixes to support main build (#311)
* fix up POMs

* fixes for main build to use packages

* more config for validator

* more options for validation version comparison

* clear notes

* more work on better presentation for comparison

* Remove old comparison code

* remove old comparison code

* fix loading bug

* fix to not load Simplifier packages via lazy loading
2020-08-18 09:27:02 -04:00
Grahame Grieve eb23fcc5e4
more config for validator (#309)
* fix up POMs

* fixes for main build to use packages

* more config for validator

* more options for validation version comparison
2020-08-17 09:53:54 -04:00
Grahame Grieve cbf70365f1 fix value set validation to deal with multi-heirarchy 2020-08-16 06:48:06 +10:00
Grahame Grieve 7771c7f231 Significant improvement to performance rendering value sets, and only use server side caching if the server declares it supports it 2020-08-14 08:09:02 +10:00
Grahame Grieve db56dfb888 fix NPE? 2020-08-13 18:53:36 +10:00
Grahame Grieve 67f7176d3b more work on timeouts 2020-08-13 17:58:36 +10:00
Grahame Grieve dc2126c786 adjust exception type 2020-08-13 17:58:03 +10:00
Grahame Grieve 63b93480d9 hack workaround for UTG NUCC problem. 2020-08-13 17:57:38 +10:00
Grahame Grieve 0b57d266cd more work on comparison 2020-08-13 17:57:14 +10:00
Grahame Grieve c5f4d2396f more work on code validation 2020-08-13 14:28:28 +10:00
Grahame Grieve fa89778809 Handle unknown code systems better when checking codes from unknown systems 2020-08-13 12:36:36 +10:00
Grahame Grieve 008dc84546 Use server side caching to reduce the bandwidth utilitization 2020-08-13 08:14:54 +10:00
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