Class: FHIR::DSTU2::Practitioner::PractitionerRole

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'id', 'path'=>'PractitionerRole.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'PractitionerRole.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'PractitionerRole.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'managingOrganization' => {'type'=>'Reference', 'path'=>'PractitionerRole.managingOrganization', 'min'=>0, 'max'=>1},
  'role' => {'valid_codes'=>{'http://hl7.org/fhir/practitioner-role'=>['doctor', 'nurse', 'pharmacist', 'researcher', 'teacher', 'ict']}, 'type'=>'CodeableConcept', 'path'=>'PractitionerRole.role', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/practitioner-role'}},
  'specialty' => {'valid_codes'=>{'http://hl7.org/fhir/practitioner-specialty'=>['cardio', 'dent', 'dietary', 'midw', 'sysarch']}, 'type'=>'CodeableConcept', 'path'=>'PractitionerRole.specialty', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/practitioner-specialty'}},
  'period' => {'type'=>'Period', 'path'=>'PractitionerRole.period', 'min'=>0, 'max'=>1},
  'location' => {'type'=>'Reference', 'path'=>'PractitionerRole.location', 'min'=>0, 'max'=>Float::INFINITY},
  'healthcareService' => {'type'=>'Reference', 'path'=>'PractitionerRole.healthcareService', '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?, #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

#extensionObject

0-* [ Extension ]



49
50
51
# File 'lib/fhir_dstu2_models/fhir/resources/Practitioner.rb', line 49

def extension
  @extension
end

#healthcareServiceObject

0-* [ Reference() ]



56
57
58
# File 'lib/fhir_dstu2_models/fhir/resources/Practitioner.rb', line 56

def healthcareService
  @healthcareService
end

#idObject

0-1 id



48
49
50
# File 'lib/fhir_dstu2_models/fhir/resources/Practitioner.rb', line 48

def id
  @id
end

#locationObject

0-* [ Reference() ]



55
56
57
# File 'lib/fhir_dstu2_models/fhir/resources/Practitioner.rb', line 55

def location
  @location
end

#managingOrganizationObject

0-1 Reference()



51
52
53
# File 'lib/fhir_dstu2_models/fhir/resources/Practitioner.rb', line 51

def managingOrganization
  @managingOrganization
end

#modifierExtensionObject

0-* [ Extension ]



50
51
52
# File 'lib/fhir_dstu2_models/fhir/resources/Practitioner.rb', line 50

def modifierExtension
  @modifierExtension
end

#periodObject

0-1 Period



54
55
56
# File 'lib/fhir_dstu2_models/fhir/resources/Practitioner.rb', line 54

def period
  @period
end

#roleObject

0-1 CodeableConcept



52
53
54
# File 'lib/fhir_dstu2_models/fhir/resources/Practitioner.rb', line 52

def role
  @role
end

#specialtyObject

0-* [ CodeableConcept ]



53
54
55
# File 'lib/fhir_dstu2_models/fhir/resources/Practitioner.rb', line 53

def specialty
  @specialty
end