-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
16 changed files
with
104 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,6 +45,7 @@ | |
|
||
module FHIR | ||
module R4 | ||
extend FHIR | ||
extend self | ||
|
||
def fhir_version_string | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,6 +45,7 @@ | |
|
||
module FHIR | ||
module R4B | ||
extend FHIR | ||
extend self | ||
|
||
def fhir_version_string | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module FHIR | ||
module R5 | ||
module Json | ||
extend FHIR::R5 | ||
extend FHIR::ClassJson | ||
include FHIR::InstanceJson | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,7 @@ | ||
module FHIR | ||
module R5 | ||
class Model < FHIR::Model | ||
def fhir_version_string | ||
'R5' | ||
end | ||
|
||
def versioned_fhir_module | ||
FHIR::R5 | ||
end | ||
include FHIR::R5 | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module FHIR | ||
module R5 | ||
module Xml | ||
extend FHIR::R5 | ||
extend FHIR::ClassXml | ||
include FHIR::InstanceXml | ||
end | ||
end | ||
end |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
require_relative '../../../../lib/fhir_models/r5/bootstrap/definitions' | ||
|
||
RSpec.describe FHIR::R5::Definitions do | ||
describe '#resource_definition' do | ||
it 'returns R5 resource definition' do | ||
result = FHIR::R5::Definitions.resource_definition('Patient') | ||
expect(result.id).to eq('Patient') | ||
expect(result.version).to eq('5.0.0') | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters