Class: FHIR::DSTU2::ImagingStudy::Series::Instance

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

Constant Summary collapse

METADATA =
{
  'id' => { 'type' => 'id', 'path' => 'Instance.id', 'min' => 0, 'max' => 1 },
  'extension' => { 'type' => 'Extension', 'path' => 'Instance.extension', 'min' => 0, 'max' => Float::INFINITY },
  'modifierExtension' => { 'type' => 'Extension', 'path' => 'Instance.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
  'number' => { 'type' => 'unsignedInt', 'path' => 'Instance.number', 'min' => 0, 'max' => 1 },
  'uid' => { 'type' => 'oid', 'path' => 'Instance.uid', 'min' => 1, 'max' => 1 },
  'sopClass' => { 'type' => 'oid', 'path' => 'Instance.sopClass', 'min' => 1, 'max' => 1 },
  'type' => { 'type' => 'string', 'path' => 'Instance.type', 'min' => 0, 'max' => 1 },
  'title' => { 'type' => 'string', 'path' => 'Instance.title', 'min' => 0, 'max' => 1 },
  'content' => { 'type' => 'Attachment', 'path' => 'Instance.content', 'min' => 0, 'max' => Float::INFINITY }
}

Instance Attribute Summary collapse

Method Summary

Methods included from Xml

from_xml, #to_xml, valid?, validate

Methods included from Deprecate

#deprecate

Methods included from Json

from_json, #to_json

Methods included from Hashable

#from_hash, #to_hash

Methods inherited from Model

#==, #attribute_mismatch, #compare_attribute, #each_element, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #respond_to_missing?, #to_reference, #valid?, #validate, #validate_profile

Constructor Details

This class inherits a constructor from FHIR::DSTU2::Model

Dynamic Method Handling

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

Instance Attribute Details

#contentObject

0-* [ Attachment ]



83
84
85
# File 'lib/fhir_dstu2_models/fhir/resources/ImagingStudy.rb', line 83

def content
  @content
end

#extensionObject

0-* [ Extension ]



76
77
78
# File 'lib/fhir_dstu2_models/fhir/resources/ImagingStudy.rb', line 76

def extension
  @extension
end

#idObject

0-1 id



75
76
77
# File 'lib/fhir_dstu2_models/fhir/resources/ImagingStudy.rb', line 75

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



77
78
79
# File 'lib/fhir_dstu2_models/fhir/resources/ImagingStudy.rb', line 77

def modifierExtension
  @modifierExtension
end

#numberObject

0-1 unsignedInt



78
79
80
# File 'lib/fhir_dstu2_models/fhir/resources/ImagingStudy.rb', line 78

def number
  @number
end

#sopClassObject

1-1 oid



80
81
82
# File 'lib/fhir_dstu2_models/fhir/resources/ImagingStudy.rb', line 80

def sopClass
  @sopClass
end

#titleObject

0-1 string



82
83
84
# File 'lib/fhir_dstu2_models/fhir/resources/ImagingStudy.rb', line 82

def title
  @title
end

#typeObject

0-1 string



81
82
83
# File 'lib/fhir_dstu2_models/fhir/resources/ImagingStudy.rb', line 81

def type
  @type
end

#uidObject

1-1 oid



79
80
81
# File 'lib/fhir_dstu2_models/fhir/resources/ImagingStudy.rb', line 79

def uid
  @uid
end