Class: FHIR::DSTU2::Practitioner::PractitionerRole
- 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
-
#extension ⇒ Object
0-* [ Extension ].
-
#healthcareService ⇒ Object
0-* [ Reference() ].
-
#id ⇒ Object
0-1 id.
-
#location ⇒ Object
0-* [ Reference() ].
-
#managingOrganization ⇒ Object
0-1 Reference().
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#period ⇒ Object
0-1 Period.
-
#role ⇒ Object
0-1 CodeableConcept.
-
#specialty ⇒ Object
0-* [ CodeableConcept ].
Method Summary
Methods included from Xml
from_xml, #to_xml, valid?, validate
Methods included from Deprecate
Methods included from Json
Methods included from Hashable
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
#extension ⇒ Object
0-* [ Extension ]
49 50 51 |
# File 'lib/fhir_dstu2_models/fhir/resources/Practitioner.rb', line 49 def extension @extension end |
#healthcareService ⇒ Object
0-* [ Reference() ]
56 57 58 |
# File 'lib/fhir_dstu2_models/fhir/resources/Practitioner.rb', line 56 def healthcareService @healthcareService end |
#id ⇒ Object
0-1 id
48 49 50 |
# File 'lib/fhir_dstu2_models/fhir/resources/Practitioner.rb', line 48 def id @id end |
#location ⇒ Object
0-* [ Reference() ]
55 56 57 |
# File 'lib/fhir_dstu2_models/fhir/resources/Practitioner.rb', line 55 def location @location end |
#managingOrganization ⇒ Object
0-1 Reference()
51 52 53 |
# File 'lib/fhir_dstu2_models/fhir/resources/Practitioner.rb', line 51 def managingOrganization @managingOrganization end |
#modifierExtension ⇒ Object
0-* [ Extension ]
50 51 52 |
# File 'lib/fhir_dstu2_models/fhir/resources/Practitioner.rb', line 50 def modifierExtension @modifierExtension end |
#period ⇒ Object
0-1 Period
54 55 56 |
# File 'lib/fhir_dstu2_models/fhir/resources/Practitioner.rb', line 54 def period @period end |
#role ⇒ Object
0-1 CodeableConcept
52 53 54 |
# File 'lib/fhir_dstu2_models/fhir/resources/Practitioner.rb', line 52 def role @role end |
#specialty ⇒ Object
0-* [ CodeableConcept ]
53 54 55 |
# File 'lib/fhir_dstu2_models/fhir/resources/Practitioner.rb', line 53 def specialty @specialty end |