Commit Graph

951 Commits

Author SHA1 Message Date
Grahame Grieve b014401dd4 refactor profile rendering (more to StructureDefinitionRenderer) 2023-01-01 11:12:44 +11: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 bb60a338d6 fix 2022-12-17 07:13:49 +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 8afc08b6aa test case fixes 2022-12-16 09:27:38 +11:00
Grahame Grieve 8b7890bea2 removing caching package client - rests on invalid assumptions 2022-12-16 08:49:30 +11:00
Grahame Grieve d1d391496e upgrade to new R5 release 2022-12-13 21:13:29 +11:00
dotasek e8747aa001
Use ig for missed {1} param (#1031)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-12-12 13:41:59 -05:00
Grahame Grieve 771fb0ac00 Changes related to validation of document and message links 2022-12-09 11:09:17 +11:00
Grahame Grieve 7f35843440 all-profiles related fixes 2022-12-06 16:22:08 +11:00
Grahame Grieve 037b615bfc allow https://example... in questionnaires as example links 2022-12-05 13:41:50 +11:00
Grahame Grieve fedfa88ffb refactor resource reference resolution to use package dependencies whereever possible 2022-12-01 08:16:00 +11:00
Grahame Grieve 4cda6dd998 Don't double load R5 2022-11-28 12:27:57 -03:00
Grahame Grieve 53fb08ab19 update JSON parser used by validator to JSON5 parser 2022-11-26 18:24:29 -03:00
Grahame Grieve 363a95bb8a more replacing json library 2022-11-25 22:37:43 -03:00
Grahame Grieve 59199075b9
Merge pull request #1003 from hapifhir/gg-202211-json
Gg 202211 json
2022-11-24 19:33:30 -03:00
Grahame Grieve 1617315ed8 minor improvements to validator message 2022-11-24 17:58:15 -03:00
Hank Yang 8e5ad3a693
Fixed -locale parameter for validatorcli (#1002)
* "Added Failing Tests"

* Added Failing Tests

* Failing Tests

* Fixed locale param for validatorcli
2022-11-23 16:02:37 -05:00
Grahame Grieve 4630b86476 More rule dates 2022-11-22 06:45:35 -03:00
Grahame Grieve 24331956f1 Add rule date to validation messages so new rules can be highlighted 2022-11-22 05:58:02 -03:00
Grahame Grieve ed5930b68d fix loading resource types 2022-11-21 22:35:01 -03:00
Grahame Grieve 8136b00c86 work on loading speed for validator 2022-11-21 18:46:47 -03:00
dotasek 82972d5216
Add https-proxy param + fix proxy authorization header (#888)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-11-17 11:27:21 -05:00
Grahame Grieve 47443acaf3 prepare release 2022-11-16 18:36:02 -03:00
Grahame Grieve 24656a20fa typo fix in name 2022-11-15 18:13:45 +11:00
dotasek d724d48f89
Do remove excluded tests 2 (#988)
* WIP remove excluded tests + disable breaking test

* Fix failing test, document test cases.

* Code cleanup

The following are cherry picked from GG branch:

* Fix problem with value set validator hiding errors

* Fix issue rendering resource by name

* fix error location

Co-authored-by: dotasek <david.otasek@smilecdr.com>
Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
2022-11-14 13:30:26 -05:00
dotasek 220cf6b531
Remove excluded tests (#984)
* Fix failing test, document test cases.

* Code cleanup

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-11-14 09:30:43 -05:00
Grahame Grieve db643e8eca fix typo 2022-11-10 10:00:26 +11:00
Grahame Grieve 21b0577249 track hint about code validation 2022-11-10 05:16:10 +11:00
Grahame Grieve 96218a5ce4 refactor resource narrative generation rules 2022-11-10 05:14:59 +11:00
Grahame Grieve a090055fd3
Merge branch 'master' into gg-202211-vs-errors 2022-11-08 09:47:07 +11:00
Grahame Grieve c86d9ee613
Merge pull request #964 from hapifhir/do-i18n-plurals
Internationalization Pluralization
2022-11-08 09:44:23 +11:00
Grahame Grieve 8f0dd5e82d Note about missing locale 2022-11-08 09:37:36 +11:00
Grahame Grieve 19e97c857b Make references to canonical resources in error messages version specific 2022-11-08 09:37:26 +11:00
dotasek 11c369ea09 Remove all _PLURAL labels from constants 2022-11-07 16:52:47 -05:00
dotasek 183f9ecfd2 Remove _PLURAL labels from keys 2022-11-07 16:39:40 -05:00
dotasek 10d104d2f6
Add setExtensions method (#981)
* Add setExtensions method

* Add jsonproperty for setExtensions

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-11-07 16:09:10 -05:00
dotasek ffec2ce1c5 Merge remote-tracking branch 'origin/master' into do-i18n-plurals 2022-11-07 09:23:36 -05:00
Grahame Grieve c835201f36 Merge remote-tracking branch 'origin/master' 2022-11-06 10:16:22 +11:00
Grahame Grieve 4b0c42c832 Fix bug with jurisdiction locale in validator 2022-11-06 10:12:36 +11:00
Grahame Grieve d19ff2e1f6
Merge pull request #972 from hapifhir/do-terminology-cache-filewpipechar
Fix pipes in terminologyCache files
2022-11-06 07:04:58 +11:00
Grahame Grieve a6b167a94a sync 2022-11-05 11:31:06 +11:00
Grahame Grieve db8a2758c2 R4B tests 2022-11-04 23:37:58 +11:00
Grahame Grieve b43581f588 #977 Add support for R4B 2022-11-04 23:37:49 +11:00
Grahame Grieve a66bf51e5b #977 add r4b support 2022-11-04 23:37:33 +11:00
dotasek fc7cd56335 Merge remote-tracking branch 'origin/master' into do-i18n-plurals 2022-11-03 13:35:40 -04:00
dotasek 74659e4648 Merge remote-tracking branch 'origin/master' into do-terminology-cache-filewpipechar 2022-11-03 12:51:19 -04:00
Grahame Grieve 2519858dcd update logical model snapshot generation and validation 2022-11-03 15:59:22 +11:00
dotasek 16a0a08598 Parse out canonical url version + refactor 2022-11-02 16:58:28 -04:00
dotasek 8e663f3ce9 Merge branch 'master' into do-terminology-cache-filewpipechar 2022-11-02 11:08:45 -04:00