Commit Graph

408 Commits

Author SHA1 Message Date
Oliver Egger 101b1c7cde revert, but escape only < ' ' char 2021-01-02 13:08:01 +01:00
Oliver Egger 21479bffa7 don't escape umlaut in utf8 2021-01-02 13:08:01 +01:00
Grahame Grieve 3ba81328cc * More rules around URL validation, instead of just marking them as errors
* Don't report errors for extensible bindings when profiles apply required bindings
* fix rendering issue with profile references
* only use c:\temp if it's writeable
2020-12-24 13:21:30 +11:00
Grahame Grieve c4db541d7e fix up validation for R2B issues (value set references, profiled types) 2020-12-18 22:45:39 +11:00
Grahame Grieve 836863e372 allow for URLs that are references to ISO standards (urn:std:) 2020-12-18 22:44:23 +11:00
Grahame Grieve 52fae6d285 #399: fix bad error message in german 2020-12-15 14:30:44 +11:00
Grahame Grieve e2a8581a3b improve error message for FHIRPath errors when slicing 2020-12-10 13:50:20 +11:00
Grahame Grieve 1532a038c9 Validate that binding references are present, and are for value sets 2020-12-09 10:06:20 +11:00
Grahame Grieve 7de14f172e
Fix validation issues for StructureDefinitions (#396) 2020-12-04 16:11:52 -05:00
Grahame Grieve 7d95b27c1f fix validation of profiles and target profiles in all versions (before R3 different rules) 2020-12-03 16:57:53 +11:00
Grahame Grieve d4b46e32bf Improve security warnings about rogue HTML tags 2020-12-03 12:56:28 +11:00
Grahame Grieve 2f69a6734c escape | in URLS for terminology service 2020-12-03 12:55:51 +11:00
Grahame Grieve 87e8f5a36a Add new validation to check these words in R3+: "Except for transactions and batches, each entry in a Bundle must have a fullUrl which is the identity of the resource in the entry" 2020-12-01 14:52:41 +11:00
Grahame Grieve 1e16f02b48 Fix bug in package loader - allow loading version with later patch if old version is missing 2020-12-01 14:51:19 +11:00
Grahame Grieve 65a17e6bd8 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-11-30 06:53:26 +11:00
Grahame Grieve 9080a24c29 sync up 2020-11-30 06:53:15 +11:00
Mark Iantorno 9913168321
Pay no attention to the man behind the curtain (#388)
* added back in help file, and removed network logging

* avoid checking ssl certs for build server

* fixing help file loading from cli jar
2020-11-28 09:47:19 -05:00
Grahame Grieve d4087590bf
hopefully final prep for 5.2.2 (#387)
* Add on the fly retrieval of profiles in the validator, and fix bug where validator reported 'not done yet' for invalid contained references.

* fix loading issue for content references in versions before R3

* fix content resolution issue for versions from before 3

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

* Fix for wrong reference to Any in cross version extensions

* fix test case reference

* fix mistake generating snapshots around element ids

* fix tests
2020-11-27 09:20:49 -05:00
Grahame Grieve 624ce59c83 Add on the fly retrieval of profiles in the validator, and fix bug where validator reported 'not done yet' for invalid contained references. 2020-11-27 10:34:43 +11:00
Grahame Grieve b7d3f36f86 fix package loading issues 2020-11-18 21:05:16 +11:00
Grahame Grieve 4088dddaee fix bug where end of stream is read wrongly parsing XHTML (+ test case) 2020-11-14 08:17:48 +11:00
Grahame Grieve c6a2fb375c allow lazy loading of special packages 2020-11-14 08:17:14 +11:00
Grahame Grieve 8c0523f3fa Fix bug in unknown URL handling that could cause significant delays in validation (>1min / unknown URL) 2020-11-13 14:36:10 +11:00
Grahame Grieve ef3e34ae01 * add styling when adding markdown to table
* don't apply warning about reference content when it's used as a pattern
2020-11-11 10:12:48 +11:00
Grahame Grieve f23114f901 * fix for NPE in version string comparison 2020-11-11 10:11:40 +11:00
Grahame Grieve 4e602b07e9 fix problem rendering multiple manifestations for an allergy reaction 2020-11-11 10:04:47 +11:00
Grahame Grieve ca48cf7f79 * Don't render id/base/other properties of Resource itself in auto-narrative generator
* fix bug where extension values not generated for simple extensions
2020-11-05 14:12:57 +11:00
jamesagnew 943bc7413c Add more tests 2020-11-01 21:09:11 -05:00
jamesagnew 0c01404a4f Improve numeric comparison 2020-11-01 21:09:11 -05:00
Grahame Grieve bc1d67db96 * fix bug checking unfixed values for HumanName patterns
* fix bug checking patterns (missed in some circumstances)
* fix bug checking type of resources in bundles
* improve messages around cardinality errors in profiles
2020-10-29 14:03:08 +11:00
Grahame Grieve 49fbc739fd improved markdown support in table generator 2020-10-29 14:00:21 +11:00
Grahame Grieve 4c421eefd7 * Render binding description in profile tables if it doesn't contain paragraphs
* fix bug with wrong value for contentReference in derived profiles (profiles do not and cannot change the value)
2020-10-29 13:56:56 +11:00
Mark Iantorno e1ecd06282
Validator 2 (#366)
* changes to accomodate front end gui for validator wrapper

* removing debug code
2020-10-19 16:39:22 -04:00
Mark Iantorno 36fa3a97af
Validator cleanup (#365)
* cleaning up validator class

* wip

* I left my debug code in
2020-10-16 10:44:01 -04:00
Grahame Grieve 1569532a1c Validate Profile on type in profile - must be for the right type 2020-10-14 13:21:50 +11:00
Grahame Grieve d20582ca9d revise error message when can't connect to the terminology server 2020-10-08 20:59:39 +11:00
Grahame Grieve cb25ef1bd1 Add text separator system 2020-10-08 20:59:10 +11:00
Grahame Grieve c82c71894f Add UTG version revision engine 2020-10-08 20:58:28 +11:00
Grahame Grieve 3e6863ef70 Support for additional checking in IG Publisher 2020-10-01 11:05:24 +10:00
Grahame Grieve 77d33e8afa Fix comment parsing and add focus to FHIRPath function extensions 2020-10-01 11:04:34 +10:00
Grahame Grieve 2e8953a81d add search on IG registry to PackageClient 2020-10-01 11:00:31 +10:00
Grahame Grieve 46d1987cd0 refactor FHIRPath to report error locations for run time errors 2020-09-30 12:10:59 +10:00
Grahame Grieve 5be73ff9c5 rename org.hl7.fhir.utilities.cache to org.hl7.fhir.utilities.npm 2020-09-30 09:24:26 +10:00
Grahame Grieve bcb2d8e148 fix questionnaire mode support for validator 2020-09-30 09:23:54 +10:00
Grahame Grieve dfaefde01a add <code> when rendering turtle to HTML 2020-09-25 03:26:48 +10:00
Grahame Grieve 73d5a845bf Add new validation for must-support on types / profiles / targets + improve extension validation 2020-09-25 03:25:59 +10:00
Grahame Grieve cc64eb7fea fix bad package URLs as they are loaded 2020-09-22 22:02:01 +10:00
Grahame Grieve 6fb4610b5f fix for use of "current" as version 2020-09-22 22:01:37 +10:00
Grahame Grieve 3c0b20eb16 Add quality code (yet to turn it on) 2020-09-22 02:34:04 +10:00
Grahame Grieve eba38941d3 fix resource leaks 2020-09-21 19:55:51 +10:00