Commit Graph

976 Commits

Author SHA1 Message Date
Grahame Grieve 5187fdd398 fix issues related to R4B generation 2021-03-12 06:28:56 +11:00
Grahame Grieve 7c48c0d66a
Gg 20201mar r4b 3 (#454)
* fix bug generating htmlized XML with no namespaces

* Add R4B support to FHIRVersions

* Add resource name mapping for DataRequirement

* R4B fixes

* release notes
2021-03-10 09:08:09 -05:00
Grahame Grieve 3d312a1863 fix bug generating htmlized XML with no namespaces 2021-03-06 08:57:44 +11:00
Mark Iantorno dfc59882ca
the validator front end needs these changes (#450) 2021-03-04 20:38:01 -05:00
Grahame Grieve b252b56c31 fix bug in profile validation 2021-03-04 07:27:58 +11:00
Grahame Grieve 14dc86e3a2 Fix bug in profile validation 2021-03-04 07:27:11 +11:00
Grahame Grieve cd7a8d39e7 * Improve terminology validation error messages
* add additional validation on profiles around types (for logical models)
2021-03-03 13:30:58 +11:00
Grahame Grieve a51a8c003d fix issue with snapshot generation for logical models (CCDA) 2021-03-03 13:18:44 +11:00
Lloyd McKenzie d0df12b85f Revert to current content on HAPI 2021-02-08 08:40:11 -07:00
Lloyd McKenzie b91b68d1a2 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core
# Conflicts:
#	org.hl7.fhir.convertors/pom.xml
#	org.hl7.fhir.dstu2/pom.xml
#	org.hl7.fhir.dstu2016may/pom.xml
#	org.hl7.fhir.dstu3/pom.xml
#	org.hl7.fhir.r4/pom.xml
#	org.hl7.fhir.r5/pom.xml
#	org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/conformance/ProfileUtilities.java
#	org.hl7.fhir.report/pom.xml
#	org.hl7.fhir.utilities/pom.xml
#	org.hl7.fhir.utilities/src/main/resources/Messages.properties
#	org.hl7.fhir.validation.cli/pom.xml
#	org.hl7.fhir.validation/pom.xml
#	org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/instance/InstanceValidator.java
#	pom.xml
2021-02-08 08:22:58 -07:00
Grahame Grieve 82edacbde4
Merge pull request #434 from hapifhir/gg-2021-feb-1
Gg 2021 feb 1
2021-02-08 13:28:31 +11:00
Grahame Grieve ef3b8c1f0a Fix bug validating mime types without terminology serverBase (warning, not error)
Performance improvements in JSON metadata based parser
Add first round of supplement validation
improve error message on profile validation fail
fix NPE validating some slices
fix bug validating canonicals as part of choice data types
Adds special support for http://hl7.org/fhirpath/System.* types
fix bug matching slices in contained resources that have references to #
2021-02-08 09:40:25 +11:00
Grahame Grieve 5b8aec8a06
Merge pull request #410 from rajavpr/UnknownHostException
Fix for UnknownHostException
2021-02-08 06:56:23 +11:00
Grahame Grieve da563a6637
Merge pull request #411 from ahdis/oe_fhir-28413
[FHIR-28413]: noNamespace instead of default for Logical Models not having a namespace
2021-02-08 06:46:30 +11:00
Grahame Grieve 00410604d7 Improve validator error messages for bad json & turtle formats 2021-01-20 16:53:14 +11:00
Grahame Grieve e0dabe6f33 fix profile generation issues 2021-01-14 12:21:33 +11:00
Oliver Egger c16573962b noNamespace instead of default 2021-01-02 14:19:04 +01:00
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
rajavpr 17d375b43e
Fix for UnknownHostException
Error connecting to build server - running without build (build.fhir.org)
java.net.UnknownHostException: build.fhir.org
	at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:220)
	at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403)
	at java.base/java.net.Socket.connect(Socket.java:608)
	at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:285)
	at java.base/sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
	at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:182)
	at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)
	at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569)
	at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:265)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:372)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1187)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1592)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:250)
	at org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.loadFromBuildServer(FilesystemPackageCacheManager.java:645)
	at org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.checkBuildLoaded(FilesystemPackageCacheManager.java:631)
	at org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.getPackageIdFromBuildList(FilesystemPackageCacheManager.java:593)
	at org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.getPackageId(FilesystemPackageCacheManager.java:565)
	at org.hl7.fhir.validation.cli.services.StandAloneValidatorFetcher.resolveURL(StandAloneValidatorFetcher.java:87)
	at org.hl7.fhir.validation.ValidationEngine.resolveURL(ValidationEngine.java:1738)
	at org.hl7.fhir.validation.instance.InstanceValidator.checkPrimitive(InstanceValidator.java:1954)
2020-12-30 15:43:03 +05:30
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
Grahame Grieve 4a4105413f Improve Library rendering 2020-09-21 07:08:05 +10:00
Grahame Grieve 75921b723b
Various fixes (#348)
* depend on 1.1.42-snapshot

* Don't make a column for definitions in a code system if there are none

* special case support for fr-CA language

* Prevent NPE when auto-generating narrative and an illegal resource type is encountered

* Prevent NPE resolving resource in batch

* fix value set validation for primitive types when an expansion is provided, and the code system is not known

* FHIRPath engine: correction for allowing  boolean conversion of primitive types

* Fix handling resources in bundles when type is profiled

* Add test cases for wildcard versions

* release notes
2020-09-17 09:52:05 -04:00
Grahame Grieve 0dcf64cb70 Add test cases for wildcard versions 2020-09-17 17:04:42 +10:00
Grahame Grieve 697b23e855 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-09-17 16:48:45 +10:00
Grahame Grieve 9e066e637a
Merge pull request #340 from ahdis/oe_ig_dependencies_allowwildcardforpatch
add patch wildcard for ig dependencies
2020-09-17 16:48:19 +10:00
Grahame Grieve fa778fbf03 Fix handling resources in bundles when type is profiled 2020-09-17 15:45:47 +10:00
Grahame Grieve 9fc8b35797 Fix issue with discriminating by address and human name 2020-09-14 18:10:31 +10:00
Grahame Grieve a47ac539a5 Fix bug loading implied packages with no version 2020-09-09 11:51:09 +10:00
Oliver Egger 6b1ae88e24 add patch wildcard for ig depencies 2020-09-08 09:27:32 +02:00
Grahame Grieve 1ebd74f0d0 Add release notes 2020-09-08 14:01:33 +10:00
Grahame Grieve 41d40e7f94 More validation for HTML structure 2020-09-08 12:45:58 +10:00
Grahame Grieve 4dd89160dd Add validation for html block elements inside paragraphs 2020-09-08 12:45:13 +10:00
Grahame Grieve 227bccbb35 fix for empty markdown + rendering improvements for Bundles 2020-09-07 13:08:21 +10:00
Grahame Grieve b47a1da054 Add check for UCUM annotations + add ValidationControl for hosting the validator in external processes 2020-09-07 13:06:43 +10:00
Grahame Grieve a964d4fcd5 Fix up rendering of Extensions 2020-09-04 16:22:09 +10:00
Grahame Grieve e1f53eec47 Mark packages as unsuitable for publication 2020-09-02 16:34:06 +10:00
Grahame Grieve 89b0e0a32b Fix NPE in validator and add more validation for bad references 2020-09-01 09:43:21 +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 9578933704 control over aggregation validation 2020-08-27 16:22:21 +10:00
Grahame Grieve e669103aa7 upgrade to pass new reconciled tests 2020-08-27 12:36:10 +10:00
Oliver Egger 23cce5b0a7 handle xml default namespace for logical model 2020-08-26 16:53:50 +02:00
Grahame Grieve bec72616e0 Add details for better error messages on bad code system urls 2020-08-24 17:15:37 +10:00
Grahame Grieve 0287248a48 work on oid to URI conversion - scope and efficiency 2020-08-24 17:14:49 +10:00
Grahame Grieve fe7efcf5a2 Fix bugs in PHINVads importer 2020-08-22 08:09:50 +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 9a51722ee0 Add PhinVads Importer 2020-08-20 20:37:30 +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 2c0fe519cb
more work on code validation (#306)
* Handle unknown code systems better when checking codes from unknown systems

* more work on code validation

* more work on comparison

* hack workaround for UTG NUCC problem.

* adjust exception type

* more work on timeouts

* improve error message

* fix NPE?

* release notes

* Improve error message
2020-08-13 09:47:05 -04:00
jamesagnew 98ba0506c2 Version bump to 5.1.0 2020-08-11 17:41:20 -04: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 7f79342447
Merge pull request #298 from hapifhir/gg-v3-parser-test
Add test case for Json resource parsing
2020-08-11 12:42:27 +10:00
markiantorno 5fba875d8b Fix for failing ActivityDefinition-referralPrimaryCareMentalHealth.json test 2020-08-10 21:57:55 -04:00
Grahame Grieve 20a7682c96 Add support for bundle profile parameter 2020-08-11 06:40:11 +10:00
Grahame Grieve 83dc198dd1 enforce case consistency when loading test cases directly 2020-08-11 06:39:28 +10:00
Grahame Grieve 1555849e9a updates to PR 2020-08-11 05:44:13 +10:00
Grahame Grieve f8b4d73f8b prevent NPE loading old packages 2020-08-10 15:55:32 +10:00
Grahame Grieve b6b810ce29 fix for all packages release with wrong urls 2020-08-10 15:54:40 +10:00
Grahame Grieve f73147523a
Gg v5.0.20 work (#294)
* ongoing work around connection problems with tx.fhir.org

* fix for bug processing CCDA constraints (logical model constraints)

* fix for bug loading Measures from packages

* fix NPEs loading invalid packages

* Start Working on i18n for Rendering + Fix case bug rendering bundles and parameters

* Fix for problem with expansion code checking and incomplete value sets

* release notes
2020-08-06 10:51:05 -04:00
Mark Iantorno aa982232ce
I had the code written already, so let's put it in. (#293)
* I had the code written already, so let's put it in.

* renaming and moving Utilities tests class to conform to best practices.
2020-08-06 07:28:17 -04:00
Grahame Grieve 1e7eb4aa1b Work around IPS path issues 2020-08-06 07:38:54 +10:00
Grahame Grieve c70c43271a fix questionnaire rendering to create valid resources 2020-08-06 07:38:20 +10:00
Grahame Grieve 6bdde22026 no validation for CanonicalResource.url (further work needed) 2020-08-03 18:16:00 +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 1888925293 upgrade version of pubpack 2020-07-31 12:52:02 +10:00
Grahame Grieve eee552cdde Fix errors in StructureDefinition validation 2020-07-30 12:03:34 +10:00
Grahame Grieve 78dd110814 fix cqfmeasures url 2020-07-28 12:45:33 +10:00
Grahame Grieve a41956e57c improve error message 2020-07-27 22:39:41 +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 04aef18307 utils support 2020-07-25 08:40:37 +10:00
Grahame Grieve 115fa8a497 add automatic loading of package dependencies by the context 2020-07-25 08:38:13 +10:00
Grahame Grieve 88ea3f45b4 add package url fixer 2020-07-22 12:27:24 +10:00
Grahame Grieve f6c7d294c4 fix problem validating search parameter derivation 2020-07-22 08:10:12 +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 c53db20879 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-07-20 22:58:16 +10: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
Keith Carlson Jr 77c1890ad2
adding case for when c:\temp does not exist on windows machine (#278) 2020-07-17 15:00:10 -04:00
Grahame Grieve 9bbe5ab5c8 improve rendering of contained resources 2020-07-17 13:42:44 +10:00
Grahame Grieve f3b1f16f39 add test for pubpack - make sure that it is working 2020-07-17 09:30:58 +10:00
Grahame Grieve 70b3cb73cf new errors for html checking 2020-07-17 09:30:03 +10:00
Grahame Grieve 847858c131 Add parsing DTD entity declarations 2020-07-17 09:26:54 +10:00
Grahame Grieve 4dc78b5b3c add support for table row opacity 2020-07-16 09:19:40 +10:00
Grahame Grieve 9ccb37a0ba fix issues in MeasureReport validation 2020-07-15 16:45:21 +10:00
Grahame Grieve fa7de3a308 more FHIRPath engine into i18n framework 2020-07-14 08:16:56 +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 c6e424d50d Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into gg-work 2020-06-26 06:05:25 +10:00
Grahame Grieve 44d7a59115 Add value set validation 2020-06-25 17:10:24 +10:00
Grahame Grieve 9dd0e06d9c fix error message for unknown package 2020-06-25 17:10:06 +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 0c7cde13e2 fix default value for warnAboutMissingMessages 2020-06-25 09:17:57 +10:00
Mark Iantorno 7bbbd7af0a
Gpg profile (#258)
* removing old pipeline files

* adding gpg profile
2020-06-24 17:27:14 -04:00
Grahame Grieve c2c10872e1 Allow to suppress the warning message about unknown messages from translation layer 2020-06-24 15:06:27 +10: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 8ed7b89dde Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into gg-work 2020-06-20 05:47:04 +10:00
Mark Iantorno c1f5244873
Adding more verbose output for bad file path validator input (#249)
* Adding more verbose output for bad file path validator input

* Moving error output to i18n tooling. Adding tests to tooling, and addressing some issues with i18n implementation.

* Apparently the intended behavior is to not tell the user if they are localizing a string that doesn't exist.
2020-06-19 09:28:36 -04:00
Grahame Grieve 2139a54a87 fix for invalid OperationOutome if nothing is wrong 2020-06-19 11:29:54 +10:00
Grahame Grieve 07f842bffe fix bug reading old packages 2020-06-18 18:19:11 +10:00
Grahame Grieve 2128128072 Improve error message associated with slicing failure 2020-06-12 09:36:12 +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 5f1d6e193c first release of functional Profile comparison on new framework 2020-06-11 16:40:57 +10:00
Oliver Egger ebc2a7a6ba don't escape umlaut in elem utf8 2020-06-10 19:50:52 +02:00
Grahame Grieve c26b331850 more work on profile comparison 2020-06-09 17:22:37 +10:00
Grahame Grieve 6b7aa93dc7 fix bug in XML parser for Validator 2020-06-09 17:20:35 +10:00
Grahame Grieve 17fb1462c4 fix Attachment check, and add Validator Security checks 2020-06-09 17:19:06 +10:00
Grahame Grieve 94467b270a standardise terminology client across versions 2020-06-07 08:42:14 +10:00
Grahame Grieve 79ac6dc7b8 fix for issue #187 2020-06-06 07:19:34 +10:00
Grahame Grieve b3c8cae61d Issue #189 - improve Questionnaire error message 2020-06-06 07:17:12 +10: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 a6b924220c Change the way local test file short cut works 2020-06-04 05:03:19 +10: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
jamesagnew 20fab5e047 Rework package generator 2020-06-02 18:16:08 -04:00
jamesagnew 6534a5358b Merge branch 'master' into ja_20200524_npm_rework 2020-06-02 18:02:51 -04:00
jamesagnew 56d933199c A bit of package rework 2020-06-02 18:02:25 -04:00
Grahame Grieve 7ac1b1f0e0 implement new FHIRPath functions 2020-06-03 06:52:47 +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
markiantorno 8aee1e2e6b Adding back in local file read 2020-06-02 09:40:33 -04:00
markiantorno 8a7737cac0 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into utilities_test_cases 2020-06-02 09:28:28 -04:00
jamesagnew 0d8cab0b6e A bit more rework 2020-06-02 07:45:54 -04:00
Grahame Grieve 314ca0c35c Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-06-02 13:52:41 +10:00
Grahame Grieve f1d901a842 Support for rendering contained resources in IG Publisher 2020-06-02 13:52:28 +10:00
markiantorno 06b2cac048 fixing tests to run on CI 2020-06-01 15:26:26 -04:00
markiantorno c17fb9b6b2 wip 2020-06-01 11:53:44 -04:00
markiantorno ea7b9de3c5 tmp directory doesn't exist on unix based machines by default. I modified the ComparisonTests to create the test file and contained directories if that file doesn't already exist so that tests will now pass again 2020-06-01 10:10:24 -04:00
jamesagnew 17411a3659 Merge branch 'master' into ja_20200524_npm_rework 2020-05-30 12:07:17 -04:00
jamesagnew 223ac04238 Merge branch 'ja_20200524_npm_rework' of github.com:hapifhir/org.hl7.fhir.core into ja_20200524_npm_rework 2020-05-30 11:08:42 -04:00
jamesagnew 9fe0688ee5 Work on rework 2020-05-30 11:08:33 -04:00
Grahame Grieve 13091bbecd ping build 2020-05-30 12:42:45 +10:00
Grahame Grieve 4af4925657 move turtle parser + tests to Utilities 2020-05-30 09:38:48 +10:00
jamesagnew 91e2d227fb Compile fixes 2020-05-28 21:07:18 -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
jamesagnew c0f6366626 NPM rework 2020-05-27 05:27:44 -04:00
Grahame Grieve 998d1e0afc Release new version 5.0.4 2020-05-27 11:06:30 +10:00
Grahame Grieve c66bfec06b update dependency on pubpack 2020-05-27 09:28:55 +10:00
Grahame Grieve 4ee25ee1d0 remove spurious debugging code 2020-05-27 08:34:28 +10:00
Grahame Grieve d7788c7945 fix bug loading packages 2020-05-27 08:34:02 +10:00
Grahame Grieve 70c75fde62 fix problem with package cache corruption when different processes install the same package at the same time 2020-05-27 07:08:36 +10:00
Grahame Grieve ccb6b067b3 Release new version 5.0.3 2020-05-26 06:15:36 +10:00
jamesagnew 37f6a6ed8c Package manager 2020-05-24 18:26:03 -04:00
jamesagnew 444b612805 Start reworking NPM manager 2020-05-24 15:02:37 -04:00
Grahame Grieve ad82386a9c More questionnaire rendering improvements 2020-05-23 08:16:03 +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 e2c955a8f4 fix bug generating tables - cells with only imgs that are refs - and add convenience methods 2020-05-20 18:48:01 +10:00
Grahame Grieve 12b0046ebc get current core pacakge from current build 2020-05-18 06:21:13 +10:00
Grahame Grieve 58fe151f79 fix message about missing date 2020-05-18 06:19:12 +10:00
Grahame Grieve 14d0c126e1 Package validator 2020-05-13 19:51:32 +10:00
Grahame Grieve d688f9254d * fix fatal NPE validating bundles when resource is missing
* fix tests for R5 changes
2020-05-13 09:45:29 +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
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 3afd2a9c32 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-05-08 12:01:08 +10:00
Grahame Grieve eb9de04d2d Start building conformance resource comparison code 2020-05-08 11:58:02 +10:00
markiantorno ef660d59db Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into azure_pipelines_setup 2020-05-06 11:26:36 -04:00
Grahame Grieve 17ef340972 Release new version 4.2.25 2020-05-06 11:16:01 +10:00
markiantorno 7a8f84fc6c cleaning up port addresses for gui tests 2020-05-02 10:00:03 -04:00
Grahame Grieve 4245839a69 Release new version 4.2.25 2020-05-02 11:15:32 +10:00
Grahame Grieve 868fbb5f95 Release new version 4.2.25 2020-05-02 10:53:58 +10:00
Grahame Grieve d5bb555151 fix for issue #188 + fix for transition of ConceptMap enumeration 2020-05-02 06:56:29 +10:00
markiantorno 89f98bb960 I cast you out unclean spirit. 2020-04-29 16:55:40 -04:00
Grahame Grieve a2b1f1125f fix typo 2020-04-29 14:50:02 +10:00
Grahame Grieve d5fff86e8e get all tests passing. 2020-04-28 11:14:54 +10:00
Grahame Grieve 34e4da4f39 fix bug in data: generator 2020-04-27 14:26:52 +10:00
Grahame Grieve 2e759604c1 cache immutable downloads locally 2020-04-26 15:16:00 +10:00
Grahame Grieve c829de2f86
Merge branch 'master' into testing_updates 2020-04-24 07:20:35 +10: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 4316c81f7e reorganize generation code for terminology resources 2020-04-23 17:31:58 +10:00
Grahame Grieve 4cbf328e54 support validation against code system fragments 2020-04-22 16:43:32 +10:00
markiantorno 3dc429c56c Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into fix_for_OS_agnostic_utilities_tests 2020-04-21 11:49:39 -04:00
markiantorno c81922a615 Fixing utilities test so it runs on all OS 2020-04-21 11:47:49 -04:00
Grahame Grieve d6f267781f fix error in Accept header fetching packages 2020-04-21 13:56:09 +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
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
John Grimes 952e6c6e6b Make XhtmlNode$Location serializable
Addresses jamesagnew/hapi-fhir#1422.
2020-04-12 11:38:29 +10:00
Grahame Grieve fa9c1cae1d bug fixes for list narrative generation 2020-04-12 08:22:29 +10:00
Grahame Grieve c08bbc02e4 Improved rendering of filtered messages and group messages by type in qa.html 2020-04-11 19:29:52 +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 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 b179c482e7 complete CQL based Measure Validation 2020-04-07 07:27:59 +10:00
Grahame Grieve 971b59b7af fix more bugs in CSV reader 2020-04-07 07:27:19 +10:00
Grahame Grieve 210cc0affc alias id() for Npmpackage.name() 2020-04-06 11:26:24 +10:00
Grahame Grieve 3e49000188 fix bug in CSV reader (read past end of line) 2020-04-06 10:11:00 +10:00
Grahame Grieve 42461e6162 Add resource type to messages for clarity + fix typos in messages 2020-04-05 20:35:22 +10:00
Grahame Grieve a3be26f356 Add loadByCanonical to NpmPackage 2020-04-05 20:34:18 +10:00
Grahame Grieve 101fbe3126 more work on Measure/MeasureReport validation 2020-04-03 12:16:33 +11:00
Grahame Grieve ab581fdf86 further modularise validator and add Measure Validation 2020-04-02 11:05:55 +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 753d3bd971 fix problems fetching packages 2020-03-31 10:15:49 +11:00
Grahame Grieve 232f1ff8ff Start building support for measure validation 2020-03-31 10:14:12 +11:00
Grahame Grieve 1ad34c7a50 delete package if it's half installed 2020-03-28 06:10:02 +11:00
Grahame Grieve ac72dff882 More validation of URL charaters in XHTML ```a``` and ```img``` 2020-03-26 06:47:53 +11:00
Grahame Grieve af97232036 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-03-19 06:23:13 +11:00
Grahame Grieve a7cf428fef Validate XML header and syntax issues 2020-03-19 06:17:03 +11:00
jamesagnew c2e4e38c0b Fix typo in message 2020-03-17 08:21:35 -04:00
Grahame Grieve c46d4dd779 fix bugs around XML version + add ICD-11 generator 2020-03-17 11:10:50 +11:00
patrick-werner 5f7a6efe60 NPE fix 2020-03-13 19:24:55 +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
patrick-werner df8682428a readding all the i18n work 2020-03-13 08:49:05 +01:00
Grahame Grieve 1757e27caf check version before checking cache if no version specified when loading a package 2020-03-13 12:57:24 +11:00
Grahame Grieve f5434bab0d add missing constant 2020-03-13 12:54:11 +11:00
patrick-werner 86711ac16f readding all the i18n work 2020-03-12 23:26:05 +01:00
Grahame Grieve 65fd77ed76 Fix version issue in validation engine + handle loading latest version of a package 2020-03-03 21:27:37 +11:00
Grahame Grieve 657d61dd7e
Merge pull request #147 from ahdis/oliveregger_who_at_curl
adjust atc who url
2020-03-03 08:40:24 +11:00
Grahame Grieve bab1fe063d Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-03-03 07:42:05 +11:00
Grahame Grieve d6018f26c8 fix minor bugs loading packages 2020-03-03 07:38:52 +11:00
Oliver Egger 3684fbb8c9 adjust atc who url 2020-03-02 18:40:13 +01:00
James Agnew 9178945241 Correct copy-paste error in ValidationOptions 2020-03-01 21:38:36 -05:00
Grahame Grieve f5e2d3405d Add convenience write methods 2020-03-02 09:02:52 +11:00
Grahame Grieve 7f4a0f60fc Allow "-" in package names + fix bug scanning root folder 2020-03-02 09:02:02 +11:00
Grahame Grieve 2edc09d297 calculate URL when possible 2020-02-25 08:10:57 +11:00
Grahame Grieve 99a266b0d6 fix bug with template inheritance 2020-02-24 16:06:28 +11:00
Grahame Grieve da2a59cf1a fix package subsystem for challenge with hl7.fhir.au.base setup 2020-02-22 08:01:01 +11:00
Grahame Grieve 550aeffb9a handle null when reading JsonString 2020-02-22 07:59:42 +11:00
Grahame Grieve af850879fd Fix cibuild url lookup issue 2020-02-20 09:20:47 +11:00
Grahame Grieve 3f10fc3430 quality work inside NpmPackage loader 2020-02-20 09:20:11 +11:00
Grahame Grieve fe1afa7b4c Release new version 4.2.1 2020-02-19 12:06:21 +11:00
Grahame Grieve d535bbaacb Use packages.fhir.org 2020-02-18 14:31:09 +11:00
Grahame Grieve 6589d87ac0 utility enhancements for template version release process 2020-02-17 22:29:09 +11:00
Grahame Grieve f4197bde87 Fix problem loading xml:lang when using xpp to parser xhtml 2020-02-14 10:08:25 +11:00
Grahame Grieve 582a2699a5 Add PackageServer Client and tests 2020-02-12 17:53:28 +11:00
Grahame Grieve 6ea5016da5 fix JsonUtils to handle null 2020-02-12 17:45:32 +11:00
Grahame Grieve 4708fcb49e add support for file: in package version (per NPM spec) 2020-02-09 08:14:30 +11:00
Grahame Grieve 398dbb003c fix IHE template 2020-02-07 12:10:32 +11:00
Grahame Grieve c0976dd365 add support for [user] in path 2020-02-07 10:30:17 +11:00
Grahame Grieve b95a05045e Improve error message when package can't be accessed 2020-02-07 10:29:16 +11:00
Grahame Grieve df9e11c40a fix bug in validator on search params with no references + fix bug in cache manager on github urls 2020-02-02 22:52:43 +11:00
Grahame Grieve 5d1cf89db5 add more package maintenance features 2020-01-31 08:19:51 +11:00
Grahame Grieve c7f3a47ec9 better rendering of slicing logic 2020-01-30 11:05:54 +11:00
Grahame Grieve 1c3061dbf7 track slice validation for users to resolve slicing issues 2020-01-29 13:39:49 +11: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 f7613cacb9 fix R5 package handling 2020-01-11 06:24:30 +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
James Agnew cf82025c0d Correctly handle narratives where the XHTML namespace is bound to a dumb
prefix
2020-01-07 13:36:33 -05:00
James Agnew 746e249346 Don't preserve XML instruction declarations inside JSON narrative blocks 2020-01-07 10:59:30 -05:00
James Agnew d3cf93cf04 Work on https://github.com/jamesagnew/hapi-fhir/issues/1658 - Make sure
we preserve lang attribute on narrative div
2020-01-07 09:53:43 -05:00
Grahame Grieve 094b73af04 4.2.0 release 2019-12-31 14:31:28 +11:00
Grahame Grieve 91cf756386 fix bugs in v1.4 validation 2019-12-30 10:25:05 +11:00
Grahame Grieve 5e27541288 rebuild R5 generated code for changes to abstract types. 2019-12-30 10:24:14 +11:00
Grahame Grieve 6e0df466f7 fix SimpleDateFormat to not be locale dependent 2019-12-19 22:39:46 +11:00
Grahame Grieve c5c4059ed4 fix problem parsing dates 2019-12-19 12:58:32 +11:00
Grahame Grieve 8d2da0b701 fix broken links in IGs 2019-12-19 10:50:54 +11:00
Grahame Grieve 52eebdb56e support for xver extension package 2019-12-19 10:48:16 +11:00
Grahame Grieve b99e667dd6 get active tables working 2019-12-16 07:26:47 +11:00
Grahame Grieve 415193a792 Start working on active tables, fix testing bug 2019-12-14 07:54:48 +11:00
Grahame Grieve ba4628eb28 fix OID translation case 2019-12-13 22:05:49 +11:00
Grahame Grieve 674432a8ad Release new version 2019-12-13 11:29:49 +11:00
Grahame Grieve 4287b1ae68 fix NPE in IG publisher 2019-12-13 09:25:07 +11:00
Grahame Grieve ea7f3a7957 refactor validation options, and improve codeableConcept validation, and improve code system rendering 2019-12-12 10:33:22 +11:00
Grahame Grieve be2867e68a fix bug loading npm package for template 2019-12-11 18:11:43 +11:00
Grahame Grieve 1d751a4c75 add describeDuration 2019-12-09 17:32:52 +11:00
Grahame Grieve 4aeb9f0bcc fix up version display on validator 2019-12-09 17:29:12 +11:00
Grahame Grieve c62848a886 fix bug with NpmPackage ignoring files in root of package 2019-12-07 06:55:30 +11:00
Grahame Grieve 0cbb586dd1 add support for integer64 2019-12-07 06:54:16 +11:00
Grahame Grieve f4011e96ad fix bug unpacking files 2019-12-06 08:55:30 +11:00
Grahame Grieve 8b0266e23b fix bug in NpmPackage 2019-12-06 07:45:19 +11:00
Grahame Grieve 0894226f52 more debugging 2019-12-05 17:43:55 +11:00
Grahame Grieve f008d6050f Add debugging code 2019-12-05 16:59:09 +11:00
Grahame Grieve ea06dacda7 more packaging fixes 2019-12-05 12:31:25 +11:00
Grahame Grieve 364e47beec fix NpmPackage to handle nested diretories and files in the root directory 2019-12-05 11:44:02 +11:00
Grahame Grieve cc66ce9f34 fix bug finding example resource 2019-12-05 07:44:53 +11:00
Grahame Grieve 73f4b9f507 fix bugs downloading packages 2019-12-05 05:09:48 +11:00
Grahame Grieve 5c9729123a rework NPM cache manager 2019-12-05 04:13:39 +11:00
Grahame Grieve 4f048776ba add more log statements 2019-12-04 11:10:52 +11:00
Grahame Grieve 6115cd21b6 fix snapshot generation for new tests 2019-12-03 12:31:55 +11:00
Grahame Grieve fe9dc1919b Release new version 2019-11-29 18:14:33 +11:00
Grahame Grieve 60703efdd4 updates for packages changes 2019-11-26 18:56:52 +11:00
Grahame Grieve f08e903fbc
Merge pull request #109 from lmckenzi/Enable_appending_in_packages
Enable packages containing instructions to append files
2019-11-21 20:17:19 +13:00
Lloyd McKenzie 57b6027431 Enable packages containing instructions to append files 2019-11-20 23:27:01 +01:00
Grahame Grieve f9c8b65083 package name / version validation 2019-11-20 20:44:33 +11:00
Grahame Grieve 9531c6f901 improve error messages from cache 2019-11-19 19:52:13 +11:00
Grahame Grieve 2221590d4d Improve error message, and add more tests 2019-11-19 14:39:29 +11:00
Grahame Grieve 3d24088171
Merge pull request #99 from ahdis/oliveregger_cdanarrative_xhtmlnsfordiv
add xhtml namespace to div for CDA section narrative
2019-11-19 08:47:55 +13:00
Grahame Grieve 24acb2e3ed
Merge pull request #102 from ahdis/oliveregger_cdastylecodetoxhtml
CDA styleCode to xhtml conversion
2019-11-19 08:44:29 +13:00
Grahame Grieve d1b95a60cb
Merge pull request #108 from ahdis/oliveregger_cda_narrative_tfoot
cda narrative support tfoot
2019-11-19 08:38:33 +13:00
Grahame Grieve 0dfc060665 fix bug in NpmPackage loader 2019-11-19 06:37:18 +11:00
Grahame Grieve e5986a31fb fix to package infrastructure 2019-11-17 19:07:16 +11:00
Grahame Grieve 8ce2a8f760 more package quality work 2019-11-17 03:11:34 +11:00
Oliver Egger 4a05ed8e48 cda narrative support tfoot 2019-11-13 23:54:28 +01:00
Grahame Grieve 62815fe2b5 More work on package processing robustness 2019-11-13 09:41:54 +11:00
Grahame Grieve 3de429ae6a Release new version 2019-11-13 07:49:12 +11:00
Grahame Grieve 5b042f76a1 Add debugging 2019-11-13 07:14:11 +11:00
Grahame Grieve 4b173cbfb3 check in new resource manager 2019-11-12 19:40:42 +11:00
Grahame Grieve 5fe2552a08 fix version bug generating snapshot 2019-11-12 09:07:54 +11:00
Oliver Egger dab4c084a8 CDA styleCode to xhtml conversion 2019-11-11 14:51:32 +01:00
Grahame Grieve e45aae4867 fix package dependency loading bug + package saving bug 2019-11-12 00:17:07 +11:00
Oliver Egger 4dde732718 add xhtml ns to div 2019-11-11 13:54:22 +01:00
Grahame Grieve 52b80cf71c load dependency Packages, and load content from URL correctly 2019-11-11 14:20:52 +11:00
Grahame Grieve 1d193e7c87 rework version loading when validating 2019-11-10 21:07:34 +11:00
Grahame Grieve 3ae115c62d support for legacy simplifier packages 2019-11-10 21:04:21 +11:00
Grahame Grieve 0fcb97aa2f validation documentation improvements, and batch loading 2019-11-09 07:54:16 +11:00
Grahame Grieve 02791ae21f update MIMIC code and reverse testing change (maven said no) 2019-11-07 20:57:16 +11:00
Grahame Grieve 7099f904f5 more work on cache management 2019-11-07 12:04:24 +11:00
Grahame Grieve be76704609 add saving packages 2019-11-05 14:53:48 +11:00
Grahame Grieve 399e86300d more version support 2019-11-01 21:18:44 +11:00
Grahame Grieve 52187af17a Fix for R3 and R4 technical corrections and getting IGs publishing and passing (and fix version markers) 2019-11-01 11:21:06 +11:00
Grahame Grieve 888356999e Update to support new packages, new NPM specification 2019-10-31 21:54:10 +11:00
Grahame Grieve efd20a22fe move test cases to fhir-test-cases repository 2019-10-28 18:06:41 +11:00
Grahame Grieve 08eb187b79 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2019-10-28 10:06:02 +11:00
James Agnew 34cf0628d1 Fix https://github.com/jamesagnew/hapi-fhir/issues/1549 - Account for
latest HAPI FHIR API interfaces
2019-10-27 17:44:22 -04:00
Grahame Grieve 9b0324fb98 better error message loading packages 2019-10-25 10:22:45 +11:00
Grahame Grieve 958791d1cd more Mimic work 2019-10-25 08:19:59 +11:00
James Agnew ecfdf43034 Fix https://github.com/jamesagnew/hapi-fhir/issues/1488 - We should not
use HTML encoding on entities when serializing narratives
2019-10-21 11:10:59 -04:00
James Agnew 2f380704de Fix precision and validator issues 2019-10-18 10:47:20 -04:00
Oliver Egger 220a668e68 processRenderMultiMedia add src attribute 2019-10-14 22:36:16 +02:00
Grahame Grieve 85a1256b24 fix issues importing markdown into heirarchical tables 2019-10-02 14:49:57 +10:00
Grahame Grieve 024d6dc935 embed anchors at end of narrative for JSON & XML 2019-09-14 21:42:56 +10:00
Grahame Grieve 7bd5d85611 better error message 2019-09-11 22:22:05 +10:00
James Agnew 215fdae37f Include the wrapper element when writing GraphQL responses 2019-09-06 10:29:31 -04:00
Grahame Grieve 9024eea94a fix bug in cache management 2019-09-06 13:47:55 +10:00
Grahame Grieve 527e8d02b4 manage package currency 2019-09-06 12:11:16 +10:00
Grahame Grieve 34a3dfb43e work on API comparison 2019-08-29 18:11:33 +10:00
Grahame Grieve b80c6e6af6 improvements to profile rendering 2019-08-23 14:54:12 +10:00
James Agnew ecfd55c368 Backport GraphQL support to DSTU3 2019-08-12 10:55:34 -04:00
James Agnew c1728a481d Refactor R4 infrastructure to use the new common
TerminologyServiceOptions, and tweak the validation of enableWhen to
handle a few edge cases correctly.
2019-08-06 18:27:45 -04:00
Grahame Grieve c57f578f03 Move TerminologyServiceOptions to Utilities. 2019-08-06 07:33:48 +10:00
Grahame Grieve ff6ca3f864 finish testing isDecimal 2019-08-05 15:42:34 +10:00
Grahame Grieve 4ffa343395 add -debug parameter to validator, and add additional (failing) validator tests, and update R4 code 2019-08-04 07:34:13 +10:00
Grahame Grieve 7552eb6f73 Fix up processing of error messages 2019-08-02 15:34:56 +10:00
Grahame Grieve bf39445d87 presentation improvements for profiles table view 2019-08-02 10:51:02 +10:00
Grahame Grieve f5b5737398 fix validation tests 2019-07-30 16:50:54 +10:00
Grahame Grieve fe219985b4 fix decimal validation + fix profile slicing validation 2019-07-30 16:22:54 +10:00
Grahame Grieve f9a06ae2b8 fix integer validation issue 2019-07-30 11:40:34 +10:00
Grahame Grieve a0c245dfdc fix IG publication errors 2019-07-30 10:24:47 +10:00
Grahame Grieve bc776064f5 Fix for sparse differentials 2019-07-29 14:10:38 +10:00
Grahame Grieve be4266a41a update snapshot generation tests 2019-07-19 23:19:24 +10:00
James Agnew c470bb21ce Add hasValue() method to XhtmlNode 2019-07-17 18:50:22 -04:00
James Agnew e265477c6e Header updates 2019-07-14 09:27:45 -04:00
James Agnew 0acb99744b
Changes needed to move HAPI FHIR to using this project directly (#61)
* Work on porting HAPI FHIR to core

* Ongoing work on HAPI FHIR merge
2019-07-14 08:55:21 -04:00
Grahame Grieve 881fdc9284 fix bug in csv processor for BOM + search interversion generator 2019-07-11 08:08:22 +10:00
Grahame Grieve f583649f87 fix generation of error locations using FHIRPath or XPath properly 2019-07-05 20:23:58 +10:00
Grahame Grieve 3c8b3ec97c fix sturcture definition rendering issues 2019-06-25 16:27:56 +10:00
Grahame Grieve 3fc19f92bf add to JsonUtil 2019-06-19 14:08:40 +10:00
Grahame Grieve 5e6755e422 fix bug converting search parameters 2019-06-19 06:40:36 +10:00
Grahame Grieve c3a0958c94 issue 34 - npe reading npm without canonical 2019-06-11 07:26:55 +10:00
Grahame Grieve 027104b2b4 HAPI updates and validation message enhancements 2019-06-11 05:05:01 +10:00
Grahame Grieve 2bdd175591 Release new version 2019-06-08 06:19:01 +10:00
Vadim Peretokin 313cd032c7 Handle StructureDefitinition having no 'path' 2019-06-02 15:03:16 +02:00
Grahame Grieve 8b01f1df19 validation chagnes 2019-05-31 10:21:01 +10:00
Grahame Grieve 590a4d48b1 add debugging for terminology cache issue 2019-05-30 13:29:25 +10:00
Grahame Grieve 24b6305b15 more validator tests + release new utilities 2019-05-23 13:39:21 +10:00
Grahame Grieve 50c88dc1c1 Commit merge method 2019-05-21 07:39:01 +10:00
Grahame Grieve 25de65431e add sorting utility method 2019-05-13 13:32:25 +10:00
Grahame Grieve 2d946790d7 generated patterns + improved package cache errors 2019-05-10 00:08:18 +10:00
Grahame Grieve 2ab02e2e0b fix validation problem for current version 2019-04-25 10:13:28 +10:00
Grahame Grieve 9b0d702ba2 updates for ongoing work in IG publisher + Implementation Guide relax codes on .definition.parameter.code 2019-04-24 06:14:26 +10:00
Grahame Grieve 0a96fa9f37 return File from createDirectory 2019-04-16 23:26:08 +10:00
Grahame Grieve 7ae0db763a easier JSON parsing 2019-04-15 21:45:44 +10:00
Grahame Grieve 87b191fc5d more IG maintenance work 2019-04-14 07:59:17 +10:00
Grahame Grieve d3ef2d7624 NPMPackage direct loading, + refactor JSON parser Location 2019-04-10 11:02:06 +10:00
Grahame Grieve c8c815aa44 more debugging for questionnaire validation 2019-03-18 13:29:36 +11:00
Grahame Grieve 5ce917a34c fixes for errors generating IGs 2019-03-14 17:18:15 +11:00
Grahame Grieve 5653da8a27 add test for multiple discriminators, and fix validator 2019-03-05 16:59:04 +11:00
Grahame Grieve 5a1dfba236 Improve error message when running transforms 2019-03-04 13:17:30 +11:00
Grahame Grieve 5691333e98 GF#18121 - fix so relative links in source markdown don't generate broken linke in IGs 2019-03-04 11:53:14 +11:00
Grahame Grieve 445c90ff9a test 2019-02-24 21:31:47 +11:00
James Agnew caf7cea4c6 Get validator CLI working 2019-01-31 15:51:34 -05:00
Grahame Grieve 8a9987b88f rename package cache operations for clarity + new release 2019-02-01 06:11:01 +11:00
Grahame Grieve 364ed14c2a rename package cache operations for clarity + upgrade for version release 2019-02-01 06:09:03 +11:00
James Agnew 0c9fe20522
Get this test working (#4) 2019-01-31 13:41:05 -05:00
James Agnew bd899957b0 Rename the keep files 2019-01-13 16:37:16 -06:00
James Agnew cbde1cf488 Add keeps for empty folders 2019-01-13 16:20:50 -06:00
James Agnew 806ab9fac8 Externalized code now committed 2019-01-13 14:33:14 -06:00