Commit Graph

408 Commits

Author SHA1 Message Date
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