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

FI-2833 Add R5 Support #114

Merged
merged 18 commits into from
Sep 30, 2024
Merged

FI-2833 Add R5 Support #114

merged 18 commits into from
Sep 30, 2024

Conversation

360dgries
Copy link
Contributor

Added support for FHIR R5:

  • Updated generator
  • Setup excluded_files
  • Setup R5 module and version-specific files (model, json, xml, etc.)

Copy link
Contributor

@Jammjammjamm Jammjammjamm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR seems to contain all of the changes from the previous PR as well.

author 360dgries <[email protected]> 1727189567 -0400
committer 360dgries <[email protected]> 1727360442 -0400

First rebase

update fhir_models

Update rubocop

add generated files

add one readme file

add excluded_files

add readme files

update generator

add tgz

add expansion file

add one readme file

add readme files

First rebase

Fix r5 Model

remove redundant file

Add basic unit tests for R5

Add Unit tests and version from_contents

update fhir_models

Update rubocop

add generated files

add one readme file

add excluded_files

add readme files

update generator

add tgz

add expansion file

Fix r5 Model

remove redundant file

Add basic unit tests for R5

Add Unit tests and version from_contents
include FHIR::Json
include FHIR::Xml

SEARCH_PARAMS = []
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is populated for other versions.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed. The problem is that SearchParameter.xpath is deprecated in R5. This also fixed some missing search parameters in R4!

- 'lib/fhir_models/r4b/fhir_ext/structure_definition.rb'
- 'lib/fhir_models/r4b/fhir_ext/structure_definition_compare.rb'
- 'lib/fhir_models/r4b/fhir_ext/structure_definition_finding.rb'
- 'lib/fhir_models/*/fhir_ext/structure_definition.rb'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this file even exist anywhere?

Copy link
Contributor

@yunwwang yunwwang Sep 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

file updated by rerun rubocop --auto-gen-config

- 'lib/fhir_models/fhir_ext/common_structure_definition.rb'
- 'lib/fhir_models/fhir_ext/common_structure_definition_compare.rb'
- 'lib/fhir_models/fhir_ext/common_structure_definition_finding.rb'
- 'lib/fhir_models/r5/fhir_ext/structure_definition.rb'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of these files still don't exist.

Copy link
Contributor

@yunwwang yunwwang Sep 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is auto generated. Maybe we should remove this file from git? It does not anything. I manually removed some lines as those are not there.

@yunwwang yunwwang merged commit 80e40d7 into master Sep 30, 2024
3 checks passed
@yunwwang yunwwang deleted the FI-2833-r5 branch September 30, 2024 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants