Sha256: 3494c40ed869da6c4a43cdf7a9034feea1d778fc56b1c1c46cae4beba14a3e77

Contents?: true

Size: 1.04 KB

Versions: 7

Compression:

Stored size: 1.04 KB

Contents

module FHIR
  class Contributor < FHIR::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'=>'Contributor.extension', 'min'=>0, 'max'=>Float::INFINITY},
      'type' => {'valid_codes'=>{'http://hl7.org/fhir/contributor-type'=>['author', 'editor', 'reviewer', 'endorser']}, 'type'=>'code', 'path'=>'Contributor.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/contributor-type'}},
      'name' => {'type'=>'string', 'path'=>'Contributor.name', 'min'=>1, 'max'=>1},
      'contact' => {'type'=>'ContactDetail', 'path'=>'Contributor.contact', 'min'=>0, 'max'=>Float::INFINITY}
    }

    attr_accessor :id        # 0-1 string
    attr_accessor :extension # 0-* [ Extension ]
    attr_accessor :type      # 1-1 code
    attr_accessor :name      # 1-1 string
    attr_accessor :contact   # 0-* [ ContactDetail ]
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fhir_models-4.3.0 lib/fhir_models/fhir/types/Contributor.rb
fhir_models-4.2.2 lib/fhir_models/fhir/types/Contributor.rb
fhir_models-4.2.1 lib/fhir_models/fhir/types/Contributor.rb
fhir_models-4.2.0 lib/fhir_models/fhir/types/Contributor.rb
fhir_models-4.1.2 lib/fhir_models/fhir/types/Contributor.rb
fhir_models-4.1.1 lib/fhir_models/fhir/types/Contributor.rb
fhir_models-4.1.0 lib/fhir_models/fhir/types/Contributor.rb