Class: FHIR::Practitioner::Role
- Defined in:
- lib/fhir/resources/Practitioner.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Role.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Role.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Role.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'organization' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'Role.organization', 'min'=>0, 'max'=>1}, 'code' => {'valid_codes'=>{'http://hl7.org/fhir/practitioner-role'=>['doctor', 'nurse', 'pharmacist', 'researcher', 'teacher', 'ict', 'doctor', 'nurse', 'pharmacist', 'researcher', 'teacher', 'ict']}, 'type'=>'CodeableConcept', 'path'=>'Role.code', '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', 'cardio', 'dent', 'dietary', 'midw', 'sysarch']}, 'type'=>'CodeableConcept', 'path'=>'Role.specialty', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/practitioner-specialty'}}, 'identifier' => {'type'=>'Identifier', 'path'=>'Role.identifier', 'min'=>0, 'max'=>Float::INFINITY}, 'telecom' => {'type'=>'ContactPoint', 'path'=>'Role.telecom', 'min'=>0, 'max'=>Float::INFINITY}, 'period' => {'type'=>'Period', 'path'=>'Role.period', 'min'=>0, 'max'=>1}, 'location' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Location'], 'type'=>'Reference', 'path'=>'Role.location', 'min'=>0, 'max'=>Float::INFINITY}, 'healthcareService' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/HealthcareService'], 'type'=>'Reference', 'path'=>'Role.healthcareService', 'min'=>0, 'max'=>Float::INFINITY}, 'endpoint' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Endpoint'], 'type'=>'Reference', 'path'=>'Role.endpoint', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#code ⇒ Object
0-1 CodeableConcept.
-
#endpoint ⇒ Object
0-* [ Reference(Endpoint) ].
-
#extension ⇒ Object
0-* [ Extension ].
-
#healthcareService ⇒ Object
0-* [ Reference(HealthcareService) ].
-
#id ⇒ Object
0-1 string.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#location ⇒ Object
0-* [ Reference(Location) ].
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#organization ⇒ Object
0-1 Reference(Organization).
-
#period ⇒ Object
0-1 Period.
-
#specialty ⇒ Object
0-* [ CodeableConcept ].
-
#telecom ⇒ Object
0-* [ ContactPoint ].
Method Summary
Methods included from Xml
from_xml, is_valid?, #to_xml, validate
Methods included from Json
Methods included from Hashable
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
#code ⇒ Object
0-1 CodeableConcept
54 55 56 |
# File 'lib/fhir/resources/Practitioner.rb', line 54 def code @code end |
#endpoint ⇒ Object
0-* [ Reference(Endpoint) ]
61 62 63 |
# File 'lib/fhir/resources/Practitioner.rb', line 61 def endpoint @endpoint end |
#extension ⇒ Object
0-* [ Extension ]
51 52 53 |
# File 'lib/fhir/resources/Practitioner.rb', line 51 def extension @extension end |
#healthcareService ⇒ Object
0-* [ Reference(HealthcareService) ]
60 61 62 |
# File 'lib/fhir/resources/Practitioner.rb', line 60 def healthcareService @healthcareService end |
#id ⇒ Object
0-1 string
50 51 52 |
# File 'lib/fhir/resources/Practitioner.rb', line 50 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
56 57 58 |
# File 'lib/fhir/resources/Practitioner.rb', line 56 def identifier @identifier end |
#location ⇒ Object
0-* [ Reference(Location) ]
59 60 61 |
# File 'lib/fhir/resources/Practitioner.rb', line 59 def location @location end |
#modifierExtension ⇒ Object
0-* [ Extension ]
52 53 54 |
# File 'lib/fhir/resources/Practitioner.rb', line 52 def modifierExtension @modifierExtension end |
#organization ⇒ Object
0-1 Reference(Organization)
53 54 55 |
# File 'lib/fhir/resources/Practitioner.rb', line 53 def organization @organization end |
#period ⇒ Object
0-1 Period
58 59 60 |
# File 'lib/fhir/resources/Practitioner.rb', line 58 def period @period end |
#specialty ⇒ Object
0-* [ CodeableConcept ]
55 56 57 |
# File 'lib/fhir/resources/Practitioner.rb', line 55 def specialty @specialty end |
#telecom ⇒ Object
0-* [ ContactPoint ]
57 58 59 |
# File 'lib/fhir/resources/Practitioner.rb', line 57 def telecom @telecom end |