Commit Graph

984 Commits

Author SHA1 Message Date
Grahame Grieve f3fa8cae24
Merge pull request #886 from hapifhir/gg-202207-fhirpath
Gg 202207 fhirpath
2022-07-28 09:14:17 +10:00
Grahame Grieve 816f1832d5 fix phinvads format 2022-07-27 22:38:09 +10:00
markiantorno 8978130451 Updating version to: 5.6.54-SNAPSHOT and incrementing test cases dependency. 2022-07-25 22:10:34 +00:00
markiantorno ec87c3a0b4 Release: v5.6.53
## Validator Changes

* Add support for OID 1.3.160 (very short OIDs are special)
* Fix evaluation of ValueSets that have only one value set import

## Other code changes

* Rework precision checking in datetime
* Update version conversion to not drop modifierExtensions
* Fix DocumentRendering to generate Composition Narrative if not present
* Restore Search Parameters (missing due to R5 draft generation issues)
* Don't access getBinaries directly in XVerExtensionManager

***NO_CI***
2022-07-25 21:49:05 +00:00
dotasek b213d00f6d
Fix for #869 Use backbone element conversion (#870)
* Add new copyBackboneElement methods

Plus bring BackboneElement40_50 closer to matching Element40_50

* BackboneElement 40_50

* Undo replacement in commented code.

* add new conv30_50 copyBackboneElement methods

* BackboneElement 30_50

* add new conv30_40 copyBackboneElement methods

* Fix typos + reference

* BackboneElement 30_40

* add new conv14_50 copyBackboneElement methods

* BackboneElement 14_50

* add new conv14_40 copyBackboneElement methods

* BackboneElement 14_40

* add new conv14_30 copyBackboneElement methods

* BackboneElement 14_30

* add new conv10_50 copyBackboneElement methods

* BackboneElement 10_50

* Add new conv10_40 copyBackboneElement methods

* BackboneElement 10_40

* Add new conv10_30 copyBackboneElement methods

* BackboneElement 10_30

* Remove incorrect, commented code

* Add minimal examples for backbone element tests

* Add test code

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-07-25 16:10:13 -04:00
dotasek a221e6b009
Move product to 0_medication_10 expected (#878)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-07-25 12:36:54 -04:00
markiantorno fa0597f864 Updating version to: 5.6.53-SNAPSHOT and incrementing test cases dependency. 2022-07-22 06:10:23 +00:00
markiantorno aa6094c451 Release: v5.6.52
## Validator Changes

* Fix issue with startsWith in FHIRPath engine
* Fix bugs validating references (some references not resolved)
* Fix minor issue supporting 4.3.0 (R4B)
* fix bug loading R5 extensions

## Other code changes

* Fix NPE rendering bundles
* R5 Changes to ConceptMap
* Fix bug rendering extensions
* Fix bug accessing polymorphic fields when rendering
* Fix bug around lazy loading packages when validating references
* Add ability to suppress serialising ids when serialising element models
***NO_CI***
2022-07-22 05:50:56 +00:00
markiantorno bb13edfdc0 Updating version to: 5.6.52-SNAPSHOT and incrementing test cases dependency. 2022-07-18 10:41:30 +00:00
markiantorno 078ca1e13a Release: v5.6.51
## Validator Changes

* no changes

## Other code changes

* Update R5 for revised ConceptMap in R5 cibuild, and release new core library for R5 build process
***NO_CI***
2022-07-18 10:23:13 +00:00
Grahame Grieve 392b064433 updates for new release of R5 2022-07-18 17:56:23 +10:00
markiantorno 982ce5f58f Updating version to: 5.6.51-SNAPSHOT and incrementing test cases dependency. 2022-06-24 18:48:18 +00:00
markiantorno 4a654122fb Release: v5.6.50
## Validator Changes

* Improved logging when discriminator doesn't match doing slicing
* Use correct IPS branch when validating
* Load R5 extensions when validating (draft)
* Make it possible to run tests cases directly from validator (see command line help)

## Other code changes

* Regenerate R4B code for final R4B release
* Reduce text logging when running tests
* Minor test case fixes
* Fix fetching package by canonical to use pkgcanonical instead of canonical
* Fix broken link rendering code system references
* improvements to profile validation
***NO_CI***
2022-06-24 18:32:05 +00:00
dotasek ae8b21014a Bump version to 5.6.50-SNAPSHOT 2022-06-24 11:29:30 -04:00
markiantorno 891aaf4a20 Release: v5.6.49
## Validator Changes

* Improved logging when discriminator doesn't match doing slicing
* Use correct IPS branch when validating
* Load R5 extensions when validating (draft)
* Make it possible to run tests cases directly from validator (see command line help)

## Other code changes

* Regenerate R4B code for final R4B release
* Reduce text logging when running tests
* Minor test case fixes
* Fix fetching package by canonical to use pkgcanonical instead of canonical
* Fix broken link rendering code system references
* improvements to profile validation
***NO_CI***
2022-06-24 12:41:29 +00:00
Grahame Grieve 2783a5e3aa
Merge pull request #836 from hapifhir/gg-202206-r4b
R4b update
2022-06-14 13:26:51 +10:00
Grahame Grieve 62a082dbf3 Add value set expand by URL and use it in vsac 2022-06-13 21:50:11 +03:00
markiantorno 3484b891d5 Updating version to: 5.6.49-SNAPSHOT and incrementing test cases dependency. 2022-06-08 07:01:23 +00:00
markiantorno 17ce4678d4 Release: v5.6.48
## Validator Changes

* Clean up the -extension parameter - make implementation conistent with documentation
* Stop auto-converting parameters to strings for string functions e.g. .length() in the FHIRPath engine
* Add parameter -implicit-fhirpath-string-conversions for old FHIRPath string conversion functionality

## Other code changes

* Fix NPE counting descendents when validating
* Fix bug processing invalid HTTP response
***NO_CI***
2022-06-08 06:41:48 +00:00
Grahame Grieve b0dfc9f281 fix bug counting children + fix issue with automatic string conversion in FHIRPath + fix bug in HTTP client + fix bug rendering profile comparison 2022-06-08 08:56:46 +10:00
markiantorno 2c8db93787 Updating version to: 5.6.48-SNAPSHOT and incrementing test cases dependency. 2022-05-27 17:24:16 +00:00
markiantorno 567a9b2ce7 Release: v5.6.47
## Validator Changes

* Significant improvement in performance of validation (10-100 fold for simple resources)
* Add output tracker to trask progress of validation (Validate %R against %P..........20..........40..........60..........80.........|)
* Alter per-1 to handle different precision on start/end
* Add support for a -jurisdiction parameter, preparing for jurisdictionally specific constraints in profiles
* Fix bug in snapshot generation where type slices on a mandatory element were all marked as mandatory
* Add warnings when potential matches are found when performing reference resolution in bundles

## Other code changes

* extend FHIRPath to support lowBoundary(), highBoundary() and precision()
* Fix for inefficiency in StructureMap engine
* Update version of PubPack used by the IGPublisher
* Handle scope on TestScript R4 <-> r5 conversion
* Fix bug converting extension context = Resource (R4 <-> R5 conversion)
* Update VSAC importer for changes to VSAC FHIR authorization
* Fix broken links in profile comparison due to cross version issues
***NO_CI***
2022-05-27 16:52:13 +00:00
Grahame Grieve 4cc0a8dfba Add support for 4.3.0 2022-05-27 22:17:32 +10:00
Grahame Grieve 293dcf0920 fix test issue 2022-05-27 14:43:19 +10:00
Grahame Grieve d30234cdeb Update VSAC importer for changes to VSAC FHIR authorization 2022-05-27 13:38:50 +10:00
Grahame Grieve d8db639884 Fix bug converting extension context = Resource (R4 <-> R5 conversion) 2022-05-27 13:31:33 +10:00
Grahame Grieve 7432b40c84 Handle scope on TestScript R4 <-> r5 conversion 2022-05-19 17:05:37 +10:00
markiantorno 3ab828c381 Updating version to: 5.6.47-SNAPSHOT and incrementing test cases dependency. 2022-05-12 10:35:09 +00:00
markiantorno eca2fa5a5c Release: v5.6.46
## Validator Changes

* Trim unknown resource types when pre-adopting cross version extensions with type=Reference

## Other code changes

* Package Client: Get Packages by Dependency
* Snapshot Generator (R4b/R5): Fix generation of complex extension snapshot + improve rendering
* New tests for StructureMap execution
***NO_CI***
2022-05-12 10:18:11 +00:00
markiantorno a4fd92633d Updating version to: 5.6.46-SNAPSHOT and incrementing test cases dependency. 2022-05-06 01:02:54 +00:00
markiantorno f2134e9643 Release: v5.6.45
## Validator Changes

* Support IGs #current where main instead of master

## Other code changes

* Add id to Profile CSVs
***NO_CI***
2022-05-06 00:29:32 +00:00
markiantorno 264e79bc24 Updating version to: 5.6.45-SNAPSHOT and incrementing test cases dependency. 2022-05-05 01:29:36 +00:00
markiantorno 5801daeb08 Release: v5.6.44
## Validator Changes

* Handle invalid HTTP responses better when accessing packages

## Other code changes

* Fix various rendering NPEs
***NO_CI***
2022-05-05 01:09:45 +00:00
markiantorno 6df50d482b Updating version to: 5.6.44-SNAPSHOT and incrementing test cases dependency. 2022-04-28 02:39:13 +00:00
markiantorno 3fffad10e3 Release: v5.6.43
## Validator Changes

* fix problem with non-new data types on xver extensions
* enable -extension parameter for validator

## Other code changes

* Fix bug when converting resolved clinical status for allergy intolerance
***NO_CI***
2022-04-28 02:20:19 +00:00
hirra-farooq c4676c5dc9
Fix bug when converting resolved clinical status for allergy intolerance dstu3 -> r4 (#793) 2022-04-27 10:55:39 -04:00
markiantorno 5fc2e9d6ec Updating version to: 5.6.43-SNAPSHOT and incrementing test cases dependency. 2022-04-23 14:25:48 +00:00
markiantorno 4f5aa8754c Release: v5.6.42
## Validator Changes

* Fix invalid FHIR version bug when loading IGs with explicit FHIR version

## Other code changes

* Fix reverse references in GraphQL searches
* Regenerate R4B code for candidate final release (not quite final yet)
* Various minor fixes for bugs found doing R4B finalization (wildcard types, version difference comparisons)
***NO_CI***
2022-04-23 14:06:50 +00:00
Grahame Grieve b47b0653c4 moving FHIRPublication 2022-04-23 23:18:23 +10:00
Grahame Grieve fa92f85f3c Merge remote-tracking branch 'origin/master' 2022-04-22 07:36:53 +10:00
Grahame Grieve 10f2325e19 R4B quality fixes 2022-04-22 07:36:28 +10:00
Grahame Grieve c58516ce44 remove references to c:\temp 2022-04-20 09:59:30 +10:00
dotasek a7354f999e
Dotasek oe r4r5structuremapconversion (#775)
* Fix exception R5 to R4 of StructureMap #771

* Fix typo

* Enhance conversion from r5 to r4 + add failing test for r4 to r5

* WIP Convert R4 variable to R5 parameter and try to get correct dataType

* Clean up rough-work test

* Move static methods to FHIRPathConstant class

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-04-13 18:22:58 -04:00
markiantorno 6328230f9f Updating version to: 5.6.42-SNAPSHOT and incrementing test cases dependency. 2022-04-12 04:03:54 +00:00
markiantorno 8785babf24 Release: v5.6.41
## Validator Changes

* Handle reslicing within the same profile
* Fix up wrong handling of context on exists() in FHIRPath
* Add hints to profiles around behavior of pattern on repeating elements
* Ignore all tooling extensions when validating
* support specifying an alternative version when loading source using -ig parameter
* Don't validate Bundle.entry.fullUrl as a reference to some other content

## Other code changes

* Improved output for unit test comparisons
* Fix conversion issues around Base64Binary
* Fix for R4/R5 DataRequirements conversion for DeviceUsage
* Add AdditionalBindings Rendering (draft)
* Display all designations when rendering ValueSets
* Fix bug where expansions have empty objects some times
* Fix R4B Snapshot generation
* Enable Linking to fragment CodeSystems
***NO_CI***
2022-04-12 03:31:27 +00:00
Grahame Grieve 06cf1fde21 Fix for DeviceUse renaming 2022-04-12 11:39:47 +10:00
dotasek a8da416ee3 Fix xml test + add unit tests 2022-04-11 14:57:10 -04:00
dotasek 2181cb14d5 Change tests to xml + fix breaking test 2022-04-11 14:10:53 -04:00
dotasek 8a48e657f3 Tests for Base64Binary 40_50 conversions and streaming 2022-04-08 14:37:42 -04:00
markiantorno 87fed0cfc8 Updating version to: 5.6.41-SNAPSHOT and incrementing test cases dependency. 2022-03-30 23:21:31 +00:00
markiantorno f80a28816c Release: v5.6.40
## Validator Changes

* Add further clarification to Value set imports warning message

## Other code changes

* Consistent use of string values for primitive type conversions
* Fix problem with generated NPM Packages
* Fix URls when processing markdown while generating snapshots
* Default output to console, with additional output available via -debug option in CLI.
* Bump jackson-databind version to fix security vulnerability.
***NO_CI***
2022-03-30 23:05:39 +00:00
dotasek d63a4db5be Clean up test imports + add constructor test 2022-03-21 12:18:38 -04:00
dotasek 3c5e90b86a Add tests and changes for Canonical10_40 2022-03-21 12:07:21 -04:00
dotasek 60bd73c34d Add tests + changes for 40_50 direct conversion 2022-03-21 11:33:01 -04:00
dotasek a5974bc8a5 Add tests + changes for 30_50 direct conversion 2022-03-21 11:19:54 -04:00
dotasek 3ce1809418 Add tests + changes for 10_30, 10_40, 14_50 direct conversion 2022-03-21 10:58:19 -04:00
dotasek a3f24af1a5 Add direct conversion tests for 10_50 + yet more UUID coverage fixes 2022-03-18 19:13:08 -04:00
dotasek 48f8b3ac2c Add tests + changes for Canonical + 1 more UUID coverage fix
Add changes for canonical
2022-03-18 15:15:51 -04:00
dotasek 48d6829abf Add tests and changes for Url 2022-03-18 15:03:01 -04:00
dotasek 6e45dd522e Merge remote-tracking branch 'origin/master' into dotasek-primitivetype-conversion-via-stringvalue 2022-03-18 14:09:12 -04:00
dotasek b7fbd3ce44 Add tests and changes for Time + fix skipped Uuid conversions 2022-03-18 14:09:01 -04:00
markiantorno b075c5695f Updating version to: 5.6.40-SNAPSHOT and incrementing test cases dependency. 2022-03-18 04:05:44 +00:00
markiantorno e053d5a260 Release: v5.6.39
## Validator Changes

* no changes
* Add messageid to OperationOutcome from Validation
* Add support for new rules around value set interpretation with multiple imported value sets (https://jira.hl7.org/browse/FHIR-25179)

## Other code changes

* Fix for FHIRPathEngine.funcReplaceMatches() incorrectly returning Boolean in DSTU2 & DSTU3
* Fix NPE Processing missing markdown in definitions when generating snapshots
* add support for .matchesFull() and fix .matches() in FHIRPath
* Fix core package identification when loading new R5 core packages
***NO_CI***
2022-03-18 03:46:59 +00:00
Grahame Grieve 48d87a2075
Merge branch 'master' into gg-202203-misc 2022-03-18 12:54:53 +11:00
dotasek 33ec1f640e Fix Uuid conversion
Since Uuids extend UriType, it was always gettting treated as a Uri instead of a Uuid
2022-03-17 19:14:29 -04:00
dotasek d0feacaaa8 Add tests and changes for Decimal 2022-03-17 15:41:07 -04:00
dotasek 90dad874ec Add changes for Oid 2022-03-17 14:38:44 -04:00
dotasek df4859004d Add tests for Oid 2022-03-17 14:15:42 -04:00
dotasek ebf0a4aa7d Add changes for UnsignedInt 2022-03-17 14:00:01 -04:00
dotasek 237e9ca14c Add changes for PositiveInt 2022-03-17 13:53:01 -04:00
dotasek 038f747939 Add changes for Integer 2022-03-17 13:42:33 -04:00
dotasek d98ac05703 Add tests for Integer, PositiveInt, UnsignedInt 2022-03-17 13:35:34 -04:00
dotasek bf14a1eebc Add changes for Id 2022-03-17 13:34:58 -04:00
dotasek 2beaece874 Add changes for Uuid 2022-03-17 10:45:58 -04:00
dotasek 6874e54b58 Add Id and UUID tests 2022-03-16 18:29:11 -04:00
dotasek 2241d8e12e Add tests and changes for Uri 2022-03-16 17:49:52 -04:00
dotasek 62df25971e Add changes for String 2022-03-16 17:41:56 -04:00
dotasek 90d9cf67d0 Add changes for Markdown 2022-03-16 17:30:46 -04:00
dotasek d42759a510 Add changes for Code 2022-03-16 17:10:22 -04:00
dotasek 2d1254fcac Return null for conversions where isEmpty() == true 2022-03-16 17:09:54 -04:00
dotasek b4f94c385d Add tests for Code, Markdown, and String types 2022-03-16 17:09:25 -04:00
dotasek 61b9d5e8c6 Exception: useValue for Base64Binary
Use Base64Binary getValue for Base64 conversion instead of getValueAsString.
2022-03-16 16:48:05 -04:00
dotasek ad49c9aecd Rename params helper method 2022-03-16 12:33:01 -04:00
dotasek b5b43836eb Add tests and changes for Base64Binary 2022-03-16 12:20:58 -04:00
Grahame Grieve 6f69736b05 fix typo in Dicom Package 2022-03-16 08:27:44 +11:00
dotasek 1a7e076479 Move precision checking code to setValueAsString 2022-03-15 16:49:51 -04:00
dotasek 6730275277 Add tests and changes for Instant 2022-03-15 15:59:22 -04:00
dotasek 02968b9b7a Add tests and changes for DateTime conversion 2022-03-15 12:58:59 -04:00
dotasek 209a5e777b Merge remote-tracking branch 'origin/master' into dotasek-primitivetype-conversion-via-stringvalue 2022-03-15 12:36:09 -04:00
dotasek 4068db73ff WIP Add tests for Primitive Types + use getValueAsString for conversion 2022-03-15 12:35:50 -04:00
markiantorno 8f5db15937 Updating version to: 5.6.39-SNAPSHOT and incrementing test cases dependency. 2022-03-14 21:48:39 +00:00
markiantorno 9ad69aca53 Release: v5.6.38
## Validator Changes

* no changes

## Other code changes

* Fix for FHIRPathEngine.funcReplaceMatches() incorrectly returning Boolean in DSTU2 & DSTU3
***NO_CI***
2022-03-14 21:32:32 +00:00
dotasek fb8e2cfa66 WIP Start building tests 2022-03-11 17:32:09 -05:00
Lloyd McKenzie 4c82c9c738 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into Branch_685ea98d 2022-03-11 11:21:55 -07:00
Lloyd McKenzie a6faece71b Added R4B releases to the R4<->R5 conversion process
Corrected release number for R4B to be 4.3xxx rather than 4.1xxx
2022-03-11 11:16:04 -07:00
markiantorno e4ce145a0b Updating version to: 5.6.38-SNAPSHOT and incrementing test cases dependency. 2022-03-11 03:21:07 +00:00
markiantorno e86c9afc7a Release: v5.6.37
## Validator Changes

* fix handling of xver extensions with choice sub-extensions
* validate consistency of extension modifier flag with extension use in a profile

## Other code changes

* more presenting extensions when rendering.
* Get package id from 'package' field when 'npm-package' unavailable
* Ignore META-INF contents from other dependencies while building Validator jar
* Fix to r5 TestingUtilities to allow NarrativeGenerationTests to pass.
* fix handling to xver extensions generating snapshots
***NO_CI***
2022-03-11 03:04:43 +00:00
Grahame Grieve 4d492980c3
Merge pull request #758 from lmckenzi/STU3-template-issue
Fix type conversion issue in converters.txClient.TerminologyClientR3
2022-03-11 10:47:37 +11:00
Grahame Grieve 791f16a05d fix failing tests. 2022-03-10 11:18:03 +11:00
Grahame Grieve a34c33c0c0 =fix r4b tests 2022-03-10 07:43:01 +11:00