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

DRAFT: FI-2843: Add R6 Support #117

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/fhir_models/generator/generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
VERSION_MAP = {
'4.0.1' => 'r4',
'4.3.0' => 'r4b',
'5.0.0' => 'r5'
'5.0.0' => 'r5',
'6.0.0-ballot2' => 'r6'
}.freeze

module FHIR
Expand Down
1 change: 1 addition & 0 deletions lib/fhir_models/generator/ig_metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def initialize(hash)
end

self.shortName = url.split('/').last unless url.nil?
self.shortName = 'R6' if fhirVersions.include?('6.0.0-ballot2')
end
end
end
Expand Down
Binary file added lib/fhir_models/igs/hl7.fhir.r6.core.tgz
Binary file not shown.
10 changes: 10 additions & 0 deletions lib/fhir_models/igs/hl7.fhir.r6.core/package_exclude/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# FHIR NPM Package Supplement Files

The files in this directory will excluded from the hl7.fhir.<version>.core.tgz package.
FHIR NPM Package may contains some files which are not to be processed, such as examples.
Add files to the excluded list to prevent code generator from processing them.
These files will not supersede the files in the IG.

## excluded_files.json

This file contains list of file names to be excluded from processing.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# FHIR NPM Package Supplement Files

The files in this directory will supplement files in the hl7.fhir.<version>.core.tgz package.
Add files to this directory if you need to add information that may be missing from the package.
These files will not supersede the files in the IG.

## expansions.json

This file contains ValueSet expansions which are used by code generator
Loading
Loading