Class: FHIR::Endpoint
- Defined in:
- lib/fhir/resources/Endpoint.rb
Constant Summary collapse
- SEARCH_PARAMS =
["identifier", "name", "organization", "payload-type", "status"]
- METADATA =
{ 'id' => {'type'=>'id', 'path'=>'Endpoint.id', 'min'=>0, 'max'=>1}, 'meta' => {'type'=>'Meta', 'path'=>'Endpoint.meta', 'min'=>0, 'max'=>1}, 'implicitRules' => {'type'=>'uri', 'path'=>'Endpoint.implicitRules', 'min'=>0, 'max'=>1}, 'language' => {'type'=>'code', 'path'=>'Endpoint.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}}, 'text' => {'type'=>'Narrative', 'path'=>'Endpoint.text', 'min'=>0, 'max'=>1}, 'contained' => {'type'=>'Resource', 'path'=>'Endpoint.contained', 'min'=>0, 'max'=>Float::INFINITY}, 'extension' => {'type'=>'Extension', 'path'=>'Endpoint.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Endpoint.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'identifier' => {'type'=>'Identifier', 'path'=>'Endpoint.identifier', 'min'=>0, 'max'=>Float::INFINITY}, 'status' => {'valid_codes'=>{'http://hl7.org/fhir/endpoint-status'=>['active', 'suspended', 'error', 'off', 'entered-in-error', 'active', 'suspended', 'error', 'off', 'entered-in-error']}, 'type'=>'code', 'path'=>'Endpoint.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/endpoint-status'}}, 'name' => {'type'=>'string', 'path'=>'Endpoint.name', 'min'=>0, 'max'=>1}, 'managingOrganization' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'Endpoint.managingOrganization', 'min'=>0, 'max'=>1}, 'contact' => {'type'=>'ContactPoint', 'path'=>'Endpoint.contact', 'min'=>0, 'max'=>Float::INFINITY}, 'connectionType' => {'valid_codes'=>{'http://hl7.org/fhir/subscription-channel-type'=>['rest-hook', 'websocket', 'email', 'sms', 'message', 'rest-hook', 'websocket', 'email', 'sms', 'message']}, 'type'=>'Coding', 'path'=>'Endpoint.connectionType', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/subscription-channel-type'}}, 'method' => {'local_name'=>'local_method', 'valid_codes'=>{'http://hl7.org/fhir/http-verb'=>['GET', 'POST', 'PUT', 'DELETE', 'GET', 'POST', 'PUT', 'DELETE']}, 'type'=>'Coding', 'path'=>'Endpoint.method', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/http-verb'}}, 'period' => {'type'=>'Period', 'path'=>'Endpoint.period', 'min'=>0, 'max'=>1}, 'address' => {'type'=>'uri', 'path'=>'Endpoint.address', 'min'=>1, 'max'=>1}, 'payloadFormat' => {'type'=>'string', 'path'=>'Endpoint.payloadFormat', 'min'=>1, 'max'=>1}, 'payloadType' => {'type'=>'CodeableConcept', 'path'=>'Endpoint.payloadType', 'min'=>1, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/endpoint-payload-type'}}, 'header' => {'type'=>'string', 'path'=>'Endpoint.header', 'min'=>0, 'max'=>Float::INFINITY}, 'publicKey' => {'type'=>'string', 'path'=>'Endpoint.publicKey', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#address ⇒ Object
1-1 uri.
-
#connectionType ⇒ Object
1-1 Coding.
-
#contact ⇒ Object
0-* [ ContactPoint ].
-
#contained ⇒ Object
0-* [ Resource ].
-
#extension ⇒ Object
0-* [ Extension ].
-
#header ⇒ Object
0-* [ string ].
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#implicitRules ⇒ Object
0-1 uri.
-
#language ⇒ Object
0-1 code.
-
#local_method ⇒ Object
0-* [ Coding ].
-
#managingOrganization ⇒ Object
0-1 Reference(Organization).
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#name ⇒ Object
0-1 string.
-
#payloadFormat ⇒ Object
1-1 string.
-
#payloadType ⇒ Object
1-* [ CodeableConcept ].
-
#period ⇒ Object
0-1 Period.
-
#publicKey ⇒ Object
0-1 string.
-
#status ⇒ Object
1-1 code.
-
#text ⇒ Object
0-1 Narrative.
Instance Method Summary collapse
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
#address ⇒ Object
1-1 uri
48 49 50 |
# File 'lib/fhir/resources/Endpoint.rb', line 48 def address @address end |
#connectionType ⇒ Object
1-1 Coding
45 46 47 |
# File 'lib/fhir/resources/Endpoint.rb', line 45 def connectionType @connectionType end |
#contact ⇒ Object
0-* [ ContactPoint ]
44 45 46 |
# File 'lib/fhir/resources/Endpoint.rb', line 44 def contact @contact end |
#contained ⇒ Object
0-* [ Resource ]
37 38 39 |
# File 'lib/fhir/resources/Endpoint.rb', line 37 def contained @contained end |
#extension ⇒ Object
0-* [ Extension ]
38 39 40 |
# File 'lib/fhir/resources/Endpoint.rb', line 38 def extension @extension end |
#header ⇒ Object
0-* [ string ]
51 52 53 |
# File 'lib/fhir/resources/Endpoint.rb', line 51 def header @header end |
#id ⇒ Object
0-1 id
32 33 34 |
# File 'lib/fhir/resources/Endpoint.rb', line 32 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
40 41 42 |
# File 'lib/fhir/resources/Endpoint.rb', line 40 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
34 35 36 |
# File 'lib/fhir/resources/Endpoint.rb', line 34 def implicitRules @implicitRules end |
#language ⇒ Object
0-1 code
35 36 37 |
# File 'lib/fhir/resources/Endpoint.rb', line 35 def language @language end |
#local_method ⇒ Object
0-* [ Coding ]
46 47 48 |
# File 'lib/fhir/resources/Endpoint.rb', line 46 def local_method @local_method end |
#managingOrganization ⇒ Object
0-1 Reference(Organization)
43 44 45 |
# File 'lib/fhir/resources/Endpoint.rb', line 43 def managingOrganization @managingOrganization end |
#meta ⇒ Object
0-1 Meta
33 34 35 |
# File 'lib/fhir/resources/Endpoint.rb', line 33 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
39 40 41 |
# File 'lib/fhir/resources/Endpoint.rb', line 39 def modifierExtension @modifierExtension end |
#name ⇒ Object
0-1 string
42 43 44 |
# File 'lib/fhir/resources/Endpoint.rb', line 42 def name @name end |
#payloadFormat ⇒ Object
1-1 string
49 50 51 |
# File 'lib/fhir/resources/Endpoint.rb', line 49 def payloadFormat @payloadFormat end |
#payloadType ⇒ Object
1-* [ CodeableConcept ]
50 51 52 |
# File 'lib/fhir/resources/Endpoint.rb', line 50 def payloadType @payloadType end |
#period ⇒ Object
0-1 Period
47 48 49 |
# File 'lib/fhir/resources/Endpoint.rb', line 47 def period @period end |
#publicKey ⇒ Object
0-1 string
52 53 54 |
# File 'lib/fhir/resources/Endpoint.rb', line 52 def publicKey @publicKey end |
#status ⇒ Object
1-1 code
41 42 43 |
# File 'lib/fhir/resources/Endpoint.rb', line 41 def status @status end |
#text ⇒ Object
0-1 Narrative
36 37 38 |
# File 'lib/fhir/resources/Endpoint.rb', line 36 def text @text end |
Instance Method Details
#resourceType ⇒ Object
54 55 56 |
# File 'lib/fhir/resources/Endpoint.rb', line 54 def resourceType 'Endpoint' end |