Class: FHIR::Procedure::Performer

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Performer.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Performer.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Performer.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'actor' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'], 'type'=>'Reference', 'path'=>'Performer.actor', 'min'=>0, 'max'=>1},
  'role' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Performer.role', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/performer-role'}}
}

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

#actorObject

0-1 Reference(Practitioner|Organization|Patient|RelatedPerson)



63
64
65
# File 'lib/fhir/resources/Procedure.rb', line 63

def actor
  @actor
end

#extensionObject

0-* [ Extension ]



61
62
63
# File 'lib/fhir/resources/Procedure.rb', line 61

def extension
  @extension
end

#idObject

0-1 string



60
61
62
# File 'lib/fhir/resources/Procedure.rb', line 60

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



62
63
64
# File 'lib/fhir/resources/Procedure.rb', line 62

def modifierExtension
  @modifierExtension
end

#roleObject

0-1 CodeableConcept



64
65
66
# File 'lib/fhir/resources/Procedure.rb', line 64

def role
  @role
end