Commit Graph

1946 Commits

Author SHA1 Message Date
Grahame Grieve d04242446e standardise lang matching 2023-04-25 21:52:17 +10:00
Grahame Grieve 7487c978f2 fix code system rendering when only 1 or 2 translations 2023-04-25 21:51:59 +10:00
Grahame Grieve 3ed7813973 language translations support in validator 2023-04-25 21:51:31 +10:00
Grahame Grieve 20f73e2094 fix spelling mistakes 2023-04-24 23:07:09 +10:00
Grahame Grieve 1498823d5f fix error processing nucc locally 2023-04-21 18:53:03 +08:00
Grahame Grieve fe86ab1d7c reorg server settings 2023-04-21 18:52:36 +08:00
Grahame Grieve 81b3295f3c fix path problem 2023-04-21 12:25:10 +08:00
Grahame Grieve a3dc74f3e2 fix bug digging into property type 2023-04-21 12:24:37 +08:00
Grahame Grieve 696f060da3 Remove wrong id from generated value sets 2023-04-21 12:23:37 +08:00
Grahame Grieve de4da1eab5 Remove spurious header from ConceptMap rendering 2023-04-21 12:21:58 +08:00
dotasek 9b4b1ae2cc
Add -fhir-settings param to Validator CLI (#1203)
* Start work

* Tests for new Param

* More tests, add param, refactor

* Rename + JsonProperty annotations

* Logging for API keys

* WIP rename search parameter + add settings object for serialization

* Switch to JSON based settings file.

* Rename FHIRSettings and remove ToolGlobalSettings

* Update default path for settings file + expand test

* Only allow single instantiation with explicitFilePath

* Move and expand tests

* Fix failing test

* Add test for FhirSettings param precedence

* Refactor to only call getInstance() internally in FhirSettings
2023-04-19 17:18:29 -04:00
James Agnew 2fd0a07d9f Return ID part when FhirPath expression result is converted to string 2023-04-18 09:07:57 -04:00
Grahame Grieve 2d7dfc1ee9 remove spurious debugging code 2023-04-18 09:41:58 +08:00
Grahame Grieve cdadde108f fix problem with leaf rendering in profile driven renderer 2023-04-18 09:41:44 +08:00
Grahame Grieve ec84f6aa0b fix minor issues in terminology engine 2023-04-18 09:41:28 +08:00
Grahame Grieve 02bd1d8ce7 more fixing for language handling issues 2023-04-18 09:40:49 +08:00
Grahame Grieve 81d26c5160 work on no-network-access mode 2023-04-18 09:39:59 +08:00
dotasek 9530f40f9c
Fix SimpleWorkerContextTests, ignore ExternalTerminologyServiceTests (#1217) 2023-04-14 12:00:44 -04:00
Grahame Grieve c9416e9a56 Merge remote-tracking branch 'origin/master' 2023-04-14 18:01:18 +10:00
Grahame Grieve 6ac00b8c68 rework terminology interface 2023-04-14 17:59:06 +10:00
Amir Toosi b09e536387
Fix HumanName getNameAsSingleString never returning text element (#1207)
* Fix HumanName getNameAsSingleString never returning text element

* Add test + gentle rename in joinStringsSpaceSeparated

* removed unused variable from unit test. added fix for getNameAsSingleString to r5.

* changed variable names in joinStringSpaceSeparated to more meaningful names

* Add tests and fixes for dstu2016may, dstu3, and r4b + gentle refactor

---------

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-04-12 14:31:58 -04:00
dotasek 8ba4d75451
Import original test, and fix with renamed method (#1173) 2023-04-12 13:22:13 -04:00
Grahame Grieve 03eb6e7bf0 more work doing terminology server testing 2023-04-08 15:06:51 +10:00
Grahame Grieve 730a199f7a fix R4/R5 conversion issues 2023-04-08 15:06:09 +10:00
Grahame Grieve 7d4cb4b5a2 Add support for CodeSystem supplements and correctly processing extensions when doing expansions 2023-04-03 20:47:23 +10:00
Grahame Grieve 548284fcda rework language handling again 2023-04-02 23:08:17 +10:00
Grahame Grieve 0188fcedd1 fix NPE in requirements renderer 2023-04-02 23:07:52 +10:00
Grahame Grieve 42a9e47379 Add terminology service tests 2023-04-02 23:07:34 +10:00
Grahame Grieve 0bbff8d14d rework package cache manager - add testing mode 2023-04-02 23:06:29 +10:00
Grahame Grieve 4966731195 Add link to questionnaire rendering questionnaireResponse 2023-04-01 07:33:09 +11:00
Grahame Grieve 9e98128eee Fix access violation rendering questionnaire 2023-04-01 07:32:45 +11:00
Grahame Grieve c66da517bb Fix bug generating narratives 2023-04-01 07:32:26 +11:00
Grahame Grieve e59c83855d Defining the existence of R6 2023-04-01 07:32:02 +11:00
Grahame Grieve 3df8593c48 Fix up loading of IG bundles 2023-03-30 23:30:41 +11:00
Grahame Grieve 76c96a53d6 Work around issue with R5 path in extensions pack 2023-03-30 23:30:23 +11:00
Grahame Grieve 1b6137967f i18n framework for HTML generation in renderers - step #1 2023-03-30 10:16:51 +11:00
Grahame Grieve b1bd539b03 memory conservation testing 2023-03-30 08:31:01 +11:00
Grahame Grieve 5e2330c6e2 Better error handling loading resources 2023-03-30 08:30:47 +11:00
Grahame Grieve bb94efa873 restore broken R4 loading 2023-03-30 08:30:32 +11:00
Grahame Grieve 12de53f336 Work on language translations 2023-03-30 06:32:10 +11:00
Grahame Grieve 50b5802d39 Don't preload resources to fix them 2023-03-30 06:24:50 +11:00
Grahame Grieve 25d7affba4 fix up R5 paths that are wrong in Extensions package 2023-03-29 15:05:50 +11:00
Grahame Grieve d82bec0f90 Add binding.description to markdown fields that get their URLs processed 2023-03-29 15:03:08 +11:00
Grahame Grieve 77e771af2a Fix up URLs for untouched elements when generating 2023-03-29 15:02:45 +11:00
Grahame Grieve 18cc404567 fix loading version of extensions package 2023-03-28 07:45:29 +11:00
Grahame Grieve 8101ae8a3b display checking case insensitive 2023-03-28 07:45:14 +11:00
Grahame Grieve d43d6ce19a don't suppress error when FML doesn't parse 2023-03-28 07:44:44 +11:00
Grahame Grieve ce75d57808 fix extension status and extension generator 2023-03-25 21:54:53 +11:00
Grahame Grieve 8e9b96b4b7 refactor loader for easier loading of old versions 2023-03-25 18:58:22 +11:00
Grahame Grieve ade21ddb1f fix NPEs 2023-03-24 23:09:01 +11:00
Grahame Grieve 490e588cf3 First draft of generation for extensions 2023-03-24 22:19:17 +11:00
Grahame Grieve 272f00e786 move web path out of user data into resource field 2023-03-24 22:18:52 +11:00
Grahame Grieve b8777319da update tests to use R5 package from test case repo everywhere 2023-03-24 10:18:42 +11:00
Grahame Grieve fcd6484657 finish removing population type 2023-03-24 10:17:48 +11:00
Grahame Grieve f98c2b2f03 more r5 updates 2023-03-24 01:45:34 +11:00
Grahame Grieve adf6d5e3a0 updates for R5 final 2023-03-23 20:49:30 +11:00
Grahame Grieve f122dc164f update code for R5 final 2023-03-23 20:48:38 +11:00
Grahame Grieve 417bae01b1 more work to sort out mappings 2023-03-22 23:05:44 +11:00
Grahame Grieve aba6e8958d fix broken links 2023-03-22 13:44:52 +11:00
Grahame Grieve 19760bcaf2 add todo note 2023-03-22 13:44:19 +11:00
Grahame Grieve 085ce861d8 remove warning when profile-element is used 2023-03-21 19:14:00 +11:00
Grahame Grieve 851d9c149d Merge remote-tracking branch 'origin/master' 2023-03-21 17:41:52 +11:00
Grahame Grieve 5444c3a33a Inline help6.png in resources 2023-03-21 17:26:51 +11:00
Grahame Grieve 075bb46fa3 Suppress value set expansion for core value sets that tx.fhir.org is handling wrongly 2023-03-21 17:26:24 +11:00
Grahame Grieve bb61229931 suppress NPE in profile comparison 2023-03-21 17:25:56 +11:00
Grahame Grieve 98a7f26b84 fix problem with composition library reference in R4 2023-03-21 17:25:45 +11:00
Grahame Grieve 50f2d05a87
Merge pull request #1176 from aehrc/ml-202303-fix-1175-incorrect-type-in-validate-code-call
Make url parameter type UriType, not StringType
2023-03-21 07:59:20 +11:00
Grahame Grieve 900faa2450 part of fix for type checking 2023-03-21 06:12:16 +11:00
Grahame Grieve 71a19710a0 Fix for where profile_element extension was being ignored when checking types after snapshot generation 2023-03-21 06:12:02 +11:00
Grahame Grieve 2fbb607f81 Fix generated name for FML rules to be a valid name 2023-03-21 06:04:31 +11:00
Grahame Grieve 11c80f7d00 allow loaders to decide which resources to load into the context 2023-03-21 06:03:36 +11:00
Grahame Grieve 813a850730 adjust mappings handling code generating diffs 2023-03-19 08:52:37 +11:00
Michael Lawley 14edde2ab8
Make url parameter type UriType, not StringType 2023-03-18 10:33:16 +10:00
Grahame Grieve f8a19a1bae Refactor how mappings are handled when generating differentials: in R5, mapping names are unique 2023-03-18 05:47:33 +11:00
Grahame Grieve fe538ea530 fhirpath tests on element model 2023-03-17 07:56:06 +11:00
Grahame Grieve 72d97a2960 better error messages setting properties when transforming 2023-03-17 07:55:53 +11:00
Grahame Grieve d9c632d9ad better error messages converting types 2023-03-17 07:55:32 +11:00
Grahame Grieve 413cbb115a fix issues with R3R4MapTester 2023-03-16 14:08:00 +11:00
Grahame Grieve 27598a382d Fix issues with xhtml handling 2023-03-16 14:07:11 +11:00
Grahame Grieve 4a7abab5e8 Fix for parsing Bundle.issues 2023-03-16 14:05:54 +11:00
Grahame Grieve 19cb639d37 refactor how types are handled loading packages 2023-03-16 13:26:34 +11:00
Grahame Grieve 824f51f82e fixing broken links, and r4/r5 map testing 2023-03-14 13:24:00 +11:00
Grahame Grieve 46ed0157ce fix bug parsing FML metadata 2023-03-13 13:53:27 +11:00
Grahame Grieve a6466f4265 add url and md escaping and unescape in FHIRPath + 2nd param to join() 2023-03-13 13:53:04 +11:00
Grahame Grieve 753a90b463 fix bug listing types when old versions are loaded 2023-03-13 13:52:31 +11:00
Grahame Grieve 7b30dc02f9 check for NPE 2023-03-13 05:10:08 +11:00
Grahame Grieve 96f265653e fix run time test 2023-03-12 23:02:46 +11:00
Grahame Grieve f11bdb9560 fix NPE 2023-03-12 21:55:44 +11:00
Grahame Grieve 2dc72fcaf1 fix bug parsing FML (id) 2023-03-12 21:54:21 +11:00
Grahame Grieve 43253e8d10 improve extension representation 2023-03-12 21:53:38 +11:00
Grahame Grieve 525ba127e8 make sorter public and static 2023-03-11 18:59:31 +11:00
Grahame Grieve 26ed139031 fix up build extensions 2023-03-11 18:58:35 +11:00
Grahame Grieve 571c170e13 hack observation for change 2023-03-11 18:54:35 +11:00
Grahame Grieve 83f608597a fix errors rendering mapping file 2023-03-11 18:53:53 +11:00
Grahame Grieve 939d1d06c0 improve error message 2023-03-11 18:53:29 +11:00
Grahame Grieve 10d560c859 Add support for locally processed special case code systems (and an example - rgb) 2023-03-10 21:28:08 +11:00
Grahame Grieve 1212b85b5e Change from Error to FHIRException when wrong value type is wrong on polymorphic element 2023-03-10 16:12:59 +11:00
dotasek 909f7e64fe
Additional zip-slip tests (#1162)
* Additional zip-slip tests

* Fix windows path test
2023-03-09 14:30:53 -05:00
Grahame Grieve 9e87e6915c Fix for NPE in R5 IG 2023-03-09 22:20:10 +11:00
Grahame Grieve 3338cfbe39 fix issues parsing test maps 2023-03-09 20:57:37 +11:00
Grahame Grieve 95813d9004 Fix FML Comments parsing, and add StructureMap rendering to pretty FML 2023-03-09 19:44:57 +11:00
Grahame Grieve ce246df4a0 fix comment parsing 2023-03-09 19:44:06 +11:00
Grahame Grieve 187d3e98c7 More fixes for structure map validation 2023-03-09 09:11:31 +11:00
Grahame Grieve 0e41463886 move test cases 2023-03-08 15:32:52 +11:00
Grahame Grieve eb852a8d03 mark location for input parsing FML 2023-03-08 11:48:37 +11:00
Grahame Grieve 015d53e8ee fix problem parsing types 2023-03-08 09:11:00 +11:00
Grahame Grieve 4486c12df5 fix location bugs in FML parsing 2023-03-07 21:47:38 +11:00
Grahame Grieve 6bf26255ab fix structure map validation issues around type 2023-03-07 20:58:51 +11:00
Grahame Grieve bbc3cd5121 Fix FML parsing missing locations 2023-03-07 20:58:01 +11:00
Grahame Grieve 0c26f09721 revise whitespace handling for unicode conformance in validator 2023-03-07 06:25:45 +11:00
Grahame Grieve 6fe16d1812 fix bug parsing parameters in FML 2023-03-06 20:44:17 +11:00
Grahame Grieve 36d22c522a make xhtml nodes use less memory 2023-03-06 10:32:54 +11:00
Grahame Grieve 356e500ab6 finish ConceptMap validation 2023-03-05 23:25:12 +11:00
Grahame Grieve ec72b1fcdd fix parsing and validating of concept maps in structure maps + validate terminology part of structure maps 2023-03-05 18:29:11 +11:00
Grahame Grieve 8ac01bd5a4 update conversions for discovered issues for R5 2023-03-03 06:30:49 +11:00
Grahame Grieve 5e070b226b Add back code missed when regenerating R5 2023-03-03 06:30:10 +11:00
Grahame Grieve 99d2421014 fix using wrong version of extensions package 2023-03-02 08:49:22 +11:00
Grahame Grieve 042c1dd29e last qa fixes for R5 preview 2023-03-01 23:46:32 +11:00
Grahame Grieve 68090356cb Update for regenerated java code in 5.0.0-draft-final 2023-03-01 21:49:49 +11:00
Grahame Grieve 2e11041fc5 Regenerate R5 for 5.0.0-draft-final 2023-03-01 21:49:11 +11:00
Grahame Grieve 0425a2beff suppress spurious log message 2023-03-01 05:30:10 +11:00
Grahame Grieve fe9eaca741 Merge remote-tracking branch 'origin/master' 2023-03-01 04:54:25 +11:00
Grahame Grieve 94de728553
Merge pull request #1144 from hapifhir/do-20230227-fhircat-shex-fix
Fix for build failures in #1120
2023-03-01 04:54:10 +11:00
Grahame Grieve 85eea1df09 tidy up generator code 2023-02-28 22:51:16 +11:00
Grahame Grieve 4055635396
Merge pull request #1143 from hapifhir/gg-202302-fhirpath-where-cleverness
pick up types in FHIRPath when filtering references with .where(resol…
2023-02-28 21:44:10 +11:00
Grahame Grieve 18abfdc920 pick up types in FHIRPath when filtering references with .where(resolve() is X) 2023-02-28 20:51:08 +11:00
Grahame Grieve 64cea66959
Merge pull request #1141 from balhoff/anyuri-types
Output literal datatypes for anyURI types in RDF examples
2023-02-28 16:29:27 +11:00
Grahame Grieve 1a88c6ebc8 fix for R5 hack 2023-02-28 11:13:19 +11:00
Deepak Sharma 83a323ac33
Merge branch 'hapifhir:master' into master 2023-02-27 14:04:23 -06:00
Jim Balhoff 13fbf16daa Output literal datatypes for anyURI types. 2023-02-27 13:40:01 -05:00
dksharma 6ba6a0ae62 Removed BASE directive, sorted value-set rendering and correct imports 2023-02-27 12:23:20 -06:00
dksharma a593e9a60d Minor correction to align with FHIR R5 RDF changes 2023-02-27 02:18:24 -06:00
Grahame Grieve 4c30621491 structuremap validation and invariant fixes for forthcoming R5 release 2023-02-27 18:32:38 +11:00
dksharma 5fde3a2106 Minor correction to align with FHIR R5 RDF changes 2023-02-26 21:44:07 -06:00
Grahame Grieve 2bd73c650e Work on StructureMap validation 2023-02-27 07:30:04 +11:00
dksharma e64461e940 Corrected TypeArcs and Node Roles 2023-02-24 23:12:43 -06:00
Grahame Grieve d3a407e369 FML validation 2023-02-25 14:05:03 +11:00
dksharma 9ca531ff0a Added IMPORT for all SDs, enabled batch SD ShEx Generation. Disabled Context translation temporarily 2023-02-23 23:19:13 -06:00
Grahame Grieve 3c0fb89cd7
Merge pull request #1121 from costateixeira/master
StructureDef: remove example label when no label is given
2023-02-24 11:40:20 +11:00
Grahame Grieve b12dbe2dfe
Merge pull request #1134 from hapifhir/gg-202302-conceptmap-hack
Gg 202302 conceptmap hack
2023-02-24 10:41:18 +11:00
Grahame Grieve 521e72a5ff
Merge pull request #1110 from balhoff/rdf-wg-r5-with-generated
Implement R5 RDF format changes
2023-02-24 10:21:19 +11:00
Grahame Grieve b2ef9a3336 fix typo 2023-02-24 09:02:52 +11:00
Grahame Grieve cf2ddda8d7 workarounds for forthcoming ConceptMap change 2023-02-24 06:52:51 +11:00
dksharma 5728cf94c2 Adjusted Tests for Build 2023-02-22 00:10:15 -06:00
dksharma 2adf054733 Correction in ShEx Translation of FHIRPath Constraints 2023-02-22 00:05:56 -06:00
Grahame Grieve 3eda8580fc fix rendering for conditional references 2023-02-21 16:46:02 +11:00
Grahame Grieve b38c8c3ae7 track target types on references in FHIRPath 2023-02-20 23:47:50 +11:00
Grahame Grieve 8a354849a7 add standardsStatus support to core model 2023-02-20 16:47:02 +11:00
Grahame Grieve b653129d1a minor type checking fixes for FHIRPath 2023-02-20 10:43:53 +11:00
Grahame Grieve 98f4a02789 fix bugs in type checking discovered during R5 preparation 2023-02-18 15:14:24 +11:00
Grahame Grieve 1b86b29d1f fix bug caused by changing DiagnosticReport.conclusion to markdown 2023-02-18 15:13:37 +11:00
Grahame Grieve 38a55d261d update table generator to suppress external links in base row and column 2023-02-18 15:13:13 +11:00
dksharma dadc3701e4 Added method comments for better understand of utility method usage 2023-02-17 15:59:54 -06:00
Jose Costa Teixeira 0e2e333fa9
remove example label when not existing 2023-02-17 21:56:51 +01:00
dksharma 3eff78bdb9 Updated code to leverage EXTENDS and not duplicate datatype definitions with usage 2023-02-16 18:57:06 -06:00
dksharma e6ca865d68 ShExGenerator Tests included from working branch 2023-02-15 23:28:50 -06:00
dksharma b248d00ee7 ShExGenerator.java Changes included from working branch 2023-02-15 23:21:58 -06:00
Jim Balhoff 53710b5390 Merge branch 'rdf-wg-r5' into rdf-wg-r5-with-generated 2023-02-15 10:00:28 -05:00
Grahame Grieve 7f454098b9 search parameter rendering improvements 2023-02-15 12:14:48 +11:00
Grahame Grieve 26f7b3a803 FHIR-38789 SD_Dependencies extension needs work 2023-02-15 12:12:28 +11:00
Grahame Grieve 5c413822bd Search Parameter Rendering improvements 2023-02-15 11:55:18 +11:00
Jim Balhoff 97772ada1e Merge branch 'master' into rdf-wg-r5 2023-02-14 13:47:28 -05:00
Grahame Grieve b46160bc8b FHIR-27761 Tooling issues around multi-level Operations 2023-02-14 15:08:55 +11:00
Grahame Grieve de3ec0d27b fix npe + render OperationDefinition parameter standards status 2023-02-14 12:34:19 +11:00
Grahame Grieve d9f98902b9 fix npe 2023-02-14 11:01:59 +11:00
Grahame Grieve d5d83bea9c fix broken links in R5 builds 2023-02-14 09:53:22 +11:00
Jim Balhoff d67470a6e1 Add MeSH triples. 2023-02-13 14:24:49 -05:00
Grahame Grieve 4ae0dfe8f4 rendering fixes 2023-02-13 20:29:56 +11:00
Grahame Grieve ccb5004766 fix issues with URL regex 2023-02-13 11:07:11 +11:00
Jim Balhoff a72ccaa0ed Merge branch 'rdf-wg-r5' into rdf-wg-r5-with-generated 2023-02-10 12:43:35 -05:00
Jim Balhoff a547458274 Update loinc namespace. 2023-02-10 12:43:15 -05:00
Grahame Grieve bd424e7b60 fixes after more testing 2023-02-10 16:18:33 +11:00
Grahame Grieve 11c887edc5 FHIR-34417: implementations for comparable(), highBoundary(), lowBoundary() 2023-02-10 10:02:40 +11:00
Jim Balhoff 92cae24b1b Add generated RdfParser code. 2023-02-08 14:09:01 -05:00
Grahame Grieve ba731b0051 Fix R5 loading problem 2023-02-07 09:53:51 +10:00
Grahame Grieve 1d4f1e9d90 fix bug with duplicate value in getResourceNames() 2023-02-06 05:38:02 +11:00
Grahame Grieve e4925ea762 minor fixes for extension rendering 2023-02-03 18:42:05 +11:00
Grahame Grieve 2628f6fac1 FHIRPath changes for as - case and singleton issues 2023-02-03 12:11:53 +11:00
Grahame Grieve f7ad38cc34 fix type of issue source extension 2023-02-02 16:39:53 +11:00
Jim Balhoff d596a6c343 Use leading underscore for properties with objects with modifier extensions. 2023-02-01 19:49:24 -05:00
Jim Balhoff 12bf57886f For resources with a modifierExtension, use a leading underscore for the rdf:type. 2023-02-01 13:05:47 -05:00
Grahame Grieve 4a79e89f62 Merge remote-tracking branch 'origin/master' 2023-02-01 14:49:19 +11:00
Grahame Grieve 2cc8ff5e23 extension related validation fixes 2023-02-01 14:49:14 +11:00
Neelima Karipineni 61e63b128a
Enhancements to StructureMap transform to support logical models as source and value set lookup (#1092)
* implement resolveValueSet from AHDIS Matchbox

* get SD from map source type, set logical model

* test for getSourceResourceFromStructureMap DefinitionException

* test resolveValueSet

* test transform logical source

* fix formatting
2023-01-31 16:56:02 -05:00
Jim Balhoff 69ce2b45f2 Output lists in examples using RDF lists. Don’t output fhir:index. 2023-01-31 14:11:29 -05:00
Grahame Grieve 7ad4bd62c6 fix for NPE rendering resources 2023-01-31 07:23:12 +11:00
Grahame Grieve d859e0b4bd Temporary Support for MedicationStatement in R5 (going to be renamed again) 2023-01-31 07:22:33 +11:00
Jim Balhoff 890971d110 Output type triples for value[x] nodes. Use simple property names. 2023-01-27 17:35:36 -05:00
Jim Balhoff 00d1ab3517 Use fhir:v for literal values in examples. 2023-01-22 19:14:49 -05:00
Jim Balhoff b7576dee79 Don’t output ontology import declaration in examples. 2023-01-22 19:14:08 -05:00
dotasek b50aec5912
Advisory fix 1 (#1089)
* Update cache and comparison downloads to use https

* Zip Slip tests and fix

* Zip Slip tests 2 and fix

* Add missing tempDir child in ScannerTest

* Add win format zip test

* Add tests to r4b

* Add tests and fixes for slips in tgz processing

* Update fhir-test-cases version
2023-01-20 16:56:57 -05:00
Grahame Grieve 2c93585bb6 better error message 2023-01-21 07:36:09 +11:00
Grahame Grieve f8e6371e1f
Merge branch 'master' into gg-202301-sm-errors 2023-01-20 19:44:24 +11:00
Grahame Grieve b16fc37b02 clean up error handling when parsing structure maps 2023-01-20 04:24:42 +11:00
dotasek f58b7acfb5
Swaps isBase64 with internal implementation for Android compatibility (#1079)
* Adding animal sniffer to display all issues related to android compatibility.

* Duplicate isBase64 internally

Co-authored-by: Vitor Pamplona <vitor@vitorpamplona.com>
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-01-18 18:40:24 -05:00
Grahame Grieve 7cc01ef7db update new FHIRPath for older versions 2023-01-19 07:57:05 +11:00
Grahame Grieve 26027fa3d6 update FHIRPath implementation for discussion at 84a07a6a92 2023-01-19 06:59:45 +11:00
Grahame Grieve c9833f94d3 Add ElementModel based StructureMap parser 2023-01-18 12:32:06 +11:00
Grahame Grieve 7b99037199 fix BOM in java files 2023-01-17 12:49:14 +11:00
Grahame Grieve daf5638f3e Fix significant performance issue generating xlsx for multiple profiles 2023-01-17 11:23:39 +11:00
Grahame Grieve 8cb7e40815 Improved Error message if profile root has slicing 2023-01-17 11:23:14 +11:00
Grahame Grieve 01c131b29d see PR 1075 - fix issue with setProperty() ignoring extensions 2023-01-17 11:22:42 +11:00
Grahame Grieve 41abbb21a0 fix debug logging for snapshot generation 2023-01-17 05:36:44 +11:00
Grahame Grieve 1df68c95a4 Fix rendering when binding strength missing 2023-01-16 10:13:11 +11:00
Grahame Grieve 6c2a488402 fix type convertors to handle null 2023-01-16 10:12:59 +11:00
Grahame Grieve a06803d936 Start implementing loading structure maps with validation 2023-01-14 08:45:13 +11:00
Grahame Grieve 90f7214195 test NPE in markdown processing 2023-01-10 11:34:41 +11:00
Grahame Grieve 8902898428 better tracking and reporting of snapshot generation issues 2023-01-09 08:03:24 +11:00
Grahame Grieve c828ce9eb7 fix URL TO URI 2023-01-06 10:41:21 +11:00
Grahame Grieve 45cf907204 kindling compile fixes 2023-01-05 08:43:30 +11:00
Jim Balhoff 673e36b989 Merge branch 'master' into rdf-wg-r5-merging 2023-01-04 15:04:48 -05:00
Grahame Grieve f3fc19a906 refactor profile generation (utils -> renderer) + add new views 2023-01-03 14:54:11 +11:00
Grahame Grieve b014401dd4 refactor profile rendering (more to StructureDefinitionRenderer) 2023-01-01 11:12:44 +11:00
Grahame Grieve aacefd6581 Merge remote-tracking branch 'origin/master' 2022-12-31 11:06:47 +11:00
Grahame Grieve b894cc6da7
Merge pull request #1048 from qligier/pr-fix-text-appending
Fix appending text in ProfileUtilities
2022-12-31 09:10:24 +11:00
Grahame Grieve c1262d50c5 fix up cardinality issues 2022-12-30 07:20:06 +13:00
dotasek 1380c5e52d Fix test breakage caused by capitalization 2022-12-29 13:17:47 -05:00
Grahame Grieve be9c36e037 more PE work 2022-12-29 21:37:44 +13:00
Grahame Grieve 5e67c5a57e more work 2022-12-29 17:16:40 +13:00
Grahame Grieve 44ecfbf53d more PE work 2022-12-29 10:18:47 +13:00
Grahame Grieve d532af808b more work on PE definitions 2022-12-28 16:11:45 +13:00
Grahame Grieve 50bc157ab9 more work on PE 2022-12-28 08:38:27 +13:00
Grahame Grieve 44b25be2a5 warning 2022-12-26 13:51:54 +13:00
Grahame Grieve abf8dca07b more doco 2022-12-26 13:51:16 +13:00
Grahame Grieve 9959183017 more work on PEDefinition 2022-12-26 13:28:22 +13:00
Grahame Grieve 900f471dda upgrade test case dependency 2022-12-24 08:42:02 +13:00
Grahame Grieve f87394b46e start implementing ProfiledElement 2022-12-24 07:30:09 +13:00
Grahame Grieve 0827dc32f1 Merge remote-tracking branch 'origin/master' 2022-12-24 07:29:17 +13:00
Grahame Grieve a24d34a471 Merge remote-tracking branch 'origin/master' 2022-12-24 06:53:43 +13:00
Quentin Ligier 858c06f097
Fix appending text in ProfileUtilities
If the base text was null, appending a text in the derived element (using "...") would show a "null" before the text. This commit adds the method Utilities.appendDerivedTextToBase() to implement to correct behavior.
2022-12-23 18:52:47 +01:00
dotasek b404c89aa9
Profile Utilities Refactor 2 (#1047)
* Add test util for diff

* Start moving pathprocessor params into dedicated object

* Move diff to Params

* Move base and diff Limits to params

* Rename to newBaseCursor and newBaseLimit

* More renames

* Move url and webUrl to params

* Move profileName to params

* Add contextPathSource to params, adjust indent for processPaths calls

* Move contextPathTarget to params

* Code cleanup, unused variables + move trimDifferential to params

* Create PathSlicingParams

* Shuffle param order

* Move redirector to params

* Move sourceStructureDefinition to params

* Move derived to params

* Move debug statements to dedicated methods

* split processSimplePath

* split processPathWithSlicedBase

* Start splitting ProfilePathProcessor

* Move all params into ProfilePathProcessor

* Move all profile utility related classes to own package

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-12-23 09:27:42 -05:00
Grahame Grieve fd77fd16d0 round trip constraint xpath after R5 changes 2022-12-23 15:14:25 +13:00
Grahame Grieve 2f0a45046e liquid fixes to FHIRPath 2022-12-20 23:09:44 +13:00
Grahame Grieve e2dff7d118 change name 2022-12-20 08:48:55 +13:00
Grahame Grieve 96810c984b revise draft 2022-12-20 08:47:30 +13:00
Grahame Grieve b6d35314f6 fix bug in cross version extension generation 2022-12-19 22:51:04 +13:00
Grahame Grieve d8dacd260f Candidate service for working with profiles in applications 2022-12-19 17:20:31 +13:00
Grahame Grieve 4028d9930b
Merge pull request #1041 from alexey-tschudnowsky/ISSUE_1040_Profile_Compare_NullPointerException
fixes #1040 (NullPointerException while comparing profiles)
2022-12-17 08:09:12 +11:00
Grahame Grieve 6b1ae35ef3 * Add validator support for fhir_comments in R2/R2B (#1042) + Add validator checks around versions in extension URLs 2022-12-17 07:11:06 +11:00
Grahame Grieve 85931f9ff2 commit version-base 2022-12-17 05:56:37 +11:00
Alexey Tschudnowsky 84508415ef fixes #1040 2022-12-16 16:46:49 +01:00
Grahame Grieve bd85546820 reintroduce hack for invalid template OO json 2022-12-16 11:27:48 +11:00
Grahame Grieve 64cc3771a6 fix tests to get versions consistent 2022-12-16 08:49:14 +11:00
Grahame Grieve 415d8acc12 Add R5 snapshot3 to R4 versions enum 2022-12-16 08:48:24 +11:00
Grahame Grieve 72eae55218 fix new bug in package manager 2022-12-14 09:59:25 +11:00
Grahame Grieve 2a7136021f Allow any for resource enum 2022-12-14 07:05:39 +11:00
Grahame Grieve 38c4785236 reverse SearchParameter.base change 2022-12-14 06:29:21 +11:00
Grahame Grieve 0cf8cbcba5 fix failing tests 2022-12-13 22:17:45 +11:00
Grahame Grieve d1d391496e upgrade to new R5 release 2022-12-13 21:13:29 +11:00
Grahame Grieve 5f2317a87c Merge remote-tracking branch 'origin/master' 2022-12-09 23:34:24 +11:00