Class: FHIR::DSTU2::CommunicationRequest
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb
Defined Under Namespace
Classes: Payload
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'scheduled' => ['dateTime', 'Period'] }
- SEARCH_PARAMS =
['category', 'encounter', 'identifier', 'medium', 'patient', 'priority', 'recipient', 'requested', 'requester', 'sender', 'status', 'subject', 'time']
- METADATA =
{ 'id' => { 'type' => 'id', 'path' => 'CommunicationRequest.id', 'min' => 0, 'max' => 1 }, 'meta' => { 'type' => 'Meta', 'path' => 'CommunicationRequest.meta', 'min' => 0, 'max' => 1 }, 'implicitRules' => { 'type' => 'uri', 'path' => 'CommunicationRequest.implicitRules', 'min' => 0, 'max' => 1 }, 'language' => { 'type' => 'code', 'path' => 'CommunicationRequest.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, 'text' => { 'type' => 'Narrative', 'path' => 'CommunicationRequest.text', 'min' => 0, 'max' => 1 }, 'contained' => { 'type' => 'Resource', 'path' => 'CommunicationRequest.contained', 'min' => 0, 'max' => Float::INFINITY }, 'extension' => { 'type' => 'Extension', 'path' => 'CommunicationRequest.extension', 'min' => 0, 'max' => Float::INFINITY }, 'modifierExtension' => { 'type' => 'Extension', 'path' => 'CommunicationRequest.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, 'identifier' => { 'type' => 'Identifier', 'path' => 'CommunicationRequest.identifier', 'min' => 0, 'max' => Float::INFINITY }, 'category' => { 'type' => 'CodeableConcept', 'path' => 'CommunicationRequest.category', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, 'sender' => { 'type' => 'Reference', 'path' => 'CommunicationRequest.sender', 'min' => 0, 'max' => 1 }, 'recipient' => { 'type' => 'Reference', 'path' => 'CommunicationRequest.recipient', 'min' => 0, 'max' => Float::INFINITY }, 'payload' => { 'type' => 'CommunicationRequest::Payload', 'path' => 'CommunicationRequest.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' => 'CommunicationRequest.medium', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/v3-ParticipationMode' } }, 'requester' => { 'type' => 'Reference', 'path' => 'CommunicationRequest.requester', 'min' => 0, 'max' => 1 }, 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/communication-request-status' => ['proposed', 'planned', 'requested', 'received', 'accepted', 'in-progress', 'completed', 'suspended', 'rejected', 'failed'] }, 'type' => 'code', 'path' => 'CommunicationRequest.status', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/communication-request-status' } }, 'encounter' => { 'type' => 'Reference', 'path' => 'CommunicationRequest.encounter', 'min' => 0, 'max' => 1 }, 'scheduledDateTime' => { 'type' => 'dateTime', 'path' => 'CommunicationRequest.scheduled[x]', 'min' => 0, 'max' => 1 }, 'scheduledPeriod' => { 'type' => 'Period', 'path' => 'CommunicationRequest.scheduled[x]', 'min' => 0, 'max' => 1 }, 'reason' => { 'type' => 'CodeableConcept', 'path' => 'CommunicationRequest.reason', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => nil } }, 'requestedOn' => { 'type' => 'dateTime', 'path' => 'CommunicationRequest.requestedOn', 'min' => 0, 'max' => 1 }, 'subject' => { 'type' => 'Reference', 'path' => 'CommunicationRequest.subject', 'min' => 0, 'max' => 1 }, 'priority' => { 'valid_codes' => { 'http://hl7.org/fhir/diagnostic-order-priority' => ['routine', 'urgent', 'stat', 'asap'] }, 'type' => 'CodeableConcept', 'path' => 'CommunicationRequest.priority', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/diagnostic-order-priority' } } }
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-* [ CommunicationRequest::Payload ].
-
#priority ⇒ Object
0-1 CodeableConcept.
-
#reason ⇒ Object
0-* [ CodeableConcept ].
-
#recipient ⇒ Object
0-* [ Reference() ].
-
#requestedOn ⇒ Object
0-1 dateTime.
-
#requester ⇒ Object
0-1 Reference().
-
#scheduledDateTime ⇒ Object
0-1 dateTime.
-
#scheduledPeriod ⇒ Object
0-1 Period.
-
#sender ⇒ Object
0-1 Reference().
-
#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
72 73 74 |
# File 'lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb', line 72 def category @category end |
#contained ⇒ Object
0-* [ Resource ]
68 69 70 |
# File 'lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb', line 68 def contained @contained end |
#encounter ⇒ Object
0-1 Reference()
79 80 81 |
# File 'lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb', line 79 def encounter @encounter end |
#extension ⇒ Object
0-* [ Extension ]
69 70 71 |
# File 'lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb', line 69 def extension @extension end |
#id ⇒ Object
0-1 id
63 64 65 |
# File 'lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb', line 63 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
71 72 73 |
# File 'lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb', line 71 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
65 66 67 |
# File 'lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb', line 65 def implicitRules @implicitRules end |
#language ⇒ Object
0-1 code
66 67 68 |
# File 'lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb', line 66 def language @language end |
#medium ⇒ Object
0-* [ CodeableConcept ]
76 77 78 |
# File 'lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb', line 76 def medium @medium end |
#meta ⇒ Object
0-1 Meta
64 65 66 |
# File 'lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb', line 64 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
70 71 72 |
# File 'lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb', line 70 def modifierExtension @modifierExtension end |
#payload ⇒ Object
0-* [ CommunicationRequest::Payload ]
75 76 77 |
# File 'lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb', line 75 def payload @payload end |
#priority ⇒ Object
0-1 CodeableConcept
85 86 87 |
# File 'lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb', line 85 def priority @priority end |
#reason ⇒ Object
0-* [ CodeableConcept ]
82 83 84 |
# File 'lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb', line 82 def reason @reason end |
#recipient ⇒ Object
0-* [ Reference() ]
74 75 76 |
# File 'lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb', line 74 def recipient @recipient end |
#requestedOn ⇒ Object
0-1 dateTime
83 84 85 |
# File 'lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb', line 83 def requestedOn @requestedOn end |
#requester ⇒ Object
0-1 Reference()
77 78 79 |
# File 'lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb', line 77 def requester @requester end |
#scheduledDateTime ⇒ Object
0-1 dateTime
80 81 82 |
# File 'lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb', line 80 def scheduledDateTime @scheduledDateTime end |
#scheduledPeriod ⇒ Object
0-1 Period
81 82 83 |
# File 'lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb', line 81 def scheduledPeriod @scheduledPeriod end |
#sender ⇒ Object
0-1 Reference()
73 74 75 |
# File 'lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb', line 73 def sender @sender end |
#status ⇒ Object
0-1 code
78 79 80 |
# File 'lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb', line 78 def status @status end |
#subject ⇒ Object
0-1 Reference()
84 85 86 |
# File 'lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb', line 84 def subject @subject end |
#text ⇒ Object
0-1 Narrative
67 68 69 |
# File 'lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb', line 67 def text @text end |
Instance Method Details
#resourceType ⇒ Object
87 88 89 |
# File 'lib/fhir_dstu2_models/fhir/resources/CommunicationRequest.rb', line 87 def resourceType 'CommunicationRequest' end |