Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First Pass - Repository APIs #255

Merged
merged 14 commits into from
Feb 23, 2023
Merged

First Pass - Repository APIs #255

merged 14 commits into from
Feb 23, 2023

Conversation

JPercival
Copy link
Contributor

@JPercival JPercival commented Feb 23, 2023

  • This PR introduces a new set of FHIR "Repository" APIs
  • WIP towards refactoring existing components to support those new APIs
  • Initial documentation website for this project
  • Numerous breaking changes, version updated to 3.0.0-SNAPSHOT to prep for next major release.

JPercival and others added 14 commits November 21, 2022 14:49
* add test data

* BundleFhirRepository wip

* add test utility

* update test data

* load test data test

* R4MeasureProcessor constructor

* update Repository api changes, develop R4TestRepository

* add tests for R4TestRepository

* relocate fhirRepository

* relocate BundleFhirRepository

* import fix

* use utility for new Bundle creation

* update fhir repository searchByurl
* add test data

* BundleFhirRepository wip

* add test utility

* update test data

* load test data test

* R4MeasureProcessor constructor

* update Repository api changes, develop R4TestRepository

* add tests for R4TestRepository

* relocate fhirRepository

* relocate BundleFhirRepository

* import fix

* use utility for new Bundle creation

* update fhir repository searchByurl

* add federated repository

* Repository api constructs

* remove println
* Added the queryBatchThreshold, maxCodesPerQuery, pageSize and shouldE… (#208)

Added the queryBatchThreshold, maxCodesPerQuery, pageSize and shouldExpandValueSets configuration to CqlEngineOptions

* Rev to engine snapshot 2.4.0 (#209)

* Changed maxCodesPerQuery type to Integer in RetrieveProviderConfig (#210)

* add test data

* BundleFhirRepository wip

* add test utility

* update test data

* load test data test

* R4MeasureProcessor constructor

* release v2.4.0 (#211)

* snapshot v2.5.0 (#212)

* Create add-to-platform-project.yml

* update Repository api changes, develop R4TestRepository

* add tests for R4TestRepository

* relocate fhirRepository

* relocate BundleFhirRepository

* import fix

* use utility for new Bundle creation

* update fhir repository searchByurl

* Update BundleRetrieveProvider.java to use streams (#220)

Update BundleRetrieveProvider.java to use Java streams to filter resources. This results in cleaner, more concise code as well as better performance as a new ArrayList is not being created for each filter stage. This change should not result in any visible change in behavior.

* Concise assertions in BundleRetrieveProvider.java (#221)

Use more concise assertions in BundleRetrieveProvider.java. For example, rely on the fact that Matchers.contains() ensures that the iterable size matches the number of items passed to contains().

* Add Questionnaire and QuestionnaireResponse modules (#229)

* Add Questionnaire modules

* Fix prepopulate test

* Fix prepopulate apply test

* Add dstu3 and r4 tests for Questionnaire

* Inc version

* First pass of definition based extraction

* release v2.5.0 (#234)

* release v2.5.0

* update latest module

* update more latest module

* update latest module in evaluator

* update version in evaluator dependencies

* remove redundant dependency

* tests are failing

* update test fixture to remove id from Parameters

* Snapshot v2.6.0 (#236)

* stop auto close on staging repo on deploy

* snapshot-v2.6.0

* use version var

* Integrating care-gaps common code. (#237)

Co-authored-by: Chalma Maadaadi <chalma@alphora.com>

* Add GoogleStyle as default Java format

* Clean up build warnings

* Eagerly cache resource in Bundle provider (#241)

* Add definition based extraction and add extract step during apply (#238)

Add dstu3 and r5 tests for populate, extract and apply operations

* Add github actions for checking PRs and publishing Snapshots (#230)

* Add github actions for checking PRs and publishing Snapshots

* Remove travis

* Fix relative IG path

* Update publish-snapshot.yml

* Use set for evaluated resources (#242)

* Use set for evaluated resources

* Fix some warnings in BundleRetrieveProvider

* Disable test failing on CI server

* Fix CI publish

* add federated repository

* release 2.6.0 (#245)

* snapshot 2.7.0 (#246)

* Repository api constructs

* remove println

* Add error/warning OperationOutcome to $apply/$prepopulate.  Implement generateQuestionnaire. (#249)

* Add error/warning OperationOutcome to $apply/$prepopulate.  Implement generateQuestionnaire.

* Use CRMI messages extension for operation outcomes

---------

Co-authored-by: Jonathan Percival <jonathan.i.percival@gmail.com>

* Add Google style editor config

* clear dependency

* temp change

* rectify cql compiler version name

* update mvn repository

* load library attachment from cql url

* rename repository

* add Repositories static method

* version rectify

* Fixes for cycles

* Update CQL versions

---------

Co-authored-by: Adam Stevenson <stevenson_adam@yahoo.com>
Co-authored-by: JP <jonathan.i.percival@gmail.com>
Co-authored-by: Aaron Nash <101207345+aaron-nash@users.noreply.github.com>
Co-authored-by: Brenin Rhodes <brenin@alphora.com>
Co-authored-by: chalmarm <44471040+chalmarm@users.noreply.github.com>
Co-authored-by: Chalma Maadaadi <chalma@alphora.com>
@JPercival JPercival added enhancement New feature or request documentation Improvements or additions to documentation labels Feb 23, 2023
@JPercival JPercival merged commit 05c59b0 into master Feb 23, 2023
@JPercival JPercival deleted the feature-cqf-setup branch February 23, 2023 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants