Grahame Grieve
4f5d056ec5
Fix rendering bug + make nl properties UTF-8
2021-06-04 23:18:26 +10:00
Grahame Grieve
a371f5fe3e
Add -allow-example-urls option to the validator
2021-06-02 17:45:50 +10:00
Lloyd McKenzie
c11312de78
Fixed issue where when validating with no terminology server and a value set with only an expansion (no compose), the 'inferred' code system wasn't being populated and validation was then failing on a coding with no specified code system
2021-06-01 23:35:58 -06:00
Grahame Grieve
12f841999e
Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core
2021-05-31 08:53:45 +10:00
Grahame Grieve
2e640accce
Merge pull request #498 from pieter-edelman-nictiz/497
...
Issue #497 : turn on single line mode for FHIRPath matches()
2021-05-31 08:51:26 +10:00
Grahame Grieve
8c9e54d58f
fix error calling the wrong validation method
2021-05-31 08:03:52 +10:00
jamesagnew
9b829d9714
Version bump to 5.4.0 for release
2021-05-18 16:55:09 -04:00
Pieter Edelman
783ad9b850
Issue #497 : turn on single line mode for FHIRPath matches()
2021-05-14 15:58:03 +02:00
Grahame Grieve
278916ba97
Fix displays for some codes in ConceptMap.relationship when rendering + Add Publication Version to rendering context for future use.
2021-05-14 12:24:57 +10:00
Grahame Grieve
cf859c9ed1
add new parameter for whether to include FHIRPath in invariant error messages
2021-05-14 12:21:28 +10:00
Grahame Grieve
154ac5c3ca
Merge branch 'master' into gg-202105-bugfixes-2
2021-05-07 18:30:26 +10:00
Grahame Grieve
4e173f4715
* Validator: Load code systems from known packages on the fly
...
* Validator: better handle invalid v3 dates
* Renderer: Render OperationDefinition.InputProfile and OutputProfile
* Important: Allow more valid schemas for Utilities.isAbsoluteUrl
* Validator: remove notes about extensible bindings if profile extensible binding is valid
2021-05-07 18:29:21 +10:00
Grahame Grieve
c56b7b67c8
Merge branch 'master' into gg-202105-version-conversion-1
2021-05-05 14:10:12 +10:00
Grahame Grieve
b13b4932f9
XMLParser allows passing a schema location
2021-05-05 12:17:02 +10:00
Grahame Grieve
c6f392b7e0
#466 : fix problem checking types on logical models
2021-05-05 09:54:22 +10:00
Mark Iantorno
f14ef6d83f
Issue 484 ( #485 )
...
* added Integer argument constructor for IntegerType class.
* Updating release notes
2021-05-04 11:21:57 -04:00
Grahame Grieve
898665f356
fixes for #483 : Quantity subclasses copy() functions not all transferring values
2021-05-04 12:43:07 +10:00
Grahame Grieve
11a727b40f
update R5 to 4.6.0
2021-05-04 09:03:13 +10:00
Grahame Grieve
1c320586e5
Ensure that CVX uses tx.fhir.org, not UTG definitions which are wrong + Fix problems with Bundle validation for ids in collections and add additional search related validation + Remove check on ElementDefinition.id for R2B
2021-04-22 13:27:32 +10:00
Grahame Grieve
7d2df18fb9
Better memory tracking for validator
2021-04-21 17:40:42 +10:00
Grahame Grieve
78ab95ff1c
fix bug with base definitions not working properly for logical models
2021-04-21 17:38:54 +10:00
Grahame Grieve
3f219b7550
Fix bug with value set imports not working
2021-04-21 17:38:21 +10:00
Grahame Grieve
b71d80e201
Add support for new FHIR version
2021-04-13 05:00:09 +10:00
Grahame Grieve
a10fdb13e3
validation optimisation
2021-04-12 11:22:43 +10:00
Grahame Grieve
11f66836ed
fix for R2B validation of resource ids, and problems validating codes
2021-04-02 06:24:43 +11:00
Grahame Grieve
4e4885dc7d
Fix null pointer exception in validator validating language codes
2021-03-29 13:35:51 +11:00
Grahame Grieve
30be8a0dc1
Merge branch 'master' into issue_438
2021-03-29 09:08:04 +10:00
Grahame Grieve
eecf74576f
Merge pull request #461 from realizm/master
...
Fixing exception when validation issues #458
2021-03-29 08:54:47 +10:00
realizm
043ceb2074
Fixing exception when validation issues #458
...
Resolves : #458
2021-03-17 09:31:08 +09:00
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
67d3ab72e3
R4B fixes
2021-03-10 21:44:42 +11:00
Grahame Grieve
5e391eeace
Add R4B support to FHIRVersions
2021-03-06 08:58:04 +11:00
Grahame Grieve
a25f17a916
Define binding method extension
2021-03-03 13:24:39 +11:00
Grahame Grieve
a51a8c003d
fix issue with snapshot generation for logical models (CCDA)
2021-03-03 13:18:44 +11:00
Grahame Grieve
5364606cb5
Merge pull request #444 from hapifhir/issue-441
...
Issue #441 - problem with value set validation when value set doesn't…
2021-02-24 16:27:59 +11:00
Grahame Grieve
cdbca15a7a
Issue #441 - problem with value set validation when value set doesn't have a version
2021-02-24 15:03:03 +11:00
palanm
a3e003740a
fixing crlf to lf
2021-02-17 14:13:37 -08:00
palanm
cc03acb3c3
Junit test for Copy method
2021-02-17 11:32:18 -08:00
palanm
c8fa589baa
Added the copying of "extension" fiels
2021-02-16 17:27:53 -08:00
Mark Iantorno
c422ddc388
Refactoring validator engine ( #436 )
...
* Initial commit, tests passing
* continuing breaking up massive classes
2021-02-15 16:48:40 -05: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
8fac290ebe
#426 - fix serialization of NULL enumerations
2021-02-08 09:33:36 +11:00
Grahame Grieve
c95b07f0f1
#426 - fix serialization of NULL enumerations
2021-02-08 09:32:06 +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
Jonathan Percival
4b416ee5f4
Use FHIRPathEngine where possible
2021-01-27 10:30:45 -07:00
Grahame Grieve
ccf82b8ee3
Add parseAndClose to close streams automatically + minor fixes to support R4B
2021-01-20 16:54:31 +11:00
Grahame Grieve
00410604d7
Improve validator error messages for bad json & turtle formats
2021-01-20 16:53:14 +11:00
Grahame Grieve
d92935894a
fix problem with references
2021-01-14 13:34:34 +11:00
Grahame Grieve
e0dabe6f33
fix profile generation issues
2021-01-14 12:21:33 +11:00
Grahame Grieve
9bdd663497
makeshareable changes
2021-01-14 12:19:14 +11:00
Grahame Grieve
fa7341ca44
add primitive type factory
2021-01-14 12:18:17 +11:00
Oliver Egger
c16573962b
noNamespace instead of default
2021-01-02 14:19:04 +01:00
Oliver Egger
47722ef63c
windows test fix
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
40642c2263
don't make non-url uris into invalid links
2020-12-17 13:05:50 +11:00
Grahame Grieve
b43431a65c
Merge pull request #401 from hapifhir/gg-fix-slicing-errors
...
improve error message for FHIRPath errors when slicing
2020-12-15 14:27:08 +11:00
Mark Iantorno
3d3bda30ec
Code changes to assist with validator updates in HAPI ( #400 )
...
* just some cleanup and simple changes
* changed folder name the map is currently structured, not in the past
2020-12-10 10:56:56 -05:00
Grahame Grieve
e2a8581a3b
improve error message for FHIRPath errors when slicing
2020-12-10 13:50:20 +11:00
Grahame Grieve
4b5ea7d4d5
Actually fix it this time
2020-12-09 11:10:16 +11:00
Grahame Grieve
0cf371c657
fix for rendering bundles on ElementModels
2020-12-09 10:11:06 +11:00
Grahame Grieve
8a6b797c92
fix for NPE rendering parameters with no names
2020-12-09 10:10:11 +11:00
Grahame Grieve
655c072d64
fix for NPE rendering references to contained value setes in Questionnaires that don't resolve
2020-12-09 10:09:02 +11:00
Grahame Grieve
752918a80a
fix for renderer on ElementDefinition rendering - follow contentReference
2020-12-09 10:08:01 +11:00
Grahame Grieve
2c4b4c4ca2
Fix NPE reading results of batch code validation
2020-12-09 10:04:56 +11:00
Grahame Grieve
3f9c87ab63
validation fixes ( #397 )
...
* Fix validation issues for StructureDefinitions
* Don't try to validate URLs outside HL7 space
* Fix document rendering
* fix failing tests
2020-12-04 16:13:53 -05:00
Grahame Grieve
7de14f172e
Fix validation issues for StructureDefinitions ( #396 )
2020-12-04 16:11:52 -05:00
Lloyd McKenzie
d8df660c33
Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core
2020-12-04 08:05:48 -07:00
Grahame Grieve
f7ececa034
Merge branch 'master' into gg_v5.2.6
2020-12-03 17:16:28 +11:00
Grahame Grieve
36dae96eef
fix copmile problem
2020-12-03 15:23:03 +11:00
Grahame Grieve
89249219fd
Fix rendering of CanonicalResource.url
2020-12-03 12:55:20 +11:00
Grahame Grieve
1f2859e49b
Process Markdown when rendering CapabilityStatement.rest.documentation
2020-12-03 12:54:39 +11:00
Grahame Grieve
1372d58ad4
improve error messages when rendering bundles that are documents that aren't properly formed
2020-12-03 12:54:03 +11:00
Grahame Grieve
532aba2485
cache xversion extension manager, and use it in any place accessing extension definitions
2020-12-03 12:52:43 +11:00
Grahame Grieve
4b43e46d11
Track code systems used in the context, and add getSpecUrl for implementer ease
2020-12-03 12:49:00 +11:00
Grahame Grieve
b9664caec0
fix error message suppression on tooling client
2020-12-03 12:46:43 +11:00
azizjonh
c4139ae9a1
Load context from classpath allowing duplicates
...
Added ability to specify whether to allow duplicates when loading context from classpath. In similar fashion to loading from package.
2020-12-01 11:05:57 -06:00
Grahame Grieve
2d8ac6f377
fix bug in bundle rendering
2020-11-30 17:58:50 +11:00
Grahame Grieve
bdf783e9e0
improve cahcing on client and also txServer
2020-11-30 17:58:29 +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
Mark Iantorno
3e1e00b37d
all IOExceptions are now passed up and not handled within the HTTP library. ( #386 )
2020-11-26 17:29:02 -05:00
Grahame Grieve
8f68c79554
Fix date time comparison code
2020-11-26 08:53:59 +11:00
Grahame Grieve
40b644adf1
Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core
2020-11-26 06:50:35 +11:00
Mark Iantorno
7e5a670846
Http client update ( #378 )
...
* wip
* tests all pass with log outputs identical to original...is it better now? I don't know.
* proxy works, adding a test and docs next
* more cleanup and test fixes
* left in testing file
* didn't need that code anymore
2020-11-24 09:20:43 -05:00
Grahame Grieve
b7d3f36f86
fix package loading issues
2020-11-18 21:05:16 +11:00
Lloyd McKenzie
7064b70712
Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core
2020-11-14 13:27:22 -07:00
Grahame Grieve
6ef8565563
fix rendering on must-support view for must-support on types and target profiles
2020-11-13 14:46:57 +11:00
Grahame Grieve
25103f3653
* fix case problem with icons in questionnaire rendering
2020-11-13 14:43:11 +11:00
Grahame Grieve
74db1523c5
fix bug in processing excludes with filters in value sets
2020-11-13 14:41:45 +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
3b74c39de4
fix problem rendering canonical URLs with | in them
2020-11-11 10:04:02 +11:00
Grahame Grieve
476924e1cb
* fix problem with min = 1 on slices.
...
* fix problem with element definition resolution in profiles for contentReference
* fix problem with rendering unchanged terminology bindings in profiles
2020-11-11 10:02:01 +11:00
Lloyd McKenzie
409bcfbecf
Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core
2020-11-09 23:34:13 -07:00
Grahame Grieve
6626b72b4f
* fix bug rendering content references in profiles
2020-11-05 14:13:50 +11:00
Grahame Grieve
e6cda40274
* 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:13:17 +11:00
Grahame Grieve
01430d8d98
fix parameters renderer to create proper anchors
2020-11-05 14:11:54 +11:00
Grahame Grieve
49cf605b06
don't use prism for big binaries when rendering library
2020-11-05 14:11:18 +11:00
Grahame Grieve
2c22d8fa23
fix bug raising error when processing bundles
2020-11-05 14:10:23 +11:00
jamesagnew
6cd0af3b8c
Clean up integer64 type
2020-11-01 14:00:12 -05:00
Grahame Grieve
82afa47590
add parameter -html-output for enhanced presentation of slicing information (issue #283 )
2020-10-29 17:51:34 +11:00
Grahame Grieve
944be1cfba
fix bug with wrong value for contentReference in derived profiles (profiles do not and cannot change the value) (missed testing change)
2020-10-29 13:57:25 +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
Grahame Grieve
a658fc982b
Mark it has an error if a JSON Array is empty
2020-10-29 13:53:14 +11:00
Lloyd McKenzie
9e7dacd815
Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core
2020-10-24 20:34:41 -06:00
jamesagnew
eb1c67c1cb
Account for review comments
2020-10-19 14:56:54 -04:00
jamesagnew
1922f549bb
Improve multithreaded performance of datetime types
2020-10-19 14:56:54 -04:00
Lloyd McKenzie
27295db891
Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core
2020-10-14 21:35:38 -06:00
Grahame Grieve
058024f57c
Merge pull request #364 from hapifhir/gg-v5117
...
release notes
2020-10-14 22:11:24 +11:00
Grahame Grieve
5ce25da10b
release notes
2020-10-14 16:49:44 +11:00
Grahame Grieve
f5b02ff308
Merge pull request #363 from hapifhir/gg-v5117
...
more fixes for next release
2020-10-14 14:40:01 +11:00
Grahame Grieve
96e44048ce
turn off snapshot consistency checking by default + add ability to provide package in line in tests
2020-10-14 13:18:58 +11:00
Grahame Grieve
5c12048749
check supportsCopyright in a JUnit test
2020-10-14 13:17:45 +11:00
Grahame Grieve
920c3193d0
enforce constraints in slicer as well as in slice + Handle -tx n/a better
2020-10-14 13:16:59 +11:00
Lloyd McKenzie
d99592416e
Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core
2020-10-11 10:23:20 -06: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
c19f892687
Add Search Parameter renderer
2020-10-08 20:57:56 +11:00
Gerlach, Winfried
0cb038ed0a
performance: improve speed of comparing UriTypes
2020-10-07 19:36:03 +02:00
Grahame Grieve
e89da42514
* fix error setting up mapping log
...
* fix rendering of definitions in CodeSystems
* fix error rendering bundles in bundles
2020-10-01 12:39:10 +10: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
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
510344aa1b
Fix FHIRPath engine for updated tests for date addition/subtraction
2020-09-30 09:22:16 +10:00
Grahame Grieve
4979a03140
fix rendering problems with languages in value sets
2020-09-25 14:59:12 +10:00
Grahame Grieve
c2fb9e8fd3
Add rendering for must support on types, profiles, targets
2020-09-25 03:25:09 +10:00
Grahame Grieve
5ada654ca2
fix for npe
2020-09-22 22:01:02 +10:00
Grahame Grieve
278697f72b
render multiple values for properties if they exist
2020-09-22 22:00:37 +10:00
Grahame Grieve
58b6969544
Ensure "I" flag in profile table representation is not used for underlying infrastructural constraints that exist everywhere
2020-09-22 22:00:15 +10:00
Grahame Grieve
a15be7d314
allow links when ok
2020-09-22 02:14:55 +10:00
Grahame Grieve
d07966e422
remove spaces from generated tel: links
2020-09-22 02:14:23 +10:00
Grahame Grieve
17ed666fef
fix bug with nested <a> links
2020-09-21 19:54:45 +10:00
Grahame Grieve
71e4b5d6e5
Fix bug producing nested <a> links and producing invalid langauge rendering
2020-09-21 19:53:55 +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
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
Lloyd McKenzie
4509be02d7
Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core
2020-09-15 13:40:23 -06:00
Grahame Grieve
da113e25b6
remove commented out code
2020-09-15 10:57:21 +10:00