Class: FHIR::DSTU2::Communication
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/Communication.rb
Defined Under Namespace
Classes: Payload
Constant Summary collapse
- SEARCH_PARAMS =
['category', 'encounter', 'identifier', 'medium', 'patient', 'received', 'recipient', 'request', 'sender', 'sent', 'status', 'subject', 'category', 'encounter', 'identifier', 'medium', 'patient', 'priority', 'recipient', 'requested', 'requester', 'sender', 'status', 'subject', 'time']
- METADATA =
{ 'id' => { 'type' => 'id', 'path' => 'Communication.id', 'min' => 0, 'max' => 1 }, 'meta' => { 'type' => 'Meta', 'path' => 'Communication.meta', 'min' => 0, 'max' => 1 }, 'implicitRules' => { 'type' => 'uri', 'path' => 'Communication.implicitRules', 'min' => 0, 'max' => 1 }, 'language' => { 'type' => 'code', 'path' => 'Communication.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, 'text' => { 'type' => 'Narrative', 'path' => 'Communication.text', 'min' => 0, 'max' => 1 }, 'contained' => { 'type' => 'Resource', 'path' => 'Communication.contained', 'min' => 0, 'max' => Float::INFINITY }, 'extension' => { 'type' => 'Extension', 'path' => 'Communication.extension', 'min' => 0, 'max' => Float::INFINITY }, 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Communication.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, 'identifier' => { 'type' => 'Identifier', 'path' => 'Communication.identifier', 'min' => 0, 'max' => Float::INFINITY }, 'category' => { 'type' => 'CodeableConcept', 'path' => 'Communication.category', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, 'sender' => { 'type' => 'Reference', 'path' => 'Communication.sender', 'min' => 0, 'max' => 1 }, 'recipient' => { 'type' => 'Reference', 'path' => 'Communication.recipient', 'min' => 0, 'max' => Float::INFINITY }, 'payload' => { 'type' => 'Communication::Payload', 'path' => 'Communication.payload', 'min' => 0, 'max' => Float::INFINITY }, 'medium' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/ParticipationMode' => ['ELECTRONIC', 'PHYSICAL', 'REMOTE', 'VERBAL', 'DICTATE', 'FACE', 'PHONE', 'VIDEOCONF', 'WRITTEN', 'FAXWRIT', 'HANDWRIT', 'MAILWRIT', 'ONLINEWRIT', 'EMAILWRIT', 'TYPEWRIT'] }, 'type' => 'CodeableConcept', 'path' => 'Communication.medium', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/v3-ParticipationMode' } }, 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/communication-status' => ['in-progress', 'completed', 'suspended', 'rejected', 'failed'] }, 'type' => 'code', 'path' => 'Communication.status', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/communication-status' } }, 'encounter' => { 'type' => 'Reference', 'path' => 'Communication.encounter', 'min' => 0, 'max' => 1 }, 'sent' => { 'type' => 'dateTime', 'path' => 'Communication.sent', 'min' => 0, 'max' => 1 }, 'received' => { 'type' => 'dateTime', 'path' => 'Communication.received', 'min' => 0, 'max' => 1 }, 'reason' => { 'type' => 'CodeableConcept', 'path' => 'Communication.reason', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => nil } }, 'subject' => { 'type' => 'Reference', 'path' => 'Communication.subject', 'min' => 0, 'max' => 1 }, 'requestDetail' => { 'type' => 'Reference', 'path' => 'Communication.requestDetail', 'min' => 0, 'max' => 1 } }
Instance Attribute Summary collapse
-
#category ⇒ Object
0-1 CodeableConcept.
-
#contained ⇒ Object
0-* [ Resource ].
-
#encounter ⇒ Object
0-1 Reference().
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#implicitRules ⇒ Object
0-1 uri.
-
#language ⇒ Object
0-1 code.
-
#medium ⇒ Object
0-* [ CodeableConcept ].
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#payload ⇒ Object
0-* [ Communication::Payload ].
-
#reason ⇒ Object
0-* [ CodeableConcept ].
-
#received ⇒ Object
0-1 dateTime.
-
#recipient ⇒ Object
0-* [ Reference() ].
-
#requestDetail ⇒ Object
0-1 Reference().
-
#sender ⇒ Object
0-1 Reference().
-
#sent ⇒ Object
0-1 dateTime.
-
#status ⇒ Object
0-1 code.
-
#subject ⇒ Object
0-1 Reference().
-
#text ⇒ Object
0-1 Narrative.
Instance Method Summary collapse
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
#category ⇒ Object
0-1 CodeableConcept
67 68 69 |
# File 'lib/fhir_dstu2_models/fhir/resources/Communication.rb', line 67 def category @category end |
#contained ⇒ Object
0-* [ Resource ]
63 64 65 |
# File 'lib/fhir_dstu2_models/fhir/resources/Communication.rb', line 63 def contained @contained end |
#encounter ⇒ Object
0-1 Reference()
73 74 75 |
# File 'lib/fhir_dstu2_models/fhir/resources/Communication.rb', line 73 def encounter @encounter end |
#extension ⇒ Object
0-* [ Extension ]
64 65 66 |
# File 'lib/fhir_dstu2_models/fhir/resources/Communication.rb', line 64 def extension @extension end |
#id ⇒ Object
0-1 id
58 59 60 |
# File 'lib/fhir_dstu2_models/fhir/resources/Communication.rb', line 58 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
66 67 68 |
# File 'lib/fhir_dstu2_models/fhir/resources/Communication.rb', line 66 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
60 61 62 |
# File 'lib/fhir_dstu2_models/fhir/resources/Communication.rb', line 60 def implicitRules @implicitRules end |
#language ⇒ Object
0-1 code
61 62 63 |
# File 'lib/fhir_dstu2_models/fhir/resources/Communication.rb', line 61 def language @language end |
#medium ⇒ Object
0-* [ CodeableConcept ]
71 72 73 |
# File 'lib/fhir_dstu2_models/fhir/resources/Communication.rb', line 71 def medium @medium end |
#meta ⇒ Object
0-1 Meta
59 60 61 |
# File 'lib/fhir_dstu2_models/fhir/resources/Communication.rb', line 59 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
65 66 67 |
# File 'lib/fhir_dstu2_models/fhir/resources/Communication.rb', line 65 def modifierExtension @modifierExtension end |
#payload ⇒ Object
0-* [ Communication::Payload ]
70 71 72 |
# File 'lib/fhir_dstu2_models/fhir/resources/Communication.rb', line 70 def payload @payload end |
#reason ⇒ Object
0-* [ CodeableConcept ]
76 77 78 |
# File 'lib/fhir_dstu2_models/fhir/resources/Communication.rb', line 76 def reason @reason end |
#received ⇒ Object
0-1 dateTime
75 76 77 |
# File 'lib/fhir_dstu2_models/fhir/resources/Communication.rb', line 75 def received @received end |
#recipient ⇒ Object
0-* [ Reference() ]
69 70 71 |
# File 'lib/fhir_dstu2_models/fhir/resources/Communication.rb', line 69 def recipient @recipient end |
#requestDetail ⇒ Object
0-1 Reference()
78 79 80 |
# File 'lib/fhir_dstu2_models/fhir/resources/Communication.rb', line 78 def requestDetail @requestDetail end |
#sender ⇒ Object
0-1 Reference()
68 69 70 |
# File 'lib/fhir_dstu2_models/fhir/resources/Communication.rb', line 68 def sender @sender end |
#sent ⇒ Object
0-1 dateTime
74 75 76 |
# File 'lib/fhir_dstu2_models/fhir/resources/Communication.rb', line 74 def sent @sent end |
#status ⇒ Object
0-1 code
72 73 74 |
# File 'lib/fhir_dstu2_models/fhir/resources/Communication.rb', line 72 def status @status end |
#subject ⇒ Object
0-1 Reference()
77 78 79 |
# File 'lib/fhir_dstu2_models/fhir/resources/Communication.rb', line 77 def subject @subject end |
#text ⇒ Object
0-1 Narrative
62 63 64 |
# File 'lib/fhir_dstu2_models/fhir/resources/Communication.rb', line 62 def text @text end |
Instance Method Details
#resourceType ⇒ Object
80 81 82 |
# File 'lib/fhir_dstu2_models/fhir/resources/Communication.rb', line 80 def resourceType 'Communication' end |