Class: FHIR::ExplanationOfBenefit::Note

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir/resources/ExplanationOfBenefit.rb

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Note.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Note.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Note.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'number' => {'type'=>'positiveInt', 'path'=>'Note.number', 'min'=>0, 'max'=>1},
  'type' => {'valid_codes'=>{'http://hl7.org/fhir/note-type'=>['display', 'print', 'printoper', 'display', 'print', 'printoper']}, 'type'=>'Coding', 'path'=>'Note.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/note-type'}},
  'text' => {'type'=>'string', 'path'=>'Note.text', 'min'=>0, 'max'=>1},
  'language' => {'type'=>'Coding', 'path'=>'Note.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}}
}

Instance Attribute Summary collapse

Method Summary

Methods included from Xml

from_xml, is_valid?, #to_xml, validate

Methods included from Json

from_json, #to_json

Methods included from Hashable

#from_hash, #to_hash

Methods inherited from Model

#attribute_mismatch, #compare_attribute, #equals?, #initialize, #is_valid?, #method_missing, #mismatch, #to_reference, #validate, #validate_profile

Constructor Details

This class inherits a constructor from FHIR::Model

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class FHIR::Model

Instance Attribute Details

#extensionObject

0-* [ Extension ]



639
640
641
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 639

def extension
  @extension
end

#idObject

0-1 string



638
639
640
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 638

def id
  @id
end

#languageObject

0-1 Coding



644
645
646
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 644

def language
  @language
end

#modifierExtensionObject

0-* [ Extension ]



640
641
642
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 640

def modifierExtension
  @modifierExtension
end

#numberObject

0-1 positiveInt



641
642
643
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 641

def number
  @number
end

#textObject

0-1 string



643
644
645
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 643

def text
  @text
end

#typeObject

0-1 Coding



642
643
644
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 642

def type
  @type
end