Class: FHIR::DSTU2::Subscription::Channel
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/Subscription.rb
Constant Summary collapse
- METADATA =
{ 'id' => { 'type' => 'id', 'path' => 'Channel.id', 'min' => 0, 'max' => 1 }, 'extension' => { 'type' => 'Extension', 'path' => 'Channel.extension', 'min' => 0, 'max' => Float::INFINITY }, 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Channel.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/subscription-channel-type' => ['rest-hook', 'websocket', 'email', 'sms', 'message'] }, 'type' => 'code', 'path' => 'Channel.type', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/subscription-channel-type' } }, 'endpoint' => { 'type' => 'uri', 'path' => 'Channel.endpoint', 'min' => 0, 'max' => 1 }, 'payload' => { 'type' => 'string', 'path' => 'Channel.payload', 'min' => 1, 'max' => 1 }, 'header' => { 'type' => 'string', 'path' => 'Channel.header', 'min' => 0, 'max' => 1 } }
Instance Attribute Summary collapse
-
#endpoint ⇒ Object
0-1 uri.
-
#extension ⇒ Object
0-* [ Extension ].
-
#header ⇒ Object
0-1 string.
-
#id ⇒ Object
0-1 id.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#payload ⇒ Object
1-1 string.
-
#type ⇒ Object
1-1 code.
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
#endpoint ⇒ Object
0-1 uri
47 48 49 |
# File 'lib/fhir_dstu2_models/fhir/resources/Subscription.rb', line 47 def endpoint @endpoint end |
#extension ⇒ Object
0-* [ Extension ]
44 45 46 |
# File 'lib/fhir_dstu2_models/fhir/resources/Subscription.rb', line 44 def extension @extension end |
#header ⇒ Object
0-1 string
49 50 51 |
# File 'lib/fhir_dstu2_models/fhir/resources/Subscription.rb', line 49 def header @header end |
#id ⇒ Object
0-1 id
43 44 45 |
# File 'lib/fhir_dstu2_models/fhir/resources/Subscription.rb', line 43 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
45 46 47 |
# File 'lib/fhir_dstu2_models/fhir/resources/Subscription.rb', line 45 def modifierExtension @modifierExtension end |
#payload ⇒ Object
1-1 string
48 49 50 |
# File 'lib/fhir_dstu2_models/fhir/resources/Subscription.rb', line 48 def payload @payload end |
#type ⇒ Object
1-1 code
46 47 48 |
# File 'lib/fhir_dstu2_models/fhir/resources/Subscription.rb', line 46 def type @type end |