Class: FHIR::DSTU2::DiagnosticOrder::Item

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'id', 'path'=>'Item.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Item.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Item.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'code' => {'valid_codes'=>{'http://loinc.org'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Item.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/diagnostic-requests'}},
  'specimen' => {'type'=>'Reference', 'path'=>'Item.specimen', 'min'=>0, 'max'=>Float::INFINITY},
  'bodySite' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Item.bodySite', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/body-site'}},
  'status' => {'valid_codes'=>{'http://hl7.org/fhir/diagnostic-order-status'=>['proposed', 'draft', 'planned', 'requested', 'received', 'accepted', 'in-progress', 'review', 'completed', 'cancelled', 'suspended', 'rejected', 'failed']}, 'type'=>'code', 'path'=>'Item.status', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/diagnostic-order-status'}},
  'event' => {'type'=>'DiagnosticOrder::Event', 'path'=>'Item.event', 'min'=>0, 'max'=>Float::INFINITY}
}

Instance Attribute Summary collapse

Method Summary

Methods included from Xml

from_xml, #to_xml, valid?, validate

Methods included from FHIR::DSTU2::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, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #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

#bodySiteObject

0-1 CodeableConcept



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

def bodySite
  @bodySite
end

#codeObject

1-1 CodeableConcept



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

def code
  @code
end

#eventObject

0-* [ DiagnosticOrder::Event ]



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

def event
  @event
end

#extensionObject

0-* [ Extension ]



73
74
75
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb', line 73

def extension
  @extension
end

#idObject

0-1 id



72
73
74
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb', line 72

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



74
75
76
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticOrder.rb', line 74

def modifierExtension
  @modifierExtension
end

#specimenObject

0-* [ Reference() ]



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

def specimen
  @specimen
end

#statusObject

0-1 code



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

def status
  @status
end