Sha256: 3f75738dc8cce529618238a1719353665728897405a7a85bd6e62190ee4bcec9
Contents?: true
Size: 1.25 KB
Versions: 3
Compression:
Stored size: 1.25 KB
Contents
module FHIR class Duration < FHIR::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.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'value' => {'type'=>'decimal', 'path'=>'Duration.value', 'min'=>0, 'max'=>1}, 'comparator' => {'valid_codes'=>{'http://hl7.org/fhir/quantity-comparator'=>['<', '<=', '>=', '>', '<', '<=', '>=', '>']}, 'type'=>'code', 'path'=>'Duration.comparator', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/quantity-comparator'}}, 'unit' => {'type'=>'string', 'path'=>'Duration.unit', 'min'=>0, 'max'=>1}, 'system' => {'type'=>'uri', 'path'=>'Duration.system', 'min'=>0, 'max'=>1}, 'code' => {'type'=>'code', 'path'=>'Duration.code', 'min'=>0, 'max'=>1} } attr_accessor :id # 0-1 string attr_accessor :extension # 0-* [ Extension ] attr_accessor :value # 0-1 decimal attr_accessor :comparator # 0-1 code attr_accessor :unit # 0-1 string attr_accessor :system # 0-1 uri attr_accessor :code # 0-1 code end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fhir_models-1.8.3 | lib/fhir_models/fhir/types/Duration.rb |
fhir_models-1.8.2 | lib/fhir_models/fhir/types/Duration.rb |
fhir_models-1.8.1 | lib/fhir_models/fhir/types/Duration.rb |