source stringclasses 1
value | repo stringlengths 5 63 | repo_url stringlengths 24 82 | path stringlengths 5 167 | language stringclasses 1
value | license stringclasses 5
values | stars int64 10 51.4k | ref stringclasses 23
values | size_bytes int64 200 258k | text stringlengths 137 258k |
|---|---|---|---|---|---|---|---|---|---|
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | test/unit/terminology_validation_test.rb | Ruby | apache-2.0 | 92 | master | 1,234 | require_relative '../test_helper'
class TerminologyValidationTest < Test::Unit::TestCase
def test_quantity_validation
profile = FHIR.from_contents(File.read('test/fixtures/us_core/StructureDefintion-vital-signs.json'))
resource = FHIR.from_contents(File.read('test/fixtures/invalid_resources/Observation-bloo... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | test/unit/json_nested_test.rb | Ruby | apache-2.0 | 92 | master | 642 | require_relative '../test_helper'
class JsonNestedTest < Test::Unit::TestCase
def test_nested_in_array
serialized_array = [FHIR::Patient.new(id: 'foo')].to_json
deserialized_array = JSON.parse(serialized_array)
patient = deserialized_array[0]
assert_equal 'Patient', patient['resourceType']
asser... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | test/unit/json_format_test.rb | Ruby | apache-2.0 | 92 | master | 6,913 | require_relative '../test_helper'
class JsonFormatTest < Test::Unit::TestCase
ERROR_DIR = File.join('tmp', 'errors', 'JsonFormatTest')
ERROR_LOSSY_DIR = File.join('tmp', 'errors', 'JsonLossinessTest')
EXAMPLE_ROOT = File.join('lib', 'fhir_models', 'examples', 'json')
# Automatically generate one test method p... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | test/unit/contents_test.rb | Ruby | apache-2.0 | 92 | master | 3,726 | require_relative '../test_helper'
require_relative '../../lib/fhir_models/r5'
require_relative '../../lib/fhir_models/r4b'
class ContentsTest < Test::Unit::TestCase
EXAMPLE_JSON = File.join('lib', 'fhir_models', 'examples', 'json', 'patient-example.json')
EXAMPLE_XML = File.join('lib', 'fhir_models', 'examples', ... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | test/unit/xml_schema_validation_test.rb | Ruby | apache-2.0 | 92 | master | 2,707 | require_relative '../test_helper'
class XmlSchemaValidationTest < Test::Unit::TestCase
ERROR_DIR = File.join('tmp', 'errors', 'XmlSchemaValidationTest')
EXAMPLE_ROOT = File.join('lib', 'fhir_models', 'examples', 'xml')
XSD_ROOT = File.join('lib', 'fhir_models', 'definitions', 'schema')
XSD = Nokogiri::XML::Sc... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | test/unit/xml_format_test.rb | Ruby | apache-2.0 | 92 | master | 5,055 | require_relative '../test_helper'
class XmlFormatTest < Test::Unit::TestCase
ERROR_DIR = File.join('tmp', 'errors', 'XmlFormatTest')
ERROR_LOSSY_DIR = File.join('tmp', 'errors', 'XmlLossinessTest')
EXAMPLE_ROOT = File.join('lib', 'fhir_models', 'examples', 'xml')
# Automatically generate one test method per e... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | test/unit/expansions_test.rb | Ruby | apache-2.0 | 92 | master | 508 | require_relative '../test_helper'
class ExpansionsTest < Test::Unit::TestCase
def test_expansion
codes = FHIR::Definitions.get_codes('http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype')
assert (!codes.nil? && !codes.empty?), 'Expansions did not return expected codes.'
end
def test_missing_expa... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | test/unit/multiple_types_test.rb | Ruby | apache-2.0 | 92 | master | 3,109 | require_relative '../test_helper'
class MultipleTypesTest < Test::Unit::TestCase
# move this flag around multiple types and assert that it is found in the correct place
FLAG = 123
def test_multiple_types
obs = FHIR::Observation.new
obs.effectiveDateTime = '2016-04-19'
assert (obs.effective == obs.e... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | test/unit/hashable_test.rb | Ruby | apache-2.0 | 92 | master | 575 | require_relative '../test_helper'
class HashableTest < Test::Unit::TestCase
def test_to_hash
patient = FHIR::Patient.new
patient_hash = patient.to_hash
assert patient_hash.is_a?(Hash)
end
def test_prune_does_not_modify_hash
original_hash = {
a: nil,
b: [],
c: {},
d: [[]],... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | test/unit/xml_validation_test.rb | Ruby | apache-2.0 | 92 | master | 2,134 | require_relative '../test_helper'
class XmlValidationTest < Test::Unit::TestCase
ERROR_DIR = File.join('tmp', 'errors', 'XmlValidationTest')
EXAMPLE_ROOT = File.join('lib', 'fhir_models', 'examples', 'xml')
# Automatically generate one test method per example file
example_files = File.join(EXAMPLE_ROOT, '**',... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | test/unit/version_test.rb | Ruby | apache-2.0 | 92 | master | 852 | require_relative '../test_helper'
require_relative '../../lib/fhir_models/r4b'
class VersionTest < Test::Unit::TestCase
def test_json_version
json_file = File.read('lib/fhir_models/examples/json/allergyintolerance-nka.json')
assert_equal FHIR::Json.from_json(json_file).versioned_fhir_module, FHIR::R4
ass... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | test/unit/each_element_test.rb | Ruby | apache-2.0 | 92 | master | 2,819 | require_relative '../test_helper'
class EachElementTest < Test::Unit::TestCase
def setup
@patient = FHIR::Patient.new(
id: 'ID',
name: [
{
use: 'maiden',
text: 'Jane Jill Roe',
family: 'Roe',
given: ['Jane', 'Jill']
},
{
use: '... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | test/unit/json_validation_test.rb | Ruby | apache-2.0 | 92 | master | 1,402 | require_relative '../test_helper'
class JsonValidationTest < Test::Unit::TestCase
ERROR_DIR = File.join('tmp', 'errors', 'JsonValidationTest')
EXAMPLE_ROOT = File.join('lib', 'fhir_models', 'examples', 'json')
# Automatically generate one test method per example file
example_files = File.join(EXAMPLE_ROOT, '*... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | test/unit/extension_by_name_test.rb | Ruby | apache-2.0 | 92 | master | 2,830 | require_relative '../test_helper'
class ExtensionByNameTest < Test::Unit::TestCase
def test_extension_by_name
patient = FHIR::Patient.new
patient.extension << FHIR::Extension.new(url: 'http://projectcrucible.org/extensions/foobar', valueInteger: 42)
assert ( patient.foobar == 42), 'Method missing did not... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | test/unit/equality_test.rb | Ruby | apache-2.0 | 92 | master | 5,319 | require_relative '../test_helper'
class EqualityTest < Test::Unit::TestCase
EXAMPLE_ROOT = File.join('lib', 'fhir_models', 'examples')
ERROR_DIR = File.join('tmp', 'errors', 'EqualityTest')
# Create a blank folder for the errors
FileUtils.rm_rf(ERROR_DIR) if File.directory?(ERROR_DIR)
FileUtils.mkdir_p ERRO... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | test/unit/profile_validation_test.rb | Ruby | apache-2.0 | 92 | master | 18,049 | require_relative '../test_helper'
class ProfileValidationTest < Test::Unit::TestCase
ERROR_DIR = File.join('tmp', 'errors', 'ProfileValidationTest')
FIXTURES_DIR = File.join('test', 'fixtures')
# Cache the US Core IG definitions
us_core_ig = File.join(FIXTURES_DIR, 'us_core', '*.json')
PROFILES = {}
Dir.g... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | test/unit/fhirpath/path_test.rb | Ruby | apache-2.0 | 92 | master | 3,275 | require_relative '../../test_helper'
class PathTest < Test::Unit::TestCase
NAMES = %w(Bob Robert)
WTF = %w(Bobert Rob)
PID1 = 99
PATIENT = {
'name' => [{
'given' => NAMES
}, {
'given' => WTF
}],
'resourceType' => 'Patient'
}
MESSAGE = {
'Message' => {
'PID-1' => PID1
... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | test/unit/fhirpath/math_test.rb | Ruby | apache-2.0 | 92 | master | 1,458 | require_relative '../../test_helper'
class MathTest < Test::Unit::TestCase
DATA = {
'x' => 7,
'y' => 3,
'foo' => 'a',
'bar' => 'b'
}
def test_plus_vars
result = FHIRPath.evaluate('x + y', DATA)
assert result == 10, 'Failed addition test.'
end
def test_plus_nums
result = FHIRPath... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | test/unit/fhirpath/string_test.rb | Ruby | apache-2.0 | 92 | master | 1,087 | require_relative '../../test_helper'
class StringTest < Test::Unit::TestCase
DATA = {
'name' => 'John Doe',
'reference' => '#uri',
'uri' => 'http://snomed.ct'
}
# ------------------------- startsWith() -------------------------------------
def test_startsWith_true
result = FHIRPath.evaluate("n... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | test/unit/fhirpath/and_or_not_test.rb | Ruby | apache-2.0 | 92 | master | 1,442 | require_relative '../../test_helper'
class AndOrNotTest < Test::Unit::TestCase
def test_and_or_not
data = {
'name' => {
'given' => %w(Joe John)
},
'gender' => 'male',
'deceased' => false
}
result = FHIRPath.evaluate('deceased.not() and ((name.given or name.family) and gend... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | test/unit/fhirpath/convert_to_boolean_test.rb | Ruby | apache-2.0 | 92 | master | 1,661 | require_relative '../../test_helper'
class ConvertToBooleanTest < Test::Unit::TestCase
def test_true_is_true
data = true
result = FHIRPath.convert_to_boolean(data)
assert result == true, 'true should be converted to true.'
end
def test_false_is_false
data = false
result = FHIRPath.convert_to... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | test/unit/fhirpath/fhirpath_equality_test.rb | Ruby | apache-2.0 | 92 | master | 5,900 | require_relative '../../test_helper'
class FHIRPathEqualityTest < Test::Unit::TestCase
def test_equals_strings
data = {
'a' => 'foo',
'b' => 'foo'
}
result = FHIRPath.evaluate('a = b', data)
assert result == true, 'Failed equals test.'
end
def test_equals_numbers
data = {
'... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | test/unit/fhirpath/extension_test.rb | Ruby | apache-2.0 | 92 | master | 1,641 | require_relative '../../test_helper'
class ExtensionTest < Test::Unit::TestCase
CONCEPT = {
'coding' => [{
'system' => 'http://hl7.org/fhir/v3/Race',
'code' => '1096-7'
}]
}
EXT = {
'url' => 'http://hl7.org/fhir/StructureDefinition/us-core-race',
'valueCodeableConcept' => CONCEPT
}
... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | test/unit/fhirpath/existence_test.rb | Ruby | apache-2.0 | 92 | master | 4,585 | require_relative '../../test_helper'
class ExistenceTest < Test::Unit::TestCase
NAMES = %w(Bob Robert)
PATIENT = {
'name' => {
'given' => NAMES
},
'deceasedBoolean' => false,
'aliveBoolean' => true,
'all_true' => [true, true, true],
'some_true' => [false, true, false],
'codes' => ... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | test/unit/fhirpath/invariants_test.rb | Ruby | apache-2.0 | 92 | master | 9,746 | require_relative '../../test_helper'
class InvariantsTest < Test::Unit::TestCase
def test_tim3_true
expression = "((period or frequency) and when).not()"
data = {
'period' => '2016-2017',
'frequency' => 'daily'
}
result = FHIRPath.evaluate(expression, data)
assert result == true, 'Fai... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/fhir.rb | Ruby | apache-2.0 | 92 | master | 3,649 | require 'nokogiri'
require 'logger'
require 'uri'
module FHIR
module ClassMethods
def from_contents(contents)
doc = Nokogiri::XML(contents)
if doc.errors.empty?
versioned_fhir_module::Xml.from_xml(contents)
else
versioned_fhir_module::Json.from_json(contents)
end
end
... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b.rb | Ruby | apache-2.0 | 92 | master | 1,489 | root = File.expand_path '..', File.dirname(File.absolute_path(__FILE__))
require File.join(root, 'fhir_models', 'version')
require File.join(root, 'fhir_models', 'deprecate')
# Need to require Hashable first
require File.join(root, 'fhir_models', 'bootstrap', 'hashable.rb')
require File.join(root, 'fhir_models', 'boo... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r5.rb | Ruby | apache-2.0 | 92 | master | 1,481 | root = File.expand_path '..', File.dirname(File.absolute_path(__FILE__))
require File.join(root, 'fhir_models', 'version')
require File.join(root, 'fhir_models', 'deprecate')
# Need to require Hashable first
require File.join(root, 'fhir_models', 'bootstrap', 'hashable.rb')
require File.join(root, 'fhir_models', 'boo... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4.rb | Ruby | apache-2.0 | 92 | master | 1,481 | root = File.expand_path '..', File.dirname(File.absolute_path(__FILE__))
require File.join(root, 'fhir_models', 'version')
require File.join(root, 'fhir_models', 'deprecate')
# Need to require Hashable first
require File.join(root, 'fhir_models', 'bootstrap', 'hashable.rb')
require File.join(root, 'fhir_models', 'boo... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/deprecate.rb | Ruby | apache-2.0 | 92 | master | 855 | module FHIR
# add support for deprecating instance and class methods
module Deprecate
def deprecate(old_method, new_method)
if instance_methods.include? new_method
define_method(old_method) do |*args, &block|
message = "DEPRECATED: `#{old_method}` has been deprecated. Use `#{new_method}`... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/generator/metadata_generator.rb | Ruby | apache-2.0 | 92 | master | 1,646 | require_relative 'template'
module FHIR
class Generator
class MetadataGenerator
attr_accessor :ig_resources, :output_folder
def initialize(ig_resources, output_folder)
self.ig_resources = ig_resources
self.output_folder = output_folder
end
def generate
template =... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/generator/ig_loader.rb | Ruby | apache-2.0 | 92 | master | 3,281 | require 'rubygems/package'
require 'zlib'
require_relative 'ig_resources'
require_relative 'ig_metadata'
module FHIR
class Generator
class IGLoader
attr_accessor :ig_file_name
def initialize(ig_file_name)
self.ig_file_name = ig_file_name
end
def ig_resources
@ig_resource... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/generator/class_generator.rb | Ruby | apache-2.0 | 92 | master | 8,981 | require_relative 'template'
module FHIR
class Generator
class ClassGenerator
KNOWN_MISSING_EXPANSIONS = ['bcp47', 'bcp13.txt', 'mimetypes', 'LL379-9'].freeze
attr_accessor :structure_defs, :ig_resources, :output_folder
def initialize(structure_defs, ig_resources, output_folder)
self.st... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/generator/ig_metadata.rb | Ruby | apache-2.0 | 92 | master | 499 | module FHIR
class Generator
class IGMetadata
ATTRIBUTES = [
:name,
:shortName,
:version,
:fhirVersions,
:url
].freeze
ATTRIBUTES.each { |name| attr_accessor name }
def initialize(hash)
hash.each do |key, value|
next unless ATTRIBU... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/generator/generator.rb | Ruby | apache-2.0 | 92 | master | 1,784 | require_relative 'ig_loader'
require_relative 'template'
require_relative 'metadata_generator'
require_relative 'class_generator'
VERSION_MAP = {
'4.0.1' => 'r4',
'4.3.0' => 'r4b',
'5.0.0' => 'r5'
}.freeze
module FHIR
class Generator
def self.generate
ig_packages = Dir.glob(File.join(Dir.pwd, 'lib',... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/generator/template.rb | Ruby | apache-2.0 | 92 | master | 4,951 | module FHIR
class Generator
class Template
include FHIR::Hashable
extend FHIR::Deprecate
attr_accessor :name
attr_accessor :hierarchy
attr_accessor :kind
attr_accessor :constants
attr_accessor :fields
attr_accessor :templates
attr_accessor :top_level
at... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/generator/ig_resources.rb | Ruby | apache-2.0 | 92 | master | 6,139 | module FHIR
class Generator
class IGResources
attr_accessor :ig_metadata
def add(resource, break_bundle: false)
return if resource.nil?
if break_bundle && resource['resourceType'] == 'Bundle'
resource['entry']&.each do |entry|
entry_resource = entry['resource']
... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/r4b.rb | Ruby | apache-2.0 | 92 | master | 5,171 | module FHIR
module R4B
PRIMITIVES = {
'unsignedInt' => {'type'=>'string', 'regex'=>'[0]|([1-9][0-9]*)'},
'xhtml' => {'type'=>'string'},
'boolean' => {'type'=>'boolean', 'regex'=>'true|false'},
'uri' => {'type'=>'string', 'regex'=>'\\S*'},
'url' => {'type'=>'string', 'regex'=>'\\S*'}... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/Extension.rb | Ruby | apache-2.0 | 92 | master | 9,575 | module FHIR
module R4B
class Extension < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
MULTIPLE_TYPES = {
'value' => ['base64Binary', 'boolean', 'canonical', 'code', 'date', 'dateTime', 'decimal', 'id', 'instant', 'integer', 'markdown', 'oid', 'positiveInt', 's... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/DataType.rb | Ruby | apache-2.0 | 92 | master | 484 | module FHIR
module R4B
class DataType < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'DataType.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=>'DataType.ext... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/UsageContext.rb | Ruby | apache-2.0 | 92 | master | 43,404 | module FHIR
module R4B
class UsageContext < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
MULTIPLE_TYPES = {
'value' => ['CodeableConcept', 'Quantity', 'Range', 'Reference']
}
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', ... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/Dosage.rb | Ruby | apache-2.0 | 92 | master | 30,768 | module FHIR
module R4B
class Dosage < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
MULTIPLE_TYPES = {
'asNeeded' => ['boolean', 'CodeableConcept']
}
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'Dosage.id', 'min'... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/MarketingStatus.rb | Ruby | apache-2.0 | 92 | master | 1,531 | module FHIR
module R4B
class MarketingStatus < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'MarketingStatus.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/Attachment.rb | Ruby | apache-2.0 | 92 | master | 2,233 | module FHIR
module R4B
class Attachment < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'Attachment.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=>'Attachme... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/DataRequirement.rb | Ruby | apache-2.0 | 92 | master | 9,414 | module FHIR
module R4B
class DataRequirement < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
MULTIPLE_TYPES = {
'subject' => ['CodeableConcept', 'Reference']
}
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'DataReq... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/ContactDetail.rb | Ruby | apache-2.0 | 92 | master | 799 | module FHIR
module R4B
class ContactDetail < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'ContactDetail.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=>'Co... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/Contributor.rb | Ruby | apache-2.0 | 92 | master | 1,113 | module FHIR
module R4B
class Contributor < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'Contributor.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=>'Contri... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/Reference.rb | Ruby | apache-2.0 | 92 | master | 1,035 | module FHIR
module R4B
class Reference < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'Reference.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=>'Reference.... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/ProductShelfLife.rb | Ruby | apache-2.0 | 92 | master | 1,496 | module FHIR
module R4B
class ProductShelfLife < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'ProductShelfLife.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/Address.rb | Ruby | apache-2.0 | 92 | master | 2,151 | module FHIR
module R4B
class Address < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'Address.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=>'Address.extens... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/Money.rb | Ruby | apache-2.0 | 92 | master | 2,135 | module FHIR
module R4B
class Money < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'Money.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=>'Money.extension', ... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/BackboneElement.rb | Ruby | apache-2.0 | 92 | master | 713 | module FHIR
module R4B
class BackboneElement < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'BackboneElement.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/Population.rb | Ruby | apache-2.0 | 92 | master | 1,629 | module FHIR
module R4B
class Population < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
MULTIPLE_TYPES = {
'age' => ['Range', 'CodeableConcept']
}
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'Population.id', 'min... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/Count.rb | Ruby | apache-2.0 | 92 | master | 1,288 | module FHIR
module R4B
class Count < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'Count.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=>'Count.extension', ... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/Signature.rb | Ruby | apache-2.0 | 92 | master | 3,116 | module FHIR
module R4B
class Signature < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'Signature.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=>'Signature.... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/Distance.rb | Ruby | apache-2.0 | 92 | master | 1,312 | module FHIR
module R4B
class Distance < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'Distance.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=>'Distance.ext... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/Duration.rb | Ruby | apache-2.0 | 92 | master | 1,312 | module FHIR
module R4B
class Duration < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'Duration.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=>'Duration.ext... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/Age.rb | Ruby | apache-2.0 | 92 | master | 1,272 | module FHIR
module R4B
class Age < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'Age.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=>'Age.extension', 'min'=... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/RatioRange.rb | Ruby | apache-2.0 | 92 | master | 957 | module FHIR
module R4B
class RatioRange < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'RatioRange.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=>'RatioRan... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/SampledData.rb | Ruby | apache-2.0 | 92 | master | 1,482 | module FHIR
module R4B
class SampledData < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'SampledData.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=>'Sample... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/CodeableConcept.rb | Ruby | apache-2.0 | 92 | master | 795 | module FHIR
module R4B
class CodeableConcept < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'CodeableConcept.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/ParameterDefinition.rb | Ruby | apache-2.0 | 92 | master | 5,355 | module FHIR
module R4B
class ParameterDefinition < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'ParameterDefinition.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension',... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/CodeableReference.rb | Ruby | apache-2.0 | 92 | master | 825 | module FHIR
module R4B
class CodeableReference < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'CodeableReference.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'pa... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/Identifier.rb | Ruby | apache-2.0 | 92 | master | 1,866 | module FHIR
module R4B
class Identifier < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'Identifier.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=>'Identifi... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/Ratio.rb | Ruby | apache-2.0 | 92 | master | 763 | module FHIR
module R4B
class Ratio < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'Ratio.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=>'Ratio.extension', ... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/Timing.rb | Ruby | apache-2.0 | 92 | master | 5,463 | module FHIR
module R4B
class Timing < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'Timing.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=>'Timing.extension... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/ProdCharacteristic.rb | Ruby | apache-2.0 | 92 | master | 2,496 | module FHIR
module R4B
class ProdCharacteristic < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'ProdCharacteristic.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', '... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/Annotation.rb | Ruby | apache-2.0 | 92 | master | 1,450 | module FHIR
module R4B
class Annotation < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
MULTIPLE_TYPES = {
'author' => ['Reference', 'string']
}
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'Annotation.id', 'min'=... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/Narrative.rb | Ruby | apache-2.0 | 92 | master | 941 | module FHIR
module R4B
class Narrative < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'Narrative.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=>'Narrative.... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/Element.rb | Ruby | apache-2.0 | 92 | master | 481 | module FHIR
module R4B
class Element < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'Element.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=>'Element.extens... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/Quantity.rb | Ruby | apache-2.0 | 92 | master | 1,312 | module FHIR
module R4B
class Quantity < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'Quantity.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=>'Quantity.ext... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/ElementDefinition.rb | Ruby | apache-2.0 | 92 | master | 69,051 | module FHIR
module R4B
class ElementDefinition < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
include FHIR::CommonElementDefinition
MULTIPLE_TYPES = {
'defaultValue' => ['base64Binary', 'boolean', 'canonical', 'code', 'date', 'dateTime', 'decimal', 'id',... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/Range.rb | Ruby | apache-2.0 | 92 | master | 729 | module FHIR
module R4B
class Range < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'Range.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=>'Range.extension', ... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/Expression.rb | Ruby | apache-2.0 | 92 | master | 1,438 | module FHIR
module R4B
class Expression < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'Expression.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=>'Expressi... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/HumanName.rb | Ruby | apache-2.0 | 92 | master | 1,656 | module FHIR
module R4B
class HumanName < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'HumanName.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=>'HumanName.... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/TriggerDefinition.rb | Ruby | apache-2.0 | 92 | master | 2,220 | module FHIR
module R4B
class TriggerDefinition < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
MULTIPLE_TYPES = {
'timing' => ['Timing', 'Reference', 'date', 'dateTime']
}
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'pat... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/Coding.rb | Ruby | apache-2.0 | 92 | master | 1,148 | module FHIR
module R4B
class Coding < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'Coding.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=>'Coding.extension... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/ContactPoint.rb | Ruby | apache-2.0 | 92 | master | 1,573 | module FHIR
module R4B
class ContactPoint < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'ContactPoint.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=>'Cont... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/RelatedArtifact.rb | Ruby | apache-2.0 | 92 | master | 1,762 | module FHIR
module R4B
class RelatedArtifact < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'RelatedArtifact.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/Meta.rb | Ruby | apache-2.0 | 92 | master | 7,998 | module FHIR
module R4B
class Meta < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'Meta.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=>'Meta.extension', 'mi... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/types/Period.rb | Ruby | apache-2.0 | 92 | master | 736 | module FHIR
module R4B
class Period < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'string', 'path'=>'Period.id', 'min'=>0, 'max'=>1},
'extension' => {'type'=>'Extension', 'path'=>'Period.extension... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/resources/ConceptMap.rb | Ruby | apache-2.0 | 92 | master | 27,901 | module FHIR
module R4B
class ConceptMap < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
MULTIPLE_TYPES = {
'source' => ['uri', 'canonical'],
'target' => ['uri', 'canonical']
}
SEARCH_PARAMS = ['context', 'context-quantity', 'context-type', '... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/resources/ClinicalImpression.rb | Ruby | apache-2.0 | 92 | master | 21,563 | module FHIR
module R4B
class ClinicalImpression < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
MULTIPLE_TYPES = {
'effective' => ['dateTime', 'Period']
}
SEARCH_PARAMS = ['assessor', 'date', 'encounter', 'finding-code', 'finding-ref', 'identifier',... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/resources/ImmunizationEvaluation.rb | Ruby | apache-2.0 | 92 | master | 6,357 | module FHIR
module R4B
class ImmunizationEvaluation < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
MULTIPLE_TYPES = {
'doseNumber' => ['positiveInt', 'string'],
'seriesDoses' => ['positiveInt', 'string']
}
SEARCH_PARAMS = ['date', 'dose-sta... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/resources/ClaimResponse.rb | Ruby | apache-2.0 | 92 | master | 35,138 | module FHIR
module R4B
class ClaimResponse < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = ['created', 'disposition', 'identifier', 'insurer', 'outcome', 'patient', 'payment-date', 'request', 'requestor', 'status', 'use']
METADATA = {
'id'... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/resources/Linkage.rb | Ruby | apache-2.0 | 92 | master | 3,886 | module FHIR
module R4B
class Linkage < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = ['author', 'item', 'source']
METADATA = {
'id' => {'type'=>'id', 'path'=>'Linkage.id', 'min'=>0, 'max'=>1},
'meta' => {'type'=>'Meta', 'path'=>'Li... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/resources/Endpoint.rb | Ruby | apache-2.0 | 92 | master | 7,127 | module FHIR
module R4B
class Endpoint < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = ['connection-type', 'identifier', 'name', 'organization', 'payload-type', 'status']
METADATA = {
'id' => {'type'=>'id', 'path'=>'Endpoint.id', 'min'=>0, ... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/resources/PlanDefinition.rb | Ruby | apache-2.0 | 92 | master | 75,268 | module FHIR
module R4B
class PlanDefinition < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
MULTIPLE_TYPES = {
'subject' => ['CodeableConcept', 'Reference', 'canonical']
}
SEARCH_PARAMS = ['composed-of', 'context', 'context-quantity', 'context-type'... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/resources/EvidenceReport.rb | Ruby | apache-2.0 | 92 | master | 16,647 | module FHIR
module R4B
class EvidenceReport < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
MULTIPLE_TYPES = {
'citeAs' => ['Reference', 'markdown']
}
SEARCH_PARAMS = ['context', 'context-quantity', 'context-type', 'context-type-quantity', 'context-... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/resources/SupplyRequest.rb | Ruby | apache-2.0 | 92 | master | 32,384 | module FHIR
module R4B
class SupplyRequest < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
MULTIPLE_TYPES = {
'item' => ['CodeableConcept', 'Reference'],
'occurrence' => ['dateTime', 'Period', 'Timing']
}
SEARCH_PARAMS = ['category', 'date',... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/resources/ResearchSubject.rb | Ruby | apache-2.0 | 92 | master | 4,008 | module FHIR
module R4B
class ResearchSubject < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = ['date', 'identifier', 'individual', 'patient', 'status', 'study']
METADATA = {
'id' => {'type'=>'id', 'path'=>'ResearchSubject.id', 'min'=>0, 'ma... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/resources/CatalogEntry.rb | Ruby | apache-2.0 | 92 | master | 6,732 | module FHIR
module R4B
class CatalogEntry < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = []
METADATA = {
'id' => {'type'=>'id', 'path'=>'CatalogEntry.id', 'min'=>0, 'max'=>1},
'meta' => {'type'=>'Meta', 'path'=>'CatalogEntry.meta'... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/resources/Medication.rb | Ruby | apache-2.0 | 92 | master | 22,613 | module FHIR
module R4B
class Medication < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = ['code', 'expiration-date', 'form', 'identifier', 'ingredient', 'ingredient-code', 'lot-number', 'manufacturer', 'status']
METADATA = {
'id' => {'type'... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/resources/CommunicationRequest.rb | Ruby | apache-2.0 | 92 | master | 15,594 | module FHIR
module R4B
class CommunicationRequest < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
MULTIPLE_TYPES = {
'occurrence' => ['dateTime', 'Period']
}
SEARCH_PARAMS = ['authored', 'based-on', 'category', 'encounter', 'group-identifier', 'iden... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/resources/Communication.rb | Ruby | apache-2.0 | 92 | master | 22,165 | module FHIR
module R4B
class Communication < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = ['based-on', 'category', 'encounter', 'identifier', 'instantiates-canonical', 'instantiates-uri', 'medium', 'part-of', 'patient', 'received', 'recipient', 'sender... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/resources/PackagedProductDefinition.rb | Ruby | apache-2.0 | 92 | master | 32,544 | module FHIR
module R4B
class PackagedProductDefinition < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = ['biological', 'contained-item', 'device', 'identifier', 'manufactured-item', 'medication', 'name', 'nutrition', 'package', 'package-for', 'status']
... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/resources/ManufacturedItemDefinition.rb | Ruby | apache-2.0 | 92 | master | 7,035 | module FHIR
module R4B
class ManufacturedItemDefinition < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
SEARCH_PARAMS = ['dose-form', 'identifier', 'ingredient']
METADATA = {
'id' => {'type'=>'id', 'path'=>'ManufacturedItemDefinition.id', 'min'=>0, 'max'=... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/resources/Condition.rb | Ruby | apache-2.0 | 92 | master | 69,849 | module FHIR
module R4B
class Condition < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
MULTIPLE_TYPES = {
'onset' => ['dateTime', 'Age', 'Period', 'Range', 'string'],
'abatement' => ['dateTime', 'Age', 'Period', 'Range', 'string']
}
SEARCH_P... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/resources/EventDefinition.rb | Ruby | apache-2.0 | 92 | master | 22,595 | module FHIR
module R4B
class EventDefinition < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
MULTIPLE_TYPES = {
'subject' => ['CodeableConcept', 'Reference']
}
SEARCH_PARAMS = ['composed-of', 'context', 'context-quantity', 'context-type', 'context-t... |
github | inferno-framework/fhir_models | https://github.com/inferno-framework/fhir_models | lib/fhir_models/r4b/generated/resources/DetectedIssue.rb | Ruby | apache-2.0 | 92 | master | 20,183 | module FHIR
module R4B
class DetectedIssue < Model
include FHIR::Hashable
include FHIR::Json
include FHIR::Xml
MULTIPLE_TYPES = {
'identified' => ['dateTime', 'Period']
}
SEARCH_PARAMS = ['author', 'code', 'identified', 'identifier', 'implicated', 'patient']
META... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.