Commit Graph

755 Commits

Author SHA1 Message Date
Grahame Grieve e33ffca749 FHIRPath engine: correction for allowing boolean conversion of primitive types 2020-09-17 15:44:45 +10:00
Grahame Grieve 9d22337929 fix value set validation for primitive types when an expansion is provided, and the code system is not known 2020-09-17 15:42:45 +10:00
Grahame Grieve 2e7e277c97 Prevent NPE resolving resource in batch 2020-09-17 15:42:03 +10:00
Grahame Grieve 3464643921 Prevent NPE when auto-generating narrative and an illegal resource type is encountered 2020-09-17 15:41:32 +10:00
Grahame Grieve 8ce405cc4d special case support for fr-CA language 2020-09-17 15:40:46 +10:00
Grahame Grieve 54d320bb7b Don't make a column for definitions in a code system if there are none 2020-09-17 15:40:06 +10:00
Grahame Grieve 66f0b35a38 FHIRPath - support lenient mode on polymorphics 2020-09-16 13:08:02 +10:00
Grahame Grieve da113e25b6 remove commented out code 2020-09-15 10:57:21 +10:00
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
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
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