Class: FHIR::DSTU2::ReferralRequest
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb
Constant Summary collapse
- SEARCH_PARAMS =
['date', 'patient', 'priority', 'recipient', 'requester', 'specialty', 'status', 'type']
- METADATA =
{ 'id' => { 'type' => 'id', 'path' => 'ReferralRequest.id', 'min' => 0, 'max' => 1 }, 'meta' => { 'type' => 'Meta', 'path' => 'ReferralRequest.meta', 'min' => 0, 'max' => 1 }, 'implicitRules' => { 'type' => 'uri', 'path' => 'ReferralRequest.implicitRules', 'min' => 0, 'max' => 1 }, 'language' => { 'type' => 'code', 'path' => 'ReferralRequest.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, 'text' => { 'type' => 'Narrative', 'path' => 'ReferralRequest.text', 'min' => 0, 'max' => 1 }, 'contained' => { 'type' => 'Resource', 'path' => 'ReferralRequest.contained', 'min' => 0, 'max' => Float::INFINITY }, 'extension' => { 'type' => 'Extension', 'path' => 'ReferralRequest.extension', 'min' => 0, 'max' => Float::INFINITY }, 'modifierExtension' => { 'type' => 'Extension', 'path' => 'ReferralRequest.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/referralstatus' => ['draft', 'requested', 'active', 'cancelled', 'accepted', 'rejected', 'completed'] }, 'type' => 'code', 'path' => 'ReferralRequest.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/referralstatus' } }, 'identifier' => { 'type' => 'Identifier', 'path' => 'ReferralRequest.identifier', 'min' => 0, 'max' => Float::INFINITY }, 'date' => { 'type' => 'dateTime', 'path' => 'ReferralRequest.date', 'min' => 0, 'max' => 1 }, 'type' => { 'type' => 'CodeableConcept', 'path' => 'ReferralRequest.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, 'specialty' => { 'valid_codes' => { 'http://hl7.org/fhir/practitioner-specialty' => ['cardio', 'dent', 'dietary', 'midw', 'sysarch'] }, 'type' => 'CodeableConcept', 'path' => 'ReferralRequest.specialty', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/practitioner-specialty' } }, 'priority' => { 'valid_codes' => { 'http://hl7.org/fhir/diagnostic-order-priority' => ['routine', 'urgent', 'stat', 'asap'] }, 'type' => 'CodeableConcept', 'path' => 'ReferralRequest.priority', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/diagnostic-order-priority' } }, 'patient' => { 'type' => 'Reference', 'path' => 'ReferralRequest.patient', 'min' => 0, 'max' => 1 }, 'requester' => { 'type' => 'Reference', 'path' => 'ReferralRequest.requester', 'min' => 0, 'max' => 1 }, 'recipient' => { 'type' => 'Reference', 'path' => 'ReferralRequest.recipient', 'min' => 0, 'max' => Float::INFINITY }, 'encounter' => { 'type' => 'Reference', 'path' => 'ReferralRequest.encounter', 'min' => 0, 'max' => 1 }, 'dateSent' => { 'type' => 'dateTime', 'path' => 'ReferralRequest.dateSent', 'min' => 0, 'max' => 1 }, 'reason' => { 'type' => 'CodeableConcept', 'path' => 'ReferralRequest.reason', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, 'description' => { 'type' => 'string', 'path' => 'ReferralRequest.description', 'min' => 0, 'max' => 1 }, 'serviceRequested' => { 'valid_codes' => { 'http://snomed.info/sct' => ['408467006', '394577000', '394578005', '421661004', '408462000', '394579002', '394804000', '394580004', '394803006', '408480009', '408454008', '394809005', '394592004', '394600006', '394601005', '394581000', '408478003', '394812008', '408444009', '394582007', '408475000', '410005002', '394583002', '419772000', '394584008', '408443003', '394802001', '394915009', '394814009', '394808002', '394811001', '408446006', '394586005', '394916005', '408472002', '394597005', '394598000', '394807007', '419192003', '408468001', '394593009', '394813003', '410001006', '394589003', '394591006', '394599008', '394649004', '408470005', '394585009', '394821009', '422191005', '394594003', '416304004', '418960008', '394882004', '394806003', '394588006', '408459003', '394607009', '419610006', '418058008', '420208008', '418652005', '418535003', '418862001', '419365004', '418002000', '419983000', '419170002', '419472004', '394539006', '420112009', '409968004', '394587001', '394913002', '408440000', '418112009', '419815003', '394914008', '408455009', '394602003', '408447002', '394810000', '408450004', '408476004', '408469009', '408466002', '408471009', '408464004', '408441001', '408465003', '394605001', '394608004', '408461007', '408460008', '394606000', '408449004', '418018006', '394604002', '394609007', '408474001', '394610002', '394611003', '408477008', '394801008', '408463005', '419321007', '394576009', '394590007', '409967009', '408448007', '419043006', '394612005', '394733009', '394732004'] }, 'type' => 'CodeableConcept', 'path' => 'ReferralRequest.serviceRequested', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/c80-practice-codes' } }, 'supportingInformation' => { 'type' => 'Reference', 'path' => 'ReferralRequest.supportingInformation', 'min' => 0, 'max' => Float::INFINITY }, 'fulfillmentTime' => { 'type' => 'Period', 'path' => 'ReferralRequest.fulfillmentTime', 'min' => 0, 'max' => 1 } }
Instance Attribute Summary collapse
-
#contained ⇒ Object
0-* [ Resource ].
-
#date ⇒ Object
0-1 dateTime.
-
#dateSent ⇒ Object
0-1 dateTime.
-
#description ⇒ Object
0-1 string.
-
#encounter ⇒ Object
0-1 Reference().
-
#extension ⇒ Object
0-* [ Extension ].
-
#fulfillmentTime ⇒ Object
0-1 Period.
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#implicitRules ⇒ Object
0-1 uri.
-
#language ⇒ Object
0-1 code.
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#patient ⇒ Object
0-1 Reference().
-
#priority ⇒ Object
0-1 CodeableConcept.
-
#reason ⇒ Object
0-1 CodeableConcept.
-
#recipient ⇒ Object
0-* [ Reference() ].
-
#requester ⇒ Object
0-1 Reference().
-
#serviceRequested ⇒ Object
0-* [ CodeableConcept ].
-
#specialty ⇒ Object
0-1 CodeableConcept.
-
#status ⇒ Object
1-1 code.
-
#supportingInformation ⇒ Object
0-* [ Reference() ].
-
#text ⇒ Object
0-1 Narrative.
-
#type ⇒ Object
0-1 CodeableConcept.
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
#contained ⇒ Object
0-* [ Resource ]
41 42 43 |
# File 'lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb', line 41 def contained @contained end |
#date ⇒ Object
0-1 dateTime
46 47 48 |
# File 'lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb', line 46 def date @date end |
#dateSent ⇒ Object
0-1 dateTime
54 55 56 |
# File 'lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb', line 54 def dateSent @dateSent end |
#description ⇒ Object
0-1 string
56 57 58 |
# File 'lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb', line 56 def description @description end |
#encounter ⇒ Object
0-1 Reference()
53 54 55 |
# File 'lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb', line 53 def encounter @encounter end |
#extension ⇒ Object
0-* [ Extension ]
42 43 44 |
# File 'lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb', line 42 def extension @extension end |
#fulfillmentTime ⇒ Object
0-1 Period
59 60 61 |
# File 'lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb', line 59 def fulfillmentTime @fulfillmentTime end |
#id ⇒ Object
0-1 id
36 37 38 |
# File 'lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb', line 36 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
45 46 47 |
# File 'lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb', line 45 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
38 39 40 |
# File 'lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb', line 38 def implicitRules @implicitRules end |
#language ⇒ Object
0-1 code
39 40 41 |
# File 'lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb', line 39 def language @language end |
#meta ⇒ Object
0-1 Meta
37 38 39 |
# File 'lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb', line 37 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
43 44 45 |
# File 'lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb', line 43 def modifierExtension @modifierExtension end |
#patient ⇒ Object
0-1 Reference()
50 51 52 |
# File 'lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb', line 50 def patient @patient end |
#priority ⇒ Object
0-1 CodeableConcept
49 50 51 |
# File 'lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb', line 49 def priority @priority end |
#reason ⇒ Object
0-1 CodeableConcept
55 56 57 |
# File 'lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb', line 55 def reason @reason end |
#recipient ⇒ Object
0-* [ Reference() ]
52 53 54 |
# File 'lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb', line 52 def recipient @recipient end |
#requester ⇒ Object
0-1 Reference()
51 52 53 |
# File 'lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb', line 51 def requester @requester end |
#serviceRequested ⇒ Object
0-* [ CodeableConcept ]
57 58 59 |
# File 'lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb', line 57 def serviceRequested @serviceRequested end |
#specialty ⇒ Object
0-1 CodeableConcept
48 49 50 |
# File 'lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb', line 48 def specialty @specialty end |
#status ⇒ Object
1-1 code
44 45 46 |
# File 'lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb', line 44 def status @status end |
#supportingInformation ⇒ Object
0-* [ Reference() ]
58 59 60 |
# File 'lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb', line 58 def supportingInformation @supportingInformation end |
#text ⇒ Object
0-1 Narrative
40 41 42 |
# File 'lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb', line 40 def text @text end |
#type ⇒ Object
0-1 CodeableConcept
47 48 49 |
# File 'lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb', line 47 def type @type end |
Instance Method Details
#resourceType ⇒ Object
61 62 63 |
# File 'lib/fhir_dstu2_models/fhir/resources/ReferralRequest.rb', line 61 def resourceType 'ReferralRequest' end |