Commit Graph

3243 Commits

Author SHA1 Message Date
Brian Postlethwaite 5d612c78b2 Don't permit variables to be over-written. 2024-04-12 14:13:53 +10:00
Brian Postlethwaite 7b7af6087e base components of implementing the defineVariable fhirpath function 2024-04-12 14:13:53 +10:00
Grahame Grieve 4ceac5012b Look up support in Tx Tests 2024-04-11 08:29:34 +10:00
Grahame Grieve 8ce99140aa More i18n work (#1592) 2024-04-10 08:18:58 +10:00
Grahame Grieve 0038e3a57b Fix up path management in the validator for resolving references in Bundles 2024-04-10 08:18:06 +10:00
Grahame Grieve a939e14db9 Add isServerSide for seeing if code systems are only supported on the server 2024-04-10 08:16:55 +10:00
Grahame Grieve a111989bb4 i18n work in rendering context (WIP) (#1592) 2024-04-09 05:20:41 +10:00
Grahame Grieve 2ce5bbd0d8 #873 render CapabilityStatement.imports (and instantiates) 2024-04-04 22:16:26 +11:00
markiantorno 1f3d2838d9 Updating version to: 6.3.5-SNAPSHOT and incrementing test cases dependency. 2024-04-04 01:47:30 +00:00
markiantorno 45e8d86478 Release: v6.3.4
## Validator Changes

* Validate fixed/pattern values are not changed in derived profiles
* Fix NPE validating some profiles
* FHIRPath validation: consider sub-extensions when checking extension($) use
* Fix validation of concept maps containing SCT
* Preserve message id from terminology service so editors can use it to remove hints and warnings

## Other code changes

* Fix ConceptMap.group.target conversion from R3 to R5
* Fix NPE in list renderer
* fix bug showing 'required' instead of 'current' rendering additional bindings
* Fix bad references generating narratives in bundles
* Fix bug showing extension binding twice
* Various improvements to structure map validation to support cross-version mappings
* Add rendering for UsageContext and ContactDetail
* Fix broken link in xver IG for R2
* Fix bug rendering resources in Parameters resource
* Not-pretty xhtml gets line breaks before block tags to keep line length down (work around a jekyll issue)
* Improved ConceptMap rendering for cross-version IG
* Handle xhtml:div type for old FHIR version
* FML: strip '-' from rules names when parsing
* Update FML parsers to accept R5 metadata in R4 FML format
* Break out helper classes for Terminology Service Tester

## Security

* Add start of security notes
* Start moving file access to all go through ManagedFileAccess

## WHO Internationalization work:

* Add library to parse IETF Language definitions
* Move message translations to .po files as the master source & write convertor
* Much work making rendering i18n-able
* i18n for Patient renderer
* Refactor language handling in R5 renderers
***NO_CI***
2024-04-04 00:55:36 +00:00
Grahame Grieve f9a3501857 update to bundle rendering to fix broken links 2024-04-04 06:50:00 +11:00
Grahame Grieve 0d57115ede preserve message id from terminology service so editors can use it in suppressed-messages.txt 2024-04-03 20:13:34 +11:00
Grahame Grieve eb7d66685e improved ConceptMap rendering for cross-version IG 2024-04-03 20:12:47 +11:00
Grahame Grieve 1c98b06189 handle xhtml:div type for old FHIR version 2024-04-03 20:12:28 +11:00
Grahame Grieve f654ae1d58 FHIRPath engine: consider sub-extensions when checking extension($) use 2024-04-03 20:12:14 +11:00
Grahame Grieve a8b40a3946 FML: strip '-' from rules names when parsing 2024-04-03 20:11:40 +11:00
Grahame Grieve 2c6f1b6a59 start moving file access to all go through ManagedFileAccess 2024-04-03 20:11:16 +11:00
Grahame Grieve d4d356731e update PO generator for plurals 2024-03-29 20:38:54 +11:00
Grahame Grieve 8d86abe0c1 more i18n work for rendering 2024-03-29 20:38:28 +11:00
Grahame Grieve c8c3e330b6 fix bad references generating narratives in bundles 2024-03-29 20:38:14 +11:00
Grahame Grieve 89b885f191 i18n for Patient renderer 2024-03-29 20:37:36 +11:00
Grahame Grieve 2373ab7a22 add rendering for UsageContext and ContactDetail 2024-03-29 20:37:26 +11:00
Grahame Grieve 07e291b511 fix bug showing 'required' instead of 'current' rendering additional bindings 2024-03-29 20:36:56 +11:00
Grahame Grieve e2be137e5d fix bug showing extension binding twice 2024-03-29 20:36:38 +11:00
Grahame Grieve 6ca39e14db fix broken link in xver IG for R2 2024-03-27 21:14:26 +11:00
Grahame Grieve c9490d88d1 update FML parsers to accept R5 metadata in R4 FML format 2024-03-27 21:14:00 +11:00
Grahame Grieve a95b867054 more rendering i18n work 2024-03-26 06:27:25 +11:00
Grahame Grieve 1842dfee41 test fix 2024-03-25 23:49:47 +11:00
Grahame Grieve c53730b038 fix tests 2024-03-25 21:44:53 +11:00
Grahame Grieve d49488c617 fix broken tests 2024-03-25 21:11:17 +11:00
Grahame Grieve 9c74556770 more rendering work 2024-03-25 16:57:37 +11:00
Grahame Grieve 459f04a490 update date rendering 2024-03-25 15:58:40 +11:00
Grahame Grieve a4055877c4 more work on multi-language rendering, and add test id to error message on comparison 2024-03-25 10:06:00 +11:00
Grahame Grieve c633eafef6 more i18n refactoring 2024-03-24 18:05:06 +11:00
Grahame Grieve 0e36d2a3c6 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-03-24 17:48:40 +11:00
Grahame Grieve c7dc4b149e fix NPE in list renderer 2024-03-24 17:48:36 +11:00
Grahame Grieve 4a2e2087bb bug fixes 2024-03-23 20:09:17 +11:00
Grahame Grieve e43fb83693 more refactoring rendering for i18n 2024-03-23 18:29:14 +11:00
Grahame Grieve 02b6e80b6d refactor language handling in R5 renderers 2024-03-22 22:49:31 +11:00
Grahame Grieve 53f484d11c fix bug rendering resources in Parameters resource 2024-03-21 20:12:54 +11:00
Grahame Grieve 975b45da36 more work on translations 2024-03-21 20:12:42 +11:00
markiantorno 0cebf9af9f Updating version to: 6.3.4-SNAPSHOT and incrementing test cases dependency. 2024-03-20 13:31:17 +00:00
markiantorno ec51399045 Release: v6.3.3
## Validator Changes

* Fix grammar in validation messages
* Fix NPE in validator for SIDs
* Duplicate designations in a code system is a warning, not an error
* Fix value set validation to validate codes in example code systems

## Other code changes

* Improved multi-language support for IG development (LanguageUtils)
***NO_CI***
2024-03-20 12:38:29 +00:00
Grahame Grieve 9a66c1968e more work on language utilities 2024-03-20 22:44:13 +11:00
Grahame Grieve 8f2f414c78 Fix value set validation to validate codes in example code systems 2024-03-20 20:59:41 +11:00
Grahame Grieve 99ea673b91 Improved language support for IG development 2024-03-20 20:39:07 +11:00
markiantorno b2e3c261e4 Updating version to: 6.3.3-SNAPSHOT and incrementing test cases dependency. 2024-03-18 15:09:50 +00:00
markiantorno 5b5a0a2cdf Release: v6.3.2
## Validator Changes

* CodeSystem property validation improvements
* More valueset validation improvements after real world testing
* Fix processing of NotSelectable filters using in | not-in
* Fix wrong collection type checking FHIRPath subsetOf parameter type

## Other code changes

* Fix rendering of contained resources in Kindling
* Put jurisdiction in NPM package file
* Rendering improvements for xver IG
* More xver support for concept maps
* Fix NPE in ContextUtilities (kindling)
* Add OID Assigner utility
***NO_CI***
2024-03-18 14:24:12 +00:00
Grahame Grieve 30545d31c1 CodeSystem property validation improvements 2024-03-18 18:09:56 +11:00
Grahame Grieve 413c047b56 more fixing rendering 2024-03-18 14:35:59 +11:00
Grahame Grieve c221488463 fix rendering of contained resources in Kindling 2024-03-18 14:35:46 +11:00
Grahame Grieve 8897f956bf put jurisdiction in NPM package file 2024-03-14 16:48:04 +11:00
Grahame Grieve e0d17ceb97 Fix processing of NotSelectable filters using in | not-in 2024-03-14 16:47:45 +11:00
Grahame Grieve 93c98b551a rendering improvements for xver IG 2024-03-14 16:47:23 +11:00
Grahame Grieve 3c39cafbcb more xver support for concept maps 2024-03-14 16:46:57 +11:00
Grahame Grieve 564a71fe1c fix wrong collection type checking FHIRPath subsetOf parameter type 2024-03-14 16:46:39 +11:00
Grahame Grieve fc8be53260 fix NPE in kindling 2024-03-14 16:46:03 +11:00
markiantorno da3bb9e353 Updating version to: 6.3.2-SNAPSHOT and incrementing test cases dependency. 2024-03-10 21:41:17 +00:00
markiantorno 072be957d4 Release: v6.3.1
## Validator Changes

* Add validation for CodeSystem Properties and ValueSet filters
* More validation for Code Systems: contained code systems, supplement cross checks
* Add more validation around ValueSet.compose.include.system - must be a proper URL, and not a direct reference to a supplement
* HL7: Don't require HL7 publishing status on contained resources
* Don't walk into nested bundles when validating links in bundles
* fix up implementation of notSelectable in value set filters
* Add check for multiple version matches for a versionless canonical reference

## Other code changes

* Fix narrative generator generating duplicate anchors (prefix 'hc')
* exclude .DS_Store from generated zip files
* Add cross-version support extension
* Add ConceptMap utilities in support of cross-version module
***NO_CI***
2024-03-10 20:52:29 +00:00
Grahame Grieve 9e8a010c13 ValueSetValidation improvements 2024-03-11 00:19:16 +11:00
Grahame Grieve a94b41add8 fix up implementation of notSelectable in value set filters 2024-03-08 22:31:53 +11:00
Grahame Grieve 045718d582 Fix narrative generator generating duplicate anchors (prefix 'hc') 2024-03-08 22:31:25 +11:00
Grahame Grieve 13dcebb3e4 add check for multiple version matches for a versionless canonical reference 2024-03-08 22:29:51 +11:00
Grahame Grieve 209d38413e cross-version support extension 2024-03-07 13:49:15 +11:00
Grahame Grieve 0076a2206d ConceptMap utilities 2024-03-05 20:10:13 +11:00
Grahame Grieve a3fb1457a0 More improvements to ConceptMap Infrastructure 2024-03-01 16:40:41 +11:00
markiantorno 48023c0ba4 Updating version to: 6.3.1-SNAPSHOT and incrementing test cases dependency. 2024-02-28 05:56:31 +00:00
markiantorno b44c34c7e2 Release: v6.3.0
## Validator Changes

* Fix significant bug where validator gets internal child lists incorrect and doesn't do complete validation when switching between validating profiles and resources directly
* Performance improvement for validator parsing - thanks Brian Postlethwaite
* Fix Crash on slicing a sliced element #862
* Fix ig loading from direct URL (#1559)
* Fix bug copying constraints into Bundle.entry.resource profiles
* Fix bug loading R5 extensions with imported value sets
* Replace dom-3 with custom java code, and check xhtml references to contained content
* Improve concept map code validation
* Update observation validator for committee decision not to enforce Blood Pressure profile for Mean Blood Pressure
* Validate value set internal codeSystem references
* Split value set validation into 10k batches for very large extensional value sets
* Hack fix for opd-3
* Fix bug where using ontoserver when not appropriate
* Fix issues with inferSystem
* Don't require HL7 committee for contained resources in HL7 namespace
* Fix where validator was ignoring minimum cardinality for XML attributes (especially in CDA)
* Improved ConceptMap validation
* Updated IG versions used for -cda and -ccda CLI validation options.
* Change validator so that it marks value properties in primitive data types as illegal

## Other code changes

* Fix code system rendering for uri properties
* Fix broken links Bundle and Profile rendering
* Take copy of code when doing local validation
* WIP: major refactor of cross version analysis
* Add support for subsumes in tx client
* Don't generate snapshots when scanning structure definitions for resource names
* Work on ConceptMap infrastructure for cross-version analysis
* Fix bug where not rendering ConceptMap relationships
* Fix wrong URLs rendering Profiles and Questionnaires
* Fix bug using wrong version constant for R3
* Updates for R5 StructureMap syntax
* Support for case sensitive Code system tests
* Add TurtleGeneratorTests for R5
* Introduce new validator cliContext option disableDefaultResourceFetcher (#1526)
* Render contained resources when rendering Patient resources
* Fix bug in FML Parser
***NO_CI***
2024-02-28 05:04:13 +00:00
Grahame Grieve db5605a5ab fix compile problem 2024-02-28 15:30:12 +11:00
Grahame Grieve f22316d55f fix up structure mapping tests 2024-02-28 12:21:15 +11:00
Grahame Grieve c2c792cb78 render contained resources on patient 2024-02-27 23:53:16 +11:00
Grahame Grieve eb770f830a fix parsing bugs in StructureMap parser 2024-02-27 00:14:11 +11:00
Grahame Grieve 2bcc3fb7ae
Merge pull request #1568 from hapifhir/2024-02-gg-monster
2024 02 gg monster
2024-02-25 23:42:32 +11:00
Grahame Grieve 2bc028b86a Fix compile issue 2024-02-25 19:57:43 +11:00
Grahame Grieve c05ad6cb2c fix bug using wrong version constant for R3 2024-02-25 19:21:58 +11:00
Grahame Grieve e63a2ad16f updates for R5 StructureMap syntax 2024-02-25 19:20:52 +11:00
Grahame Grieve cec8a36d35 Fix wrong URLs rendering Profiles and Questionnaires 2024-02-25 19:20:24 +11:00
Grahame Grieve eaa83ae835 Fix bug where not rendering ConceptMap relationships 2024-02-25 19:19:14 +11:00
Grahame Grieve c2756a24ef work on ConceptMap infrastructure for cross-version analysis 2024-02-25 19:18:06 +11:00
Grahame Grieve 3a27e012be Don't generate snapshots when scanning structure definitions for resource names 2024-02-25 19:16:18 +11:00
Grahame Grieve 0642e123a1 Fix significant bug where validator gets internal child lists incorrect and doesn't do complete validation when switching between validating profiles and resources directly 2024-02-25 19:15:27 +11:00
Grahame Grieve df3456d293 Add support for subsumes in tx client 2024-02-25 19:14:12 +11:00
Grahame Grieve d5972caeb1 performance improvement for element model parsing - thanks Brian Postlethwaite 2024-02-22 17:52:49 +11:00
Grahame Grieve 4fdaee16a5 fix Crash on slicing a sliced element #862 2024-02-22 15:41:46 +11:00
Tim Prudhomme 7761be6197
Add TurtleGeneratorTests (#1528)
* Add TurtleGeneratorTests for R5

* Finish TurtleGeneratorTests setup

* Switch unit test to added example resource, disable others
2024-02-20 15:25:12 -05:00
dotasek e42079e482
Restore commented method verification (#1566) 2024-02-20 11:04:32 -05:00
Grahame Grieve d99fbfa191
Merge pull request #1565 from hapifhir/2024-02-gg-tx-fixes
2024 02 gg tx fixes
2024-02-12 19:23:05 +11:00
Grahame Grieve d128c2d3fc rebuild tx cache 2024-02-12 16:21:36 +11:00
Grahame Grieve 5b323644de Fix issues with inferSystem 2024-02-12 16:20:34 +11:00
Grahame Grieve b8a9b94b45 fix bug where using ontoserver when not appropriate 2024-02-12 16:20:10 +11:00
Grahame Grieve f74f87c33b disable test 2024-02-12 16:19:27 +11:00
Grahame Grieve 55cbc66fbf take copy of code when doing local validation 2024-02-12 16:19:19 +11:00
Grahame Grieve 1df3b9651b
Merge pull request #1563 from hapifhir/2024-02-gg-misc-fixes-1
2024 02 gg misc fixes 1
2024-02-11 22:45:09 +11:00
Grahame Grieve 85a8807e7b code 2024-02-10 23:11:56 +11:00
Grahame Grieve b548b98496 Split value set validation into 10k batches for very large extensional value sets 2024-02-10 23:11:23 +11:00
Grahame Grieve 487094ccc7 Fix broken links Bundle and Profile rendering 2024-02-10 23:10:53 +11:00
Grahame Grieve 2628010dff Fix code system rendering for uri properties 2024-02-10 23:10:31 +11:00
Grahame Grieve 20bf70ed68 fix bug loading R5 extensions with imported value sets 2024-02-10 22:51:32 +11:00
Grahame Grieve 7d4b36a582 fix bug copying constraints into Bundle.entry.resource profiles 2024-02-10 20:35:30 +11:00
dotasek af43ce9fbd
Restore and fix failing SimpleWorkerContextTests (#1557)
* Restore and fix failing tests

* Bump test cases version

* Use released test cases
2024-02-01 09:25:20 -05:00