Class: FHIR::MessageHeader::Destination
- Inherits:
-
FHIR::Model
- Object
- FHIR::Model
- FHIR::MessageHeader::Destination
- Defined in:
- lib/fhir_models/fhir/resources/MessageHeader.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Destination.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Destination.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Destination.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'name' => {'type'=>'string', 'path'=>'Destination.name', 'min'=>0, 'max'=>1}, 'target' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Device'], 'type'=>'Reference', 'path'=>'Destination.target', 'min'=>0, 'max'=>1}, 'endpoint' => {'type'=>'url', 'path'=>'Destination.endpoint', 'min'=>1, 'max'=>1}, 'receiver' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'Destination.receiver', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#endpoint ⇒ Object
1-1 url.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#name ⇒ Object
0-1 string.
-
#receiver ⇒ Object
0-1 Reference(Practitioner|PractitionerRole|Organization).
-
#target ⇒ Object
0-1 Reference(Device).
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 FHIR::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::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FHIR::Model
Instance Attribute Details
#endpoint ⇒ Object
1-1 url
54 55 56 |
# File 'lib/fhir_models/fhir/resources/MessageHeader.rb', line 54 def endpoint @endpoint end |
#extension ⇒ Object
0-* [ Extension ]
50 51 52 |
# File 'lib/fhir_models/fhir/resources/MessageHeader.rb', line 50 def extension @extension end |
#id ⇒ Object
0-1 string
49 50 51 |
# File 'lib/fhir_models/fhir/resources/MessageHeader.rb', line 49 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
51 52 53 |
# File 'lib/fhir_models/fhir/resources/MessageHeader.rb', line 51 def modifierExtension @modifierExtension end |
#name ⇒ Object
0-1 string
52 53 54 |
# File 'lib/fhir_models/fhir/resources/MessageHeader.rb', line 52 def name @name end |
#receiver ⇒ Object
0-1 Reference(Practitioner|PractitionerRole|Organization)
55 56 57 |
# File 'lib/fhir_models/fhir/resources/MessageHeader.rb', line 55 def receiver @receiver end |
#target ⇒ Object
0-1 Reference(Device)
53 54 55 |
# File 'lib/fhir_models/fhir/resources/MessageHeader.rb', line 53 def target @target end |